Commit Graph

704052 Commits

Author SHA1 Message Date
Ted Campbell
93f86eedd0 Bug 1633527 - Use field initializers in JitRuntime. r=iain
This also makes sure `disambiguationId_` is properly initialized.

Differential Revision: https://phabricator.services.mozilla.com/D72735
2020-04-27 21:30:26 +00:00
Ethan Tseng
f357380d86 Bug 1632664 - Numbers on top of bars on Protections Dashboard graph appear to be clickable. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D72444
2020-04-27 20:31:31 +00:00
Kevin Jacobs
30150bcdde Bug 1628012 - Backed out changeset 001a5750e276 r=jcj
The experiment has served its purpose, gathering 66k+ telemetry events and showing no negative impact to connection result.

DC is now enabled by default in Nightly, so we no longer need to run this study.

Differential Revision: https://phabricator.services.mozilla.com/D72699
2020-04-27 16:56:15 +00:00
Razvan Maries
759f0f2255 Backed out 2 changesets (bug 1633527) for perma failures on test_ext_geckoProfiler_control.js. CLOSED TREE
Backed out changeset 6781a7371f6e (bug 1633527)
Backed out changeset e63cd75d1774 (bug 1633527)
2020-04-28 00:26:55 +03:00
Emilio Cobos Álvarez
5cf42231a3 Bug 353575 - Allow IDTracker to look up elements in <svg:use> shadow trees. r=smaug
Other UAs allow this, and it seems in the general consensus of
https://github.com/w3c/webcomponents/issues/179.

This matches WebKit's behavior. Blink, for some reason shows red on the
test-case, probably because they're not doing quite this, but they
manage to render masks inside the display: none symbol element or such.

Differential Revision: https://phabricator.services.mozilla.com/D72610
2020-04-27 21:15:18 +00:00
Adam Gashlin
d7e841caa2 Bug 1316136 - Support post-signing/attribution data in full installer. r=mhowell
This reuses some logic from the stub installer, moved into common.nsh.

Differential Revision: https://phabricator.services.mozilla.com/D72078
2020-04-23 21:16:20 +00:00
Andreea Pavel
3b0cf47a63 Bug 1632931 - update mac expectancy for getcredential-rk-passing.https.html r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72747
2020-04-27 20:24:36 +00:00
Andreea Pavel
e8fa2263a8 Bug 1434744 - disable test_allowMedia.html on mac shippable, win debug and linux18.04 qr debug r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72728
2020-04-27 19:40:58 +00:00
Edwin Takahashi
9804646f41 Bug 1608837 - add tests from web-platform-tests manifests into list of supported tests r=ahal
This change will permit the `TestResolver` to add web-platform-tests into the list of supported tests.

Changes:
  - add web-platform-test test objects to the list of supported tests.
  - adjust value of attributes name, manifest, manifest_relpath.

Differential Revision: https://phabricator.services.mozilla.com/D70727
2020-04-27 20:33:45 +00:00
Gijs Kruitbosch
f2ee31dd92 Bug 1632264 - DONTBUILD fix comments in browser_aboutCrashesResubmit.js, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D72389
2020-04-27 20:36:32 +00:00
Andreea Pavel
bb95dd40d7 Backed out changeset 22a9a0e02e69 (bug 1632264) on request on a CLOSED TREE DONTBUILD 2020-04-27 23:33:23 +03:00
Ted Campbell
3151316f0a Bug 1633527 - Cleanup typedefs in JitRuntime. r=iain
Depends on D72735

Differential Revision: https://phabricator.services.mozilla.com/D72736
2020-04-27 19:53:57 +00:00
Ted Campbell
1ea943548d Bug 1633527 - Use field initializers in JitRuntime. r=iain
This also makes sure `disambiguationId_` is properly initialized.

