756764 Commits

Author SHA1 Message Date
Chris H-C
ba069746e2 Bug 1699168 - Fix some clippy nits r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D114621
2021-05-10 13:32:43 +00:00
Emilio Cobos Álvarez
6fc419fb56 Bug 1707170 - Fix unused variable in opt builds.
MANUAL PUSH: Trivial fixup CLOSED TREE
2021-05-10 15:45:43 +02:00
Emilio Cobos Álvarez
c8aa59aaae Bug 1707170 - Will-change should only create stacking contexts / containing blocks / etc if the property it'd change would apply. r=miko
As per https://drafts.csswg.org/css-will-change/#will-change.

> If any non-initial value of a property would cause the element to
> generate a containing block for absolutely positioned elements,
> specifying that property in will-change must cause the element to
> generate a containing block for absolutely positioned elements.

But in this case the transform property wouldn't apply to the element so
there's no reason to create a stacking-context.

Differential Revision: https://phabricator.services.mozilla.com/D114121
2021-05-10 13:09:42 +00:00
M. Sirringhaus
cca1566127 Bug 1710099 - Update the minidump_writer_linux crate to replace the unmaintained memmap crate. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D114728
2021-05-10 13:00:45 +00:00
Butkovits Atila
0b90caf494 Backed out 4 changesets (bug 1704697) for causing wpt failures. CLOSED TREE
Backed out changeset 6f587a056ef3 (bug 1704697)
Backed out changeset 079b8863727b (bug 1704697)
Backed out changeset 64e2c34d5cbb (bug 1704697)
Backed out changeset e2a390ce81a9 (bug 1704697)
2021-05-10 15:47:09 +03:00
Edgar Chen
f8605ff45d Bug 1709214 - Get rid of NS_ERROR_DOM_ANIM_MISSING_PROPS_ERR; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D114179
2021-05-10 12:20:17 +00:00
Henrik Skupin
3e8e88a04a Bug 1704697 - [marionette] Use the XULFrameLoaderCreated event to detect remoteness changes. r=marionette-reviewers,smaug,jdescottes
Especially with BFCache enabled for Fission there is no new
browsing context created when a page comes out of the cache.
As such the current logic to detect remoteness changes doesn't
work. Instead the "XULFrameLoaderCreated" event on the tabbrowser
object can be used instead, which is always fired.

Differential Revision: https://phabricator.services.mozilla.com/D113769
2021-05-10 12:05:35 +00:00
Henrik Skupin
13574cc385 Bug 1704697 - [marionette] Don't require a page unload event for navigation when a remoteness change occurred. r=marionette-reviewers,smaug,jdescottes
When there is a browsing context change the order of page load
events is not guaranteed. As such a "pagehide" event from the
current page might be received after a "pageshow" event from
the target page.

Differential Revision: https://phabricator.services.mozilla.com/D113768
2021-05-10 12:05:35 +00:00
Henrik Skupin
4ac4e43baf Bug 1704697 - [wdspec] Add cross-origin navigation tests. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D114403
2021-05-10 12:05:35 +00:00
Henrik Skupin
77b18fb2de Bug 1704697 - [marionette] Remove unused frameRegsPending property from Context class. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D113766
2021-05-10 12:05:34 +00:00
Jan de Mooij
7a0367c7c0 Bug 1710075 part 5 - Remove template object from Rest fallback stub. r=jonco
Depends on D114606

Differential Revision: https://phabricator.services.mozilla.com/D114607
2021-05-10 11:50:21 +00:00
Jan de Mooij
6721c4c005 Bug 1710075 part 4 - Allocate Rest array in Warp using the array shape instead of a template object. r=jonco
Depends on D114605

Differential Revision: https://phabricator.services.mozilla.com/D114606
2021-05-10 11:50:20 +00:00
Jan de Mooij
0cc8e359ea Bug 1710075 part 3 - Cache array shape in a global object slot. r=jonco
This will be used by a later patch in the stack, but can likely be used in more
places in the future.

Depends on D114604

