Commit Graph

707831 Commits

Author SHA1 Message Date
Kartikaya Gupta
c9a8fb7425 Bug 1622360 - Rename RenderRootDisplayListData. r=jrmuizel
Depends on D75125

Differential Revision: https://phabricator.services.mozilla.com/D75383
2020-05-15 00:07:34 +00:00
Andy Wingo
1da2329924 Bug 1636081 - Skip regression test for bug 1628499 if reference types disabled r=lth
Differential Revision: https://phabricator.services.mozilla.com/D75483
2020-05-15 10:47:50 +00:00
Andrew Osmond
74fde5963b Bug 1638011 - Block WebRender in release for high refresh rate monitors. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75450
2020-05-15 08:39:43 +00:00
David Teller
62b04861d5 Bug 1638138 - Restoring missing thread names in requestProcInfo;r=tarek
ChromeUtils::requestProcInfo was dropping thread names for the process process. This patch restores them and tests that at least *one* thread is named. Unfortunately, at the time of this writing, we cannot assume that *all*
threads are named. Investigation pending.

Differential Revision: https://phabricator.services.mozilla.com/D75420
2020-05-15 10:41:29 +00:00
Dão Gottwald
8b359d93c3 Bug 1638030 - Fix broken gBrowser.animationsEnabled checks. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D75344
2020-05-15 10:30:09 +00:00
Tarek Ziadé
ffc7bb2c00 Bug 1637959 - Added more test coverage r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D75309
2020-05-15 07:19:39 +00:00
Andreea Pavel
9257ea9bef Backed out 2 changesets (bug 1594752) for causing bug 1638148 on a CLOSED TREE
Backed out changeset 66cc44b67170 (bug 1594752)
Backed out changeset e781cf38f088 (bug 1594752)
2020-05-15 13:47:49 +03:00
Nicolas Chevobbe
8140fccf69 Bug 1636924 - Remove unnecessary isTopLevel and type properties from onTargetAvailable/onTargetDestroyed callback parameter. r=ochameau.
Since targetFronts now have isTopLevel and targetType properties, we can directly use
those, as the targetFront is included in the callback parameter.
This patch remove those properties and refactor consumer code.

Differential Revision: https://phabricator.services.mozilla.com/D74651
2020-05-15 09:09:28 +00:00
Mihai Tabara
9c33ee881c Bug 1637206 - add flatpak screenshots to ostree repo r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D74827
2020-05-15 10:23:19 +00:00
Sylvestre Ledru
aa185d4837 Bug 1635826 - Remove an unrelated change to mingw r=marco
Depends on D75490

Differential Revision: https://phabricator.services.mozilla.com/D75493
2020-05-15 10:16:33 +00:00
Sebastian Hengst
3fa737fa1a Merge mozilla-central to autoland on a CLOSED TREE 2020-05-15 11:42:15 +02:00
Sebastian Hengst
3ce874dc27 Merge autoland to mozilla-central. a=merge 2020-05-15 11:29:53 +02:00
Joel Maher
a029a94412 Bug 1553130 - turn off csp/embedded-enforcement tests as we have no plans to support it. r=ckerschb
turn off csp/embedded-enforcement tests as we have no plans to support it

Differential Revision: https://phabricator.services.mozilla.com/D75342
2020-05-15 08:59:10 +00:00
Dmitry Bezhetskov
796de5775f Bug 1637868 - Make Baseline free from frame's tls r=wingo,lth
We are going to get rid of the TLS slot in the Frame because we don't
need it all the time. Now it consumes one stack slot in Frame and forces
the Frame to add one additional padding slot for arm64.

In this patch we are removing dependency from Frame::tls in Baseline.
Note that we need to allocate a stack slot for WasmTlsReg value because
baseline can clobber WasmTlsReg and we should be able to load it when we
need it. For example, when we need access to the Instance*.

The followup patch will do the same for the Ion compiler.

Differential Revision: https://phabricator.services.mozilla.com/D66201
2020-05-15 08:17:56 +00:00
Karl Tomlinson
dc85ea650c Bug 1625372 permit ForceShutDown() on a realtime graph r=padenot
Depends on D74812