Differential Revision: https://phabricator.services.mozilla.com/D72735
2020-04-27 19:50:05 +00:00
Gijs Kruitbosch
cddf5c0218 Bug 1632264 - fix comments in browser_aboutCrashesResubmit.js, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D72389
2020-04-27 20:07:32 +00:00
Edgar Chen
ff8dabe37a Bug 1633388 - Convert full-screen-api.pointer-lock.enabled pref to static pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72650
2020-04-27 19:15:29 +00:00
Adam Gashlin
1db1a54dd3 Bug 1633438 - Remove download size checks, use file size as fallback for telemetry. r=mhowell
The retry on download complete did not work properly, and we trust
the size of the file given that we download over https and check
with CertCheck, so I removed the other size checks which would have
retried infinitely given issues.

Differential Revision: https://phabricator.services.mozilla.com/D72746
2020-04-27 20:10:13 +00:00
Emilio Cobos Álvarez
bd159a1ad9 Bug 1633362 - Add a use counter for Document.mozSetImageElement. r=smaug
It complicates all the ID tracking code and the SVG code quite a bit.

I want to know if it is used so that we can maybe remove it.

Differential Revision: https://phabricator.services.mozilla.com/D72613
2020-04-27 20:00:09 +00:00
Razvan Maries
06f153f86a Backed out changeset 29e132824d37 (bug 1632765) for Reftest failures. CLOSED TREE 2020-04-27 23:18:53 +03:00
Timothy Nikkel
38a1920e37 Bug 1633343. Also use the style WS_EX_TRANSPARENT on the compositor window. r=sotaro
The original workaround given by Microsoft was both WS_EX_TRANSPARENT and WS_EX_LAYERED. In bug 1627505 we tried to just add WS_EX_LAYERED because it was all that was needed to fix that bug and we hoped it wouldn't re-introduce the blank window problem. But it did. So we may as well go with both flags as recommended by Microsoft.

Differential Revision: https://phabricator.services.mozilla.com/D72598
2020-04-27 13:27:07 +00:00
Alex Chronopoulos
94ecd85385 Bug 1632093 - mach vendor rust. r=padenot
Depends on D72729

Differential Revision: https://phabricator.services.mozilla.com/D72730
2020-04-27 19:11:27 +00:00
Alex Chronopoulos
cc6426edd6 Bug 1632093 - Update cubeb-pulse-rs. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D72729
2020-04-27 19:11:25 +00:00
Luca Greco
42507b3a15 Bug 1593240 - Prevent re-entrancy issues in ExtensionPolicyService::CheckContentScripts related to EPS.loadContentScript calls r=robwu,mixedpuppy
ExtensionPolicyService::CheckContentScripts does retrieve mContentScripts a WebExtensionPolicy instance
and it may call the ExtensionProcessScript methods PreloadContentScript or LoadContentScript while iterating
over it mContentScript.

Both PreloadContentScript and LoadContentScript are going to run some privileged JS code, and LoadContentScript
will load an extension content script. There is a chance that some of the JS code executed could call
WebExtensionPolicy::UnregisterContentScript (or RegisterContentScript) and mutate the mContentScripts array
that EPS::CheckContentScripts is already iterating over, and when that happens it is possible that once the
execution goes back to the ongoing CheckContentScripts iteration, the iterator is invalidated and
the InvalidArrayIndex_CRASH triggered.

Differential Revision: https://phabricator.services.mozilla.com/D69336
2020-04-06 18:59:16 +00:00
Luca Greco
d2fe19febd Bug 1631434 - Add test case to ensure storage.local data not cleared as a side-effect of removing unlimitedStorage permission. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D72339
2020-04-27 18:35:05 +00:00
Jeff Muizelaar
ad14a3ebc3 Bug 1633508 - Rollout WebRender to Coffeelake GT1 GPUs. r=aosmond
These aren't particularly common but there basically
the same as Skylake GT1.