Differential Revision: https://phabricator.services.mozilla.com/D114605
2021-05-10 11:50:20 +00:00
Jan de Mooij
1fda9004a2 Bug 1710075 part 2 - Treat MNewArrayObject as non-effectful. r=jonco
This matches MNewArray and is what we need for the Rest code.

Depends on D114603

Differential Revision: https://phabricator.services.mozilla.com/D114604
2021-05-10 11:50:19 +00:00
Jan de Mooij
fd935d4299 Bug 1710075 part 1 - Add CanUseFixedElementsForArray helper function. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D114603
2021-05-10 11:50:19 +00:00
ffxbld
5689f0cd89 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D114733
2021-05-10 10:48:04 +00:00
Emilio Cobos Álvarez
abc8380317 Bug 1710369 - Remove unused code for dealing with plugins in EventStateManager. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D114716
2021-05-10 10:29:20 +00:00
Gabriele Svelto
104ff07a7d Bug 1710046 - Fix MinGW builds that were broken by the last Windows Error Reporting change r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D114656
2021-05-10 10:03:48 +00:00
Valentin Gosu
c46e217683 Bug 1708116 - Use NetAddr::InitFromString instead of PR_StringToNetAddr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D113752
2021-05-10 09:26:01 +00:00
Valentin Gosu
2487615b47 Bug 1708116 - Add NetAddr::InitFromString r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D98952
2021-05-10 09:26:00 +00:00
Robert Mader
583024121b Bug 1710180 - Make sure some widget.wayland prefs don't change at runtime, r=stransky
We have some settings that we don't handle well if they change
at runtime. Make them mirror:once.

In the case of `wideget.wayland_vsync.enabled`, this was practically
already the case but in a deprecated way. While on it, use the chance to
rename it to `widget.wayland.vsync.enabled` so it matches other
configs.

Differential Revision: https://phabricator.services.mozilla.com/D114664
2021-05-10 09:01:40 +00:00
Mark Banner
39a3db78d4 Bug 1707711 - Stop using ChromeUtils.import(..., null) in testing/. r=kmag
Also clean up some unused exclusions in .eslintrc.js.

Differential Revision: https://phabricator.services.mozilla.com/D114623
2021-05-10 08:56:05 +00:00
Henrik Skupin
d20778cacd Bug 1710000 - [remote] Allow the "remote-listening" observer to also print other messages to stderr. r=remote-protocol-reviewers,jgraham,jdescottes
It's needed to independently print messages for CDP and/or
WebDriver BiDi depending on which protocol is actually active.

Differential Revision: https://phabricator.services.mozilla.com/D114572
2021-05-10 08:55:31 +00:00
Nicolas Chevobbe
c0d975f250 Bug 1709619 - [devtools] Handle private fields when retrieving script Symbols. r=bomsy.
Symbols are information on the structure of a given script (assignments, functions,
expressions, …)

This patch handles scripts using private fields and fixes a few things in the debugger:
- we get the full expression when hovering a private property access,
  a prerequisite to get the value of a private propery in the variable tooltip
  (which will be handled in Bug 1709567).
- private methods now show up in the outline view under their proper name, and
  not `anonymous`. `simplifyDisplayName` was fixed as well to not strip the `#`
  at the start of the method name.

Tests are added to ensure this works as expected.

A side-effect from modifying examples/simple1.js is that browser_dbg-outline-pretty.js
was broken since pretty-fast wasn't able to parse file with private fields syntax.
pretty-fast is updated to its latest version and the pretty-print worker is updated
so the test does not break anymore.

Depends on D114345

Differential Revision: https://phabricator.services.mozilla.com/D114459
2021-05-10 08:55:13 +00:00
Andreea Pavel
7fdf7b3082 Bug 1694274 - re-enable browser_storage_indexeddb_navigation.js r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D114335
2021-05-10 08:39:58 +00:00
sotaro
6f9e643c8d Bug 1710347 - Call WebRenderBridgeParent::Destroy() in EraseLayerState() r=nical,gfx-reviewers
EraseLayerState() call from CompositorBridgeParent::DeallocateLayerTreeId() does not destroy WebRenderBridgeParent.