Differential Revision: https://phabricator.services.mozilla.com/D74813
2020-05-15 08:22:31 +00:00
Razvan Maries
3d57325831 Backed out changeset 9baed9d8e952 (bug 1630558) for toolchains bustages. CLOSED TREE 2020-05-15 09:12:36 +03:00
Razvan Maries
da878c0956 Backed out changeset 33277064c343 (bug 1577110) for toolchain bustages. CLOSED TREE 2020-05-15 08:08:22 +03:00
Tom Prince
093f2865ce Bug 1577110: Don't add default toolchain artifact directory if already specified; r=glandium
If a task has explicitly specified artifact paths, don't additionally specify
the default paths. If the task has private artifacts, having a directory
that uploads public artifacts seems like an attractive nuissance.

Differential Revision: https://phabricator.services.mozilla.com/D74200
2020-05-15 04:06:48 +00:00
Johan Lorenzo
7e5026ce86 Bug 1630558 - Generate more stable hashes for toolchain tasks r=glandium
The toolchain transform rarely changes in ways that impact the generated toolchain. but does occasionally change in ways that don't. Stop including the digest of the transform module, to avoid needlessly rebuilding toolchains as often. Given that the cache route is versioned, we can bump the version if the transform does change in a way that requires rebuilding.

Differential Revision: https://phabricator.services.mozilla.com/D74199
2020-05-15 04:54:57 +00:00
sanketh
e57aede814 Bug 1638211 - Make privacy.resistFingerprinting.randomDataOnCanvasExtract a RelaxedAtomicBool r=tjr
privacy.resistFingerprinting.randomDataOnCanvasExtract can be accessed by
background threads so it needs to be atomic.

Differential Revision: https://phabricator.services.mozilla.com/D75468
2020-05-15 04:07:36 +00:00
Mike Hommey
160dc36a14 Bug 1638195 - Remove python configure knowledge of old configure arguments that were removed. r=nalexander
--enable-cookies, removed in bug 1623593.
  --enable-directshow, removed in bug 1370192.
  --enable-feeds, removed in bug 1514348.
  --enable-gconf, removed in bug 1433685.
  --enable-libjpeg-turbo, removed in bug 1515852.
  --enable-llvm-hacks, removed in bug 1484872.
  --enable-nfc, removed in bug 1310859.
  --enable-startup-notification, removed in bug 726479.
  --enable-synth-pico, removed in bug 1331696.
  --with-doc-include-dirs, --with-doc-input-dirs, --with-doc-output-dir,
  removed in bug 1435424
  --with-system-bz2, removed in bug 1418425.
  --with-unify-dist, removed in bug 1339182.

Differential Revision: https://phabricator.services.mozilla.com/D75464
2020-05-15 03:56:16 +00:00
Mike Hommey
28de21d935 Bug 1638193 - Remove build system support for iOS. r=nalexander
iOS support for Gecko has not been tested in years and is most probably
out of date. The build system part of it, specifically the checks in
build/autoconf/ios.m4, are not trivial to port to python configure, and
they prevent other things from moving to python configure (because some
of them change value when MOZ_IOS is set).

The code is left alone, although it could probably be stripped off as
well, but I'll leave that as an exercise for someone else.

Differential Revision: https://phabricator.services.mozilla.com/D75463
2020-05-15 03:56:16 +00:00
alwu
3581879481 Bug 1509933 - part3 : use the new pref in tests. r=padenot
This patch will do :
- replace the old pref with the new pref

The advantage of doing so :
- to ensure those tests can still use the correct blocking autoplay policy

Differential Revision: https://phabricator.services.mozilla.com/D73973
2020-05-15 02:51:18 +00:00
alwu
793612baab Bug 1509933 - part2 : migrate the old pref to the new pref. r=mconley
This patch will do :
- set the value of the new pref based on the value of the old pref

The advantage of doing so :
- ensure that the value of the pref can be transformed correctly

Differential Revision: https://phabricator.services.mozilla.com/D73972
2020-05-15 02:51:18 +00:00
alwu
f986ca0c1f Bug 1509933 - part1 : add new pref 'media.autoplay.blocking_policy'. r=geckoview-reviewers,snorp,padenot
This patch will do :
- rename the old pref `media.autoplay.enabled.user-gestures-needed` to  the new pref `media.autoplay.blocking_policy`
- modify the value of the pref to `int` in order to introduce new policy
- implement new policy in `AutoplayPoliocy`