Differential Revision: https://phabricator.services.mozilla.com/D72719
2020-04-27 18:14:27 +00:00
emcminn
a7b9d2633e Bug 1614364 - WNPanel message JSON is editable; button renders new message r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D63358
2020-04-27 18:34:29 +00:00
Jan-Ivar Bruaroey
4c6caa0c3d Bug 1624181 - Omit getDisplayMedia() function on android to aid feature detection. r=dminor,snorp,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D72030
2020-04-27 15:05:29 +00:00
Bob Clary
6cbaa3e5a6 Bug 1619233 - run js-bench tests every 10th push, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D72638
2020-04-27 18:02:41 +00:00
Johann Hofmann
59f0df8747 Bug 1627220 - Skip expired permissions in getAllWithTypePrefix and getAllForPrincipal. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D72454
2020-04-27 17:26:04 +00:00
Emilio Cobos Álvarez
62fd2debca Bug 1632589 - Don't wait to check dpi.
It's meant to double-check we're stable and so on, but sometimes the
browser UI decides to override the zoom with the default zoom which
would break the assertion.

I'll look into that separately.

Differential Revision: https://phabricator.services.mozilla.com/D72706
2020-04-27 17:14:47 +00:00
Andrew Halberstadt
fb956306b3 Bug 1629642 - [ci] Fix wrong strategy name in bugbug_combined_high shadow-scheduler, DONTBUILD, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D72702
2020-04-27 17:14:42 +00:00
Matthew Noorenberghe
d4d855b23b No bug - Increase default mozscreenshots timeout to 700ms. a=test-only
See if this helps with some of the graphical glitches.

Differential Revision: https://phabricator.services.mozilla.com/D72582
2020-04-27 17:09:22 +00:00
Matthew Noorenberghe
5f31c66b9f No bug - Disable DevTools.{sideToolbox,undockedToolbox} screenshot configurations for frequent failures. a=test-only
Examples:
* df251f2e03/windows10-64/devtools_2_sideToolbox.png
* df251f2e03/windows10-64/devtools_3_undockedToolbox.png

Differential Revision: https://phabricator.services.mozilla.com/D72581
2020-04-27 17:09:16 +00:00
Matthew Noorenberghe
640975324e No bug - ControlCenter screenshots don't need to show the back button (which causes intermittent failures). a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D72580
2020-04-27 17:09:07 +00:00
Joel Maher
18ac0dd2f1 Bug 1632822 - create webrender list of crashtests to have focused tests on android phones. r=bc
create webrender list of crashtests to have focused tests on android phones

Differential Revision: https://phabricator.services.mozilla.com/D72570
2020-04-27 18:06:47 +00:00
Imanol Fernandez
0806eab98a Bug 1631823 - Disable XRWebGLLayer antialias by default on WebGL 2. Add support to enable behind a pref. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D71782
2020-04-27 18:03:03 +00:00
Gijs Kruitbosch
1fab36e3ce Bug 1632581 - do not construct URIs when comparing password manager origins if we cannot upgrade or wildcard subdomains, r=MattN
As there is no way that the method can return true, we might as well skip the
work of constructing URIs. This also avoids unnecessary errors when trying to
do so for chrome URIs that are not valid, like the ones produced by FxA.

Differential Revision: https://phabricator.services.mozilla.com/D72556
2020-04-27 17:45:05 +00:00
Christian Holler
92688ae811 Bug 1615569 - Add TSan suppression for global race in freebl. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D72628
2020-04-27 16:52:25 +00:00
Harry Twyford
ce293c31f4 Bug 1631844 - Add pinned site badge to pinned Top Sites in the Urlbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D72196
2020-04-27 17:14:44 +00:00
Tarek Ziadé
89f357d5e0 Bug 1632780 - improve test coverage r=sparky
Added test coverage

Differential Revision: https://phabricator.services.mozilla.com/D72329
2020-04-27 15:40:58 +00:00
J.C. Jones
f2ef3fe72c Bug 1630088 - WebAuthn requests need to retain the Browsing Context ID r=keeler
The browsing context ID is useful for UX and UX improvements, particularly
for making progress on Bug 1540309.

