Граф коммитов

728967 Коммитов

Автор SHA1 Сообщение Дата
Robert Mader 55405b7afc Bug 1667116 - Request to stay unredirected on WR/OGL, too. r=stransky
Until bug 1617002 Firefox would unintendedly not get unredirected on X11
when used with WR and OpenGL as it didn't fullfill the requirements -
not being transparent.

Now that this is fixed, fullscreen unredirection can happen on certain
compositors. For the basic compositor we already explicitely ask to not
get unredirected - do that for all backends.

Differential Revision: https://phabricator.services.mozilla.com/D92180
2020-10-02 11:33:06 +00:00
Dão Gottwald 6f1b5977ef Bug 1644972 - Restrict browser.urlbar.disableExtendForTests to tests and remove it from tests that don't need it. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D92154
2020-10-02 11:56:16 +00:00
Olli Pettay 29e269dd12 Bug 1668577 - Make child process to send offset to parent process, not index, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D92074
2020-10-02 12:05:57 +00:00
Olli Pettay a9405496ad Bug 1668357 - enable SHIP with Fission, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D91978
2020-10-01 20:59:27 +00:00
Olli Pettay 4d9024b735 Bug 1668357, still one more failure when running SHIP with fission, r=peterv
Depends on D92150

Differential Revision: https://phabricator.services.mozilla.com/D92151
2020-10-02 11:12:35 +00:00
Olli Pettay 5cb8d35726 Bug 1668215 - Bail out loading if the SessionHistoryEntry for LoadingSessionHistoryInfo isn't available anymore, r=peterv
I haven't managed to reproduce the crash

Differential Revision: https://phabricator.services.mozilla.com/D92150
2020-10-02 11:53:18 +00:00
Nicolas Chevobbe 19eb2d240b Bug 1668480 - [devtools] Update CodeMirror to 5.58.1. r=jdescottes. CLOSED TREE
The build script was broken because of the usage of the optional chaining operator,
which is not supported by Node yet, so we fix it.