Differential Revision: https://phabricator.services.mozilla.com/D114712
2021-05-10 08:28:51 +00:00
sotaro
6b97c0067c Bug 1710335 - Add gfxCriticalNoteOnce to nsWindow::Resize() on Windows r=nical,gfx-reviewers
When Bug 1701451 happened, Negative height was passed to nsWindow::Resize(). It is helpful to call gfxCriticalNoteOnce when it happens.

Differential Revision: https://phabricator.services.mozilla.com/D114704
2021-05-10 08:28:16 +00:00
Julian Descottes
2484af3514 Bug 1709341 - [devtools] Remove leftover dump in BrowsingContextTargetFront r=ochameau
Depends on D114224

Differential Revision: https://phabricator.services.mozilla.com/D114222
2021-05-10 08:03:11 +00:00
Julian Descottes
2af8a8ac88 Bug 1709310 - [devTools] Remove backward compatibility code for reconfigureSupportsSimulationFeatures r=ochameau
Depends on D114223

Differential Revision: https://phabricator.services.mozilla.com/D114224
2021-05-10 08:03:10 +00:00
Julian Descottes
4f8652d41f Bug 1709268 - [devtools] Remove backward-compatibility annotation for supportsTopLevelTargetFlag r=ochameau
Depends on D114221

Differential Revision: https://phabricator.services.mozilla.com/D114223
2021-05-10 08:03:10 +00:00
Julian Descottes
b38b29e73f Bug 1709268 - [devtools] Remove backward compatibility code for supportsFollowWindowGlobalLifeCycleFlag r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D114221
2021-05-10 08:03:10 +00:00
Alexandre Poirot
478d7a35f3 Bug 1709826 - [devtools] Wait for panel to have processed this first page navigation in browser_memory_fission_switch_target.js. r=nchevobbe
The very first navigation wasn't using navigateTo and that caused some exception
because we were trying to use previous target's memory front which was already destroyed.

I also removed this now uncessary fork of navigateTo.

Differential Revision: https://phabricator.services.mozilla.com/D114478
2021-05-10 07:52:28 +00:00
Andi-Bogdan Postelnicu
50652b3f08 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,sylvestre
Updated with rustfmt 1.4.36-stable (7de6968 2021-02-07)

Differential Revision: https://phabricator.services.mozilla.com/D114376
2021-05-10 07:15:07 +00:00
Andi-Bogdan Postelnicu
eab549fd19 Bug 1519636 - Initial reformat of C/C++ code with clang-format version 12.0.0. r=sylvestre
clang-format version 12.0.0 (taskcluster-KEgO7qdgQ8uaewA6NkRnRA)

Differential Revision: https://phabricator.services.mozilla.com/D114211
2021-05-10 07:15:07 +00:00
Andi-Bogdan Postelnicu
a1f2f7329d Bug 1519636 - Reformat recent changes to the Google coding style. r=necko-reviewers,valentin,sylvestre
Updated with clang-format version 11.0.1 (taskcluster-GI8pmG3eQ_OSXfjFfr2yFw)

Differential Revision: https://phabricator.services.mozilla.com/D114618
2021-05-10 07:15:06 +00:00
stransky
40cf9ecc3b Bug 1703073 [Wayland] Rework Wayland popup hierarchy management, r=jhorak
- Keep strong popup hierarchy from both layout and widget perspective and use only
  topmost popups as parents for newly opened popups.
- Always close popup windows with all opened child popups.
- Always close tooltip windows when new popup is created.
- Introduce 'WidgetPopup' log to trace popups changes.
- Export correct window roles (Toplevel, Popup, Dialog).

Differential Revision: https://phabricator.services.mozilla.com/D114578
2021-05-10 06:50:53 +00:00
Dmitry Bezhetskov
aec7c53cdb Bug 1709541 - Disable failing tests for wasi. r=jandem
There are only two failing tests. First one bug908915.js failed because of
the lack of OSObject.cpp::ResolvePath support for wasi. The second one is failed
because it exceeds the recursion limit.