The advantage of doing so :
- rename the pref to explicitly indicate that it's related the block policy we use
- use the transient user gesture activation as a new policy to replace the old one using the user input, which doesn't work on the async handler

More details :
The old `click-to-play` policy we use is using the user input to determine if the play invocation is called by users or by scripts. But `UserActivation::IsHandlingUserInput()` is buggy which would fail when you call `video.play()` inside an async event handler. So we would like to replace it with the new transient user activation, which would treat the action as an user input if the action is performed within a certain period of time after a user interacts (eg. click) with the page.

[1] https://html.spec.whatwg.org/multipage/interaction.html#transient-activation

Differential Revision: https://phabricator.services.mozilla.com/D73971
2020-05-15 03:40:31 +00:00
Emily McDonough
c6e5d7a8bd Bug 1564128 part 3 - Reftests checking for if animations are applied in print preview r=hiro
Changes the existing reftest to expect success, and adds additional tests for
pseudo-elements, paused animations, the web animation API, and shadow DOM
elements.

Differential Revision: https://phabricator.services.mozilla.com/D73140
2020-05-14 23:15:51 +00:00
Emily McDonough
c161bb67d3 Bug 1564128 part 2 - Copy animations to static document clones r=emilio,hiro
This also requires changing the EffectCompositor to allow animations in print
and print preview, and setting up a document timeline for the cloned document

Differential Revision: https://phabricator.services.mozilla.com/D69069
2020-05-14 19:41:03 +00:00
Emily McDonough
fe1836fe09 Bug 1564128 part 1 - Add clone function for Animation and constructor for KeyframeEffect to copy properties but not the target. r=hiro
This is needed for copying animations from an original document to a static
clone during printing/print preview.

Differential Revision: https://phabricator.services.mozilla.com/D73139
2020-05-14 19:41:01 +00:00
Kartikaya Gupta
e07109f0ec Bug 1622360 - Remove the RenderRoot enum entirely, along with the feature docs. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75125
2020-05-15 00:07:01 +00:00
Kartikaya Gupta
35c5ae59ad Bug 1622360 - Remove the mRenderRoot fields from the DL and Update structures. r=jrmuizel
Depends on D75123

Differential Revision: https://phabricator.services.mozilla.com/D75124
2020-05-15 00:06:28 +00:00
Kartikaya Gupta
03d0b6bcda Bug 1622360 - Drop all the unneeded deferred pipeline stuff. r=jrmuizel
This was added to handle the case where a content process sent its display
list to the compositor before the parent knew which render root that content
belonged to (because the corresponding parent process display list hadn't
arrived yet). Now that we no longer have multiple render roots, all this
is unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D75123
2020-05-15 00:06:10 +00:00
Kartikaya Gupta
e49c0459ab Bug 1622360 - Remove mRenderRoot from WRBP. r=jrmuizel
Depends on D74951