We also move one modification that was made for Bug 1651443 directly to
codemirror.css (which should be an exact copy of what's provided by the library),
to mozilla.css, our internal, devtools-specific stylesheet.

Differential Revision: https://phabricator.services.mozilla.com/D92041
2020-10-01 13:06:55 +00:00
Sebastian Hengst b52e4ccdcf Bug 1502992 - set RTCRtpTransceiver.https.html as intermittent on Android opt r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91913
2020-10-02 11:34:02 +00:00
Simon Giesecke 23a4305389 Bug 1668548 - Only pass the error value to a cleanup function with QM_TRY*. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D92067
2020-10-02 10:04:37 +00:00
Simon Giesecke 6d35002b92 Bug 1668539 - Do not prevent RVO with QM_TRY_RETURN. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D92061
2020-10-02 10:03:29 +00:00
André Bargull 89d1d61483 Bug 1668765 - Part 10: Remove SourceText forward declaration. r=arai
Forward declarations should be part of TypeDecls.h, but it looks like the
forward declaration of SourceText isn't actually needed anywhere.

Depends on D92197

Differential Revision: https://phabricator.services.mozilla.com/D92198
2020-10-02 11:08:16 +00:00
André Bargull 7c1187863b Bug 1668765 - Part 9: Remove Symbol and SymbolCode from namespace js. r=arai
Depends on D92196

Differential Revision: https://phabricator.services.mozilla.com/D92197
2020-10-02 11:07:38 +00:00
André Bargull ae81e824aa Bug 1668765 - Part 8: Remove WTF8Chars from namespace js. r=arai
Depends on D92195

Differential Revision: https://phabricator.services.mozilla.com/D92196
2020-10-02 11:07:36 +00:00
André Bargull 28cb39ed7e Bug 1668765 - Part 7: Remove UTF8CharsZ from namespace js. r=arai
Depends on D92194

Differential Revision: https://phabricator.services.mozilla.com/D92195
2020-10-02 11:07:28 +00:00
André Bargull b89160e9ab Bug 1668765 - Part 6: Remove UTF8Chars from namespace js. r=arai
Depends on D92193

Differential Revision: https://phabricator.services.mozilla.com/D92194
2020-10-02 11:07:21 +00:00
André Bargull b92d6d607c Bug 1668765 - Part 5: Remove TwoByteCharsZ from namespace js. r=arai
Depends on D92192

Differential Revision: https://phabricator.services.mozilla.com/D92193
2020-10-02 11:07:13 +00:00
André Bargull bcbb3c2430 Bug 1668765 - Part 4: Remove TwoByteChars from namespace js. r=arai
Depends on D92191

Differential Revision: https://phabricator.services.mozilla.com/D92192
2020-10-02 11:07:06 +00:00
André Bargull 3cd4652bc5 Bug 1668765 - Part 3: Remove Latin1CharsZ from namespace js. r=arai
Depends on D92190

Differential Revision: https://phabricator.services.mozilla.com/D92191
2020-10-02 11:06:58 +00:00
André Bargull 25a7fb7658 Bug 1668765 - Part 2: Remove Latin1Chars from namespace js. r=arai
Depends on D92189

Differential Revision: https://phabricator.services.mozilla.com/D92190
2020-10-02 11:06:48 +00:00
André Bargull 89e1efa14d Bug 1668765 - Part 1: Remove ConstTwoByteChars from namespace js. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D92189
2020-10-02 11:06:35 +00:00
Sebastian Hengst 71dde7c4d4 Bug 1668485 - set a step of html/semantics/forms/input-change-event-properties.html as intermittent on Android opt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92064
2020-10-02 11:17:29 +00:00
Harry Twyford a1ea381dac Bug 1661882 - Remove getAutofillSearchString test helper. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D91971
2020-10-02 07:00:34 +00:00
Jan de Mooij 1ea2b43146 Bug 1667685 - Fix OOM bug in addInlinedChild. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D91570
2020-09-28 16:49:16 +00:00
Razvan Maries e97ee6395c Backed out changeset 35066da8f3c3 (bug 1666499) as per Henrik's request. CLOSED TREE 2020-10-02 10:55:34 +03:00
James Teh 590d7137ee Bug 1668707: When deciding whether to create a div Accessible, skip the first/last child if it's invisible and consider inline-block, etc. r=MarcoZ
1. Text nodes can be created in the DOM just because there was white space in the source, but this isn't always visible.
    We shouldn't create an Accessible in the invisible case.
    However, there could be an inline frame after/before an invisible text node, so we still need to check for that.

2. We should create div Accessibles if there are inline-block children such as buttons.
    Previously, we weren't doing this because these aren't caught by IsInlineFrame.
    We now use IsInlineOutside, which also catches text and br.
    Aside from being a bug, this fix was needed in this patch to fix tests which previously created div Accessibles because of invisible text nodes, but lost the Accessibles once this was fixed.

3. Similarly, we should create div Accessibles if there is a previous text sibling.
    Again, IsInlineFrame wasn't catching these, but IsInlineOutside does.

4. Adjust various tests to fix assumptions based on the previous behaviour.
    Some needed role="none" to force flattening, while some needed an id to force creation.

Differential Revision: https://phabricator.services.mozilla.com/D92170
2020-10-02 07:15:15 +00:00
Julian Descottes ef382ebf5b Bug 1667084 - [devtools] Rewrite other browser_aboutdebugging_addons_debug tests r=daisuke
Depends on D92092

This is optional, but all those tests are still shaped based on their old implementation.
There is no need to separate part of the test in a testToolboxScript method.
The about:devtools-toolbox tab should also be clsoed with existing helpers to avoid intermittents

Differential Revision: https://phabricator.services.mozilla.com/D92093
2020-10-02 05:28:03 +00:00
Julian Descottes 43be7f2369 Bug 1667084 - [devtools] Rewrite browser_aboutdebugging_addons_debug_popup.js to close toolbox after message evaluation r=daisuke
Depends on D92090

This intermittent was caused because we are closing the toolbox without waiting for the console to evaluate the message completely.
While we could a smaller change to simply close the toolbox later, this rewrite is intended to make the test easier to read.
Especially:
- it extracts some logic in dedicated helpers
- it removes complicated async interactions between the main test method and the testToolboxScript method

Differential Revision: https://phabricator.services.mozilla.com/D92092
2020-10-02 05:04:55 +00:00
Julian Descottes a22d483e06 Bug 1667084 - [devtools] Mark WebConsoleUI::getFrameActor as synchronous r=nchevobbe
Side cleanup, the method getFrameActor is no longer async.
It makes the intermittent from this bug less frequent, even though this is not the definitive fix.

Differential Revision: https://phabricator.services.mozilla.com/D92090
2020-10-01 15:58:24 +00:00
Nicolas Chevobbe 41ff0bc532 Bug 1668480 - [devtools] Update CodeMirror to 5.58.1. r=jdescottes.
The build script was broken because of the usage of the optional chaining operator,
which is not supported by Node yet, so we fix it.

We also move one modification that was made for Bug 1651443 directly to
codemirror.css (which should be an exact copy of what's provided by the library),
to mozilla.css, our internal, devtools-specific stylesheet.

Differential Revision: https://phabricator.services.mozilla.com/D92041
2020-10-01 13:06:55 +00:00
Lars T Hansen 4cf0ea4831 Bug 1666051 - Sundry fuzztest cases for backed-out ABI changes. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D91758
2020-10-02 05:17:41 +00:00
longsonr 7ef5cefd04 Bug 1667641 - map SVG use element x and y to style r=emilio
matches current Chrome per 5a1cdd7a0e

Differential Revision: https://phabricator.services.mozilla.com/D91528
2020-10-02 04:50:16 +00:00
Masayuki Nakano a3f44d2996 Bug 1668133 - Check consistency of `getTargetRanges()` at calling various timing in an independent WPT r=smaug
Currently, it's tested in `input-events-get-target-ranges-*.tentative.html`
after checking the target ranges, however, Blink always fails this check.
That makes it harder to check which test actually failed on Chrome.

Therefore, this patch makes the existing tests stop check it, and creates
new WPT to check only it.

Note that due to some prettier's rlues have been changed so that VSCode
reformatted the JS file.

Differential Revision: https://phabricator.services.mozilla.com/D91891
2020-10-01 07:56:03 +00:00
Lars T Hansen 2e88db8281 Bug 1666140 - Fix OOM bailout path. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D91750
2020-09-30 15:13:31 +00:00
alwu 3771e88831 Bug 1656414 - part2 : add a test under a new created folder for tab media indicator. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D91368
2020-10-02 03:56:02 +00:00
alwu ebf5370d51 Bug 1656414 - part1 : stop audio playback and media block if needed when destroying an parent actor. r=farre
If content process dispatches event after actor close, then we are not able to clear the tab media indicator. Therefore, we should do corresponding cleanup when actor destroys.

Differential Revision: https://phabricator.services.mozilla.com/D91367
2020-10-02 03:56:09 +00:00
Dan Mosedale 56fe9ac25f Bug 1668704 - upgrade serde to 1.0.116 so we can vendor in Nimbus SDK r=markh
Differential Revision: https://phabricator.services.mozilla.com/D92164
2020-10-02 01:10:38 +00:00
Glenn Watson 0940ec6086 Bug 1668696 - Remove IS_IDENTITY flag from spatial nodes. r=mattwoodrow
This reverts a patch that added the IS_IDENTITY flag to spatial nodes.

This flag is not used yet, and was one of the patches identified as a
possible cause of a regression in one of the telemetry stats we track
for scene building (see bug 1667696). As such, it's easy to revert this
for now and see if it has an effect on those telemetry numbers.

--

Revert "Bug 1623792 - Pt 8 - Add IS_IDENTITY to spatial node flags. r=jnicol"

This reverts commit 771a48de769da1f2939b30ec18789ab28d577335.

Differential Revision: https://phabricator.services.mozilla.com/D92159
2020-10-02 00:39:26 +00:00
Chris Jackson ea79755051 Bug 1664867 - Add tests to confirm that the correct video is selected when using the keyboard shortcut for Picture-in-Picture. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90942
2020-10-02 00:11:39 +00:00
alwu ebdd91d082 Bug 1668122 - allow switching media control pref on runtime take effect. r=chunmin
Currently changing the pref `media.hardwaremediakeys.enabled` would only take effect after restarting Firefox, this patch would make it possible to do so during runtime.

Differential Revision: https://phabricator.services.mozilla.com/D91841
2020-10-01 23:43:53 +00:00
Henrik Skupin 51a33ed7e5 Bug 1662460 - [marionette] Port WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript to JSWindowActor. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D91609
2020-10-01 21:14:21 +00:00
Henrik Skupin 5014cfed6f Bug 1662460 - [marionette] Unify execute script methods in framescript. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D91608
2020-10-01 21:13:56 +00:00
Henrik Skupin d63e49a778 Bug 1662460 - [marionette] Automatically convert between DOM nodes and element id references in fromJSON() and toJSON(). r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D91918
2020-10-01 21:13:43 +00:00
Emily McDonough bcead76cbc Bug 1668076 - Fix formatting of nsPrinterListCUPS.cpp r=nordzilla
The functions are in the wrong order, and there was some missing whitespace.

Differential Revision: https://phabricator.services.mozilla.com/D91818
2020-10-01 23:14:32 +00:00
Emilio Cobos Álvarez 584d9d8e68 Bug 1668156 - Fix some IntersectionObserver edge cases, and enable the assertion for good. r=hiro
This patch fixes two issues, described below:

First, the GetTopLevelDocument function was looking at the browsing
context tree. It should look at the window context tree, as looking at
the browsing context tree means that if you're in a discarded or
about-to-get-discarded document, you can end up with a document from a
different tree. Computing intersections between those of course makes no
sense and triggers the assertion we're enabling.

Second, this patch fixes an issue when you have fission enabled, and a
setup such as:

  A1 -> B1 -> A2

If you try to use IntersectionObserver from A2 with the implicit root,
we'd end up with:

  * rootRect: A1's root scrollport rect (this is fine, because it's only
              used to compute the root margin and bounds and so on, not
              to compute geometry).

  * rootFrame: A1's root scroll frame (this is _not_ fine, see below).

Then, we'd try to map rects from A2's target to A1's viewport, and we
can't really do that sensibly with the existing nsLayoutUtils functions,
because we're not accounting for all the OOP iframe transforms that may
be going on. This also triggers the assertion that this patch enables in
same-origin-grand-child-iframe.sub.html.

To fix it, for the A2 case, use the same code that we have for other OOP
iframes. The test tweaks fails with fission enabled without the patch
(because we don't account for the OOP iframe clip).

Differential Revision: https://phabricator.services.mozilla.com/D92089
2020-10-01 22:41:55 +00:00
Marco Bonardo 5b1de7558c Bug 1668012 - Keyboard navigating one-off buttons after typing doesn't update the engine chiclet. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D91973
2020-10-01 22:09:58 +00:00
Bob Owen 7660ec7730 Bug 1668516: Account for orientation when getting paper size from device context in CopyFromNative. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D92121
2020-10-01 20:47:39 +00:00
Bob Owen 922f287afd Bug 1668492: Stop using locale based decimals when saving printing prefs. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D92099
2020-10-01 17:55:01 +00:00
Matt Woodrow a63466e44e Bug 1668302 - Expose SWGL state to TextureFactoryIdentifier. r=jrmuizel
This is mostly preparing for the future state where we might have SWGL WR mixed with real hardware webrender, and want a way to lookup the state per-compositor.

Differential Revision: https://phabricator.services.mozilla.com/D92009
2020-10-01 22:19:15 +00:00
Matt Woodrow d01e76fc58 Bug 1668302 - Implement RenderTextureHostSWL for wrapper texture hosts. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D92008
2020-10-01 22:18:52 +00:00
Randell Jesup 3245883289 Bug 1668126: Correct ordering of LocationChange and history index/length commit for SHIP r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92143
2020-10-01 21:59:27 +00:00