Differential Revision: https://phabricator.services.mozilla.com/D114325
2021-05-10 05:58:34 +00:00
sotaro
ffc239ae17 Bug 1710331 - Remove unused code in CompositorBridgeParent::RecvAdoptChild() r=gfx-reviewers,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D114701
2021-05-10 04:03:03 +00:00
Lee Salzman
3dc03093ad Bug 1710144 - Clamp out-of-range RGB values for YUV shaders with SWGL. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D114693
2021-05-10 00:53:28 +00:00
Matt Woodrow
97cdf4f16e Bug 1707513 - Add reftest-snapshot task using the 'drawSnapshot' reftest mode. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D114189
2021-05-10 00:28:01 +00:00
Matt Woodrow
a6d0dff2b5 Bug 1707513 - Add 'drawSnapshot' mode to reftest harness, and annotate all current failures. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D114188
2021-05-10 00:28:01 +00:00
Matt Woodrow
728f5a24cf Bug 1708325 - Allow doing an extra refresh driver tick for user input events. r=mstange,bas
Differential Revision: https://phabricator.services.mozilla.com/D113737
2021-05-10 00:00:51 +00:00
Matt Woodrow
e76f264866 Bug 1708325 - Change frame throttling code in nsRefreshDriver to explicitly track the pending frames. r=mstange
This makes it easier to understand and will make it easier to not include 'extra' frames (as we're hoping they will coalesce with the original frame on the compositor).

Differential Revision: https://phabricator.services.mozilla.com/D113736
2021-05-10 00:00:50 +00:00
Dorel Luca
9bdd0264e6 Backed out 2 changesets (bug 1708325) for Build bustages in gecko/layout/base/nsRefreshDriver.h. CLOSED TREE
Backed out changeset 3fe338644983 (bug 1708325)
Backed out changeset edf1ac18cc8c (bug 1708325)
2021-05-10 01:52:44 +03:00
Matt Woodrow
fd7a809e96 Bug 1708325 - Allow doing an extra refresh driver tick for user input events. r=mstange,bas
Differential Revision: https://phabricator.services.mozilla.com/D113737
2021-05-09 22:35:44 +00:00
Matt Woodrow
8daf5cd7e6 Bug 1708325 - Change frame throttling code in nsRefreshDriver to explicitly track the pending frames. r=mstange
This makes it easier to understand and will make it easier to not include 'extra' frames (as we're hoping they will coalesce with the original frame on the compositor).

Differential Revision: https://phabricator.services.mozilla.com/D113736
2021-05-09 22:35:44 +00:00
Nihanth Subramanya
2c5afd4214 Bug 1704671 - Expect a TRR mode change from undefined to 0 after restarting DoHController. r=valentin
Some of the changes in bug 1626083 result in a more deterministic flow that uncovers a race
and an incorrect underlying assumption in the test.

The underlying assumption is that clearing mode on shutdown is disabled in tests, which is false - it's enabled.
The race is that we assume that the mode is already 0 and try to ensure it doesn't change, whereas it actually
starts empty (undefined) and changes to 0, because of the incorrect underlying assumption.

This mistake only exists in browser_cleanFlow.js, the other tests are correctly waiting for the final TRR mode
without trying to ensure no change.

Differential Revision: https://phabricator.services.mozilla.com/D114592
2021-05-09 19:10:41 +00:00
Scott
716d7cd80b Bug 1708199 - Fix save to Pocket panel not displaying sometimes in overflow menu. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D114617
2021-05-09 18:58:25 +00:00
Emilio Cobos Álvarez
f2e168583a Bug 1709647 - Prefer to compute GTK accent color out of selected_* named colors. r=stransky
And since, when present, these are the colors for a selected cell, use
them for HTML cell highlight colors (the <select multiple> ones).

Depends on D114392

Differential Revision: https://phabricator.services.mozilla.com/D114393
2021-05-09 17:11:53 +00:00
Emilio Cobos Álvarez
44591a2893 Bug 1709647 - For semi-transparent select background colors, don't change the selection foreground color. r=stransky
As it won't get enough contrast anyways. This is what Gecko does on macOS where
selection colors are also semi-transparent.

Depends on D114391

Differential Revision: https://phabricator.services.mozilla.com/D114392
2021-05-09 17:11:53 +00:00