Differential Revision: https://phabricator.services.mozilla.com/D75122
2020-05-15 00:05:18 +00:00
Dorel Luca
fc22d41aeb Backed out changeset 9bedd57840ed (bug 1637085) for WPT failures. CLOSED TREE 2020-05-15 05:37:57 +03:00
Dorel Luca
b3df26707f Backed out changeset e1c031719669 (bug 1638011) for Build bustages. CLOSED TREE 2020-05-15 05:14:51 +03:00
Dorel Luca
68c900462b Backed out 3 changesets (bug 1509933) for Linting failure in gecko/mobile/android/app/mobile.js. CLOSED TREE
Backed out changeset c15ecdcd5d13 (bug 1509933)
Backed out changeset 951ea1d0f42a (bug 1509933)
Backed out changeset 3abb24d6dfc9 (bug 1509933)
2020-05-15 05:02:07 +03:00
Nico Grunbaum
3ad9a07524 Bug 1279153 - Add support for rtcp-rsize;r=bwc,dminor
Differential Revision: https://phabricator.services.mozilla.com/D72807
2020-05-15 01:54:34 +00:00
Andrew Osmond
d6ab670bf8 Bug 1638011 - Block WebRender in release for high refresh rate monitors. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75450
2020-05-15 01:35:00 +00:00
Bogdan Tara
7fd53cc8c9 Backed out 2 changesets (bug 1624802) for test_listOrigins.js failures. DONTBUILD
Backed out changeset e374ffe2e05e (bug 1624802)
Backed out changeset 8e2da4b3c32b (bug 1624802)
2020-05-14 19:56:00 +03:00
Tom Prince
26feffcb75 Bug 1628832: [KaiOS] Add kaios specific taskgraph paramters and target tasks; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D75243
2020-05-14 18:48:00 +00:00
Tom Prince
ed68e780c7 Bug 1628832: [KaiOS] Factor out trust-domain in .taskcluster.yml; r=Callek
To help support KaiOS, we are running the kaios project branch in automation, with a
different trust domain. Factor out the usages of `trust-domain` in `.taskcluster.yml`
to make it easy for the kaios branch to merge changes from mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D75242
2020-05-14 18:47:47 +00:00
Tom Prince
60af4682cc Bug 1628832: Remove some obsolete routes from the decision task; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D75241
2020-05-14 18:47:29 +00:00
Tom Prince
5664ad6343 Bug 1628832: [KaiOS] Substiture trust-domain in worker alias definitions; r=Callek
To help support KaiOS, we are running the kaios project branch in automation, with a
different trust domain. Allow configuring worker aliases using `trust-domain`, so
that they worker aliases do not need to be adjusted on that branch.

Differential Revision: https://phabricator.services.mozilla.com/D75240
2020-05-14 18:46:11 +00:00
Emilio Cobos Álvarez
ce3d5bdd05 Bug 888884 - Mark the newly added WPTs as failing for now.
As the pseudo-class is still not un-prefixed.

MANUAL PUSH: Orange fixup on a CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D75345
2020-05-14 18:33:47 +02:00
Jan Varga
17f553f88d Bug 1624802 - Run some dom/quota xpcshell tests in a child process as well; r=dom-workers-and-storage-reviewers,sg
For now, only test_listOrigins.js, test_originWithCaret.js and test_simpledb.js
can run in a child process because they don't need to set preferences or access
files in the profile directory.
We will be able to run more tests in a child process once we have SpecialPowers
for xpcshell implemented using JSProcessActors and when we expose the base
directory used by QuotaManager through a new QuotaManagerService method (to
avoid getting the profile directory using nsIDirectoryService because that
doesn't work in a child process).

Differential Revision: https://phabricator.services.mozilla.com/D75281
2020-05-14 15:35:29 +00:00
Jan Varga
3b74d7ea87 Bug 1624802 - Support running dom/quota xpcshell tests in a child process; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D75279
2020-05-14 15:27:38 +00:00
Henrik Skupin
cc30d56142 Bug 1593226 - [remote] Use frame's window for dynamic isolated world creation on new document. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D75170
2020-05-14 15:23:10 +00:00
Henrik Skupin
0e1d2b6ea7 Bug 1593226 - [remote] Add support for frameId argument to Page.createIsolatedWorld. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74636
2020-05-14 15:23:47 +00:00
Henrik Skupin
4d6e8e2039 Bug 1593226 - [remote] Emit Runtime.executionContextCreated and Runtime.executionContextDestroyed events also for frames. r=remote-protocol-reviewers,maja_zf
With this patch both events will be emitted when sub frames are
loaded or destroyed.

Because more work is necessary before we can enable general frame
support in Remote Protocol all the code has been put behind the
preference "remote.frames.enabled'. Only if it's true (which is
not the default) the events are emitted.

Differential Revision: https://phabricator.services.mozilla.com/D74635
2020-05-14 14:56:57 +00:00
Henrik Skupin
b31dd93847 Bug 1593226 - [remote] Only emit Runtime.executionContextsCleared events when Runtime is enabled. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74634
2020-05-14 14:56:08 +00:00
Henrik Skupin
b515fabd59 Bug 1593226 - [remote] Return execution context instead of only the id in "enableRuntime" helper. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74633
2020-05-14 14:55:56 +00:00