Differential Revision: https://phabricator.services.mozilla.com/D71702
2020-04-24 22:57:33 +00:00
Jamie Nicol
b994c9e30a Bug 1632795 - Ensure invalidate_rendered_frame is not overridden by the frame being a no-op. r=gw
The RenderBackend can be sent an `invalidate_rendered_frame` flag to
indicate that the current rendered frame is invalid. This is useful
when the platform requires a render, eg when starting or resuming the
app on Android. Upon receiving this flag, the render backend will set
a variable `doc.rendered_frame_is_valid = false`. Later on it will
decide to skip rendering only if this variable is true, so by setting
the invalidate flag we should be able to ensure the next render will
occur.

However, the RenderBackend also tries to skip renders which it
determines are not required. Currently it does this by setting
`doc.rendered_frame_is_valid = true` if it decides the frame is a
no-op. This overwrites the previous value set by the
`invalidate_rendered_frame` flag, meaning webrender skips renderering
even though the platform has requested it.

This was resulting in the GVE app showing a black screen on startup,
and Fenix temporarily showing a black screen whilst opening a new tab,
because despite WebRenderBridgeParent requesting an invalidation
immediately on startup, webrender ignored that request until it
decided it actually had content to paint.

To fix this, the logic should be flipped. The value of
`doc.rendered_frame_is_valid` must be remembered across document
updates rather than defaulting to false. And instead of setting it
true if webrender thinks the frame is a no-op, we must set it false if
webrender thinks the frame is *not* a no-op.

Differential Revision: https://phabricator.services.mozilla.com/D72600
2020-04-27 16:28:54 +00:00
Steven MacLeod
e34761f02e Bug 1597413 - fix locking screen orientation to be fission compatible. r=farre
Both the deprecated `Screen.lockOrientation` and replacement
`ScreenOrientation.lock` APIs have been updated to make use of a new
`OrientationLock` field on the `BrowsingContext`. This replaces the
storage and use of APIs for this on the root docshell.

In the non fission case things should behave the same, as pending
promises for previous calls to `Screen.lockOrientation` will still be
cancelled in process. If there are `BrowsingContext`s in other
processes though, IPC will be sent to the parent, and then each other
child to cancel them. This should be spec compliant as the spec is
already racy with regards to multiple `lockOrientation` calls.

This new implementation has a little extra IPC than the optimal
implementation would since the root `BrowsingContext`s
`OrientationLock` is set using the normal `SyncedContext` machinery,
rather than combining the `AbortOtherOrientationPendingPromises`
message for a single message.

This commit fixes both Bug 1597413 and Bug 1597443.

Differential Revision: https://phabricator.services.mozilla.com/D70416
2020-04-27 15:43:36 +00:00
Shane Caraveo
211ea5dc73 Bug 1548011 support proxy as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71118
2020-04-26 22:03:16 +00:00
Shane Caraveo
774da1b8c9 Bug 1630418 support pkcs11 as an optional extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71123
2020-04-26 22:03:09 +00:00
Shane Caraveo
fff008fcaa Bug 1630414 support sessions as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71121
2020-04-26 22:03:12 +00:00
Shane Caraveo
cbd0fc6587 Bug 1630417 support browsingData as an optional permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71119
2020-04-26 22:03:14 +00:00
Shane Caraveo
cb8a65428f Bug 1444294 implement browser.permissions onAdded/Removed r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D71231
2020-04-27 16:20:12 +00:00
Emilio Cobos Álvarez
af812f0fd9 Bug 1632765 - Turn on some more :visited privacy mitigations. r=mak
We couldn't turn these on before because of perf regressions, but after bug
1626586 perf looks pretty neutral.

Differential Revision: https://phabricator.services.mozilla.com/D72301
2020-04-27 16:10:04 +00:00
Byron Campen [:bwc]
ae12cfb266 Bug 1629565: Another test we should probably have. Passes. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D72245
2020-04-24 19:27:20 +00:00
Byron Campen [:bwc]
394bdd118e Bug 1629565: Mochitest fixes. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D72244
2020-04-24 19:26:54 +00:00