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

721821 Коммитов

Автор SHA1 Сообщение Дата
Frederik Braun 6c85c74f16 Bug 1655716 - Introduce TYPE_INTERNAL_FETCH_PRELOAD and use in HTMLLinkElement::AsValueToContentPolicy() - r=emilio,mayhemer,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D85980
2020-08-11 12:33:14 +00:00
Jan Varga c35198fb73 Bug 1658504 - Support declaration of variables in QM_TRY_VAR; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D86685
2020-08-11 11:17:56 +00:00
Csoregi Natalia cc057fb442 Backed out 4 changesets (bug 1652894) for texture related crashes. CLOSED TREE
Backed out changeset 714ad1b01cb2 (bug 1652894)
Backed out changeset e3b4753fd09c (bug 1652894)
Backed out changeset 8abaf47071d8 (bug 1652894)
Backed out changeset 175df7659c3f (bug 1652894)
2020-08-11 15:50:07 +03:00
Noemi Erli 56b4ff381b Backed out changeset 9040cdaddc7c (bug 1658323) for causing multiple failures actors/webconsole related CLOSED TREE 2020-08-11 14:45:36 +03:00
Christoph Kerschbaumer 2372c28caf Bug 1658283: HTTPS-Only: Simplify ShouldUpgradeWebSocket. r=JulianWels
Differential Revision: https://phabricator.services.mozilla.com/D86539
2020-08-11 11:19:28 +00:00
julianwels 3e427e5423 Bug 1656027 - Added cached property 'isSecureContext' as an additional condition when the security UI should be updated. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D85327
2020-08-11 10:57:40 +00:00
Christoph Kerschbaumer 2022b48393 Bug 1658325: HTTPS-Only Mode: Have HOM entry in about:preferences link to sumo page r=JulianWels,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86561
2020-08-11 11:07:26 +00:00
Itiel c10ed056a5 Bug 1655020 - Fix the popup-subitem icon to have the same fill-opacity as the other icons in the same section r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D84802
2020-08-11 10:38:18 +00:00
Emilio Cobos Álvarez d276a931b8 Bug 1658525- Remove layout.css.comparison-functions.enabled. r=xidorn
Shipped since FF75 (bug 1519519).

Differential Revision: https://phabricator.services.mozilla.com/D86693
2020-08-11 10:27:42 +00:00
Dan Minor 3f683f4b28 Bug 1653219 - Remove old crashtest for tab sharing; r=ng
The window opened by the crashtests does not show up in the list
maintained by BrowserWindowTracker, so we never end up with any tabs to
share, causing the test to hang. I don't like to remove a test, but this
was written for the old version of tab sharing which has been completely
removed, and there doesn't seem to be a clear path ahead which would
make this test pass without adding special case code in tab sharing that
would work with crashtests.

Depends on D84593

Differential Revision: https://phabricator.services.mozilla.com/D86564
2020-08-10 22:06:53 +00:00
Timothy Nikkel c2b4a6f166 Bug 1658168. Make SmoothScrollAnimation pass float CSS pixels to AxisPhysicsMSDModel instead of app units. r=kats
This avoids a problem where apz side smooth scroll animations end immediately because the inaccuracy of converting to (integer) app units and back wrongly tells us that we have overscroll the non-moving axis if that axis is at the end of its range.

When we do a smooth scroll animation on the apzc side we use AxisPhysicsMSDModel. AxisPhysicsMSDModel is also used on the main thread to do smooth scroll animations. AxisPhysicsMSDModel uses doubles to represent all coordinates. On the main thread we pass in appunits, so the output of AxisPhysicsMSDModel is also in appunits. On the apzc side we follow that to.

A problem comes up when we do a smooth scroll animation in one axis, and the other axis is at the end of its range (and not animating). In the non-moving axis we convert the current scroll position (on the frame metrics) to appunits and pass it into AxisPhysicsMSDModel. Then when it comes time to call DoSample for the first time we ask for the position from AxisPhysicsMSDModel (in appunits) and then convert it to CSSPoint. And then we compare it with the current scroll position (on the frame metrics). Especially when we have zoom, the inaccuracy of this computation is enough for the difference between the CSSPoint for the current position from AxisPhysicsMSDModel and the current scroll offset (on the frame metrics) to be bigger than the epsilon that we use here:

https://searchfox.org/mozilla-central/rev/491612fa0be0f809069ea62c6316bf452cacc816/gfx/layers/apz/src/AsyncPanZoomController.cpp#747

and we determine that we have overscrolled the non-moving axis, and therefore the animation must be over.

Since AxisPhysicsMSDModel already operates purely on doubles if we just avoid converting to (integer) app units we avoid this problem. We could have AxisPhysicsMSDModel operate on float appunits, but that's a little inelegant because there aren't functions for converting to float appunits. We could also just have AxisPhysicsMSDModel operate on CSS pixels. That assumes that the physics calculations of AxisPhysicsMSDModel are scale independent, which I don't know for sure but they seem to be visually the same with CSS pixels.

Differential Revision: https://phabricator.services.mozilla.com/D86481
2020-08-10 21:57:46 +00:00
Dan Minor 271809cdc5 Bug 1653219 - Enumerate browser tabs before entire screen; r=ng
A lot of tests assume that the screen will be the last thing enumerated.
It is also the "scariest" option, so having it last makes sense.

Differential Revision: https://phabricator.services.mozilla.com/D84593
2020-08-10 15:58:23 +00:00
Dan Minor 2db7834f68 Bug 1653219 - Use BrowserTabEnumerator to enumerate tabs; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D84592
2020-08-10 15:57:59 +00:00
Dan Minor fd59610aaf Bug 1653219 - Add nsIBrowserWindowTracker and getAllVisibleTabs function; r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D84591
2020-08-10 15:57:46 +00:00
Jonathan Kew e92e6945b1 Bug 1658207 - Set up and use the mCharacterMap in shared Family records more correctly, to accelerate font fallback searches. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D86490
2020-08-10 22:45:51 +00:00
Masayuki Nakano 220db95ff0 Bug 1657269 - part 2: Make `HTMLEditor::HandleDeleteSelectionInternal()` take `AutoRangeArray` instead of referring `Selection` ranges r=m_kato
Now, only when deleting table cell contents, `HandleDeleteSelectionInternal()`
depends on `Selection`.  However, this can be moved to `HandleDeleteSelection()`
because recursive callers expects `Selection` is collapsed by its previous job.

Differential Revision: https://phabricator.services.mozilla.com/D86183
2020-08-11 09:35:42 +00:00
Masayuki Nakano d5ed562a13 Bug 1657269 - part 1: Move `EditorBase::ExtendSelectionForDelete()` into `AutoRangeArray` r=m_kato
This patch moves `EditorBase::ExtendSelectionForDelete()` into `AutoRangeArray`
and make it stop modifying `Selection`.

The method extends anchor-focus range with `nsFrameSelection` and it refers
bidi information in it too.  Therefore, it needs to be called before modifying
anchor-focus range of `Selection`.  Unfortunately, this makes the code messy,
but for now, we should take this.  In the future, we should make the API of
`nsFrameSelection` free from `Selection`.

Differential Revision: https://phabricator.services.mozilla.com/D86182
2020-08-11 06:11:10 +00:00
Christoph Kerschbaumer a2f94da3d9 Bug 1658323: HTTPS-Only Mode: Have console message link to SUMO page r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D86577
2020-08-11 10:00:53 +00:00
Emilio Cobos Álvarez 302b74debe Bug 1657173 - Make <link rel=preload as=style> not block onload incorrectly. r=mayhemer
And fix the only WPT for this while at it which was using the wrong URL
(and thus would always pass).

This actually makes me a bit uncomfortable given the amount of times
I've seen the pattern:

    <link href="important.css" rel="preload" as="style" onload="this.rel = 'stylesheet'">

As that means that important.css won't block the load event. But let's
try.

Differential Revision: https://phabricator.services.mozilla.com/D86049
2020-08-11 09:41:28 +00:00
Emilio Cobos Álvarez 2a82d607c5 Bug 1658470 - Remove layout.css.is-where-selectors.enabled. r=heycam
Shipped since 78 (bug 1632646).

Differential Revision: https://phabricator.services.mozilla.com/D86662
2020-08-11 05:54:22 +00:00
Emilio Cobos Álvarez 906c1a7801 Bug 1658470 - Remove layout.css.shadow-parts.enabled. r=heycam
Shipped since 72 (bug 1559074).

Differential Revision: https://phabricator.services.mozilla.com/D86661
2020-08-11 05:54:17 +00:00
Michael Hoffmann 6de2904eeb Bug 1553421 - Add request method to network markers r=necko-reviewers,gerald,valentin
Differential Revision: https://phabricator.services.mozilla.com/D85878
2020-08-10 06:33:22 +00:00
Jan de Mooij be3490d556 Bug 1657399 - Don't use MNewTypedArray if the length is zero. r=anba
Also add an assertion for this to MacroAssembler::initTypedArraySlots. This replaces
some invalid code that used dataSlotOffset instead of dataOffset.

Not adding the test because with the new assertion this failed jit-tests.

Differential Revision: https://phabricator.services.mozilla.com/D86551
2020-08-11 08:33:11 +00:00
Jan de Mooij 93e7d4f25c Bug 1657303 - Support using the arguments analysis with WarpBuilder. r=iain
* If WarpBuilder is enabled, use WarpBuilder instead of IonBuilder for the analysis itself.
* Support optimized-arguments accesses in the transpiler (FunApplyArgs is still missing).
* Slow paths insert MGuardNotOptimizedArguments to deoptimize optimized-arguments.

Differential Revision: https://phabricator.services.mozilla.com/D86003
2020-08-11 08:33:11 +00:00
Lee Salzman 6b4a081f33 Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 07:38:10 +00:00
Lee Salzman af31727ba7 Bug 1652894 - fix SWGL code formatting. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86339
2020-08-11 06:02:30 +00:00
Lee Salzman 25da5abf77 Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 06:02:23 +00:00
Lee Salzman 96653665f3 Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 06:02:25 +00:00
Ed Lee 98b1408e33 Bug 1649180 - Localize password import source-browser name r=MattN,fluent-reviewers,flod
Based on the approach in D80944 but of the supported browser ids exposed via ChromeMigrationUtils.CONTEXTUAL_LOGIN_IMPORT_BROWSERS.

Differential Revision: https://phabricator.services.mozilla.com/D84465
2020-08-11 07:13:51 +00:00
Martin Stransky 0532b8492a Bug 1657845 [Linux] Set AV_CODEC_FLAG_LOW_DELAY to low-latency vaapi decoder, r=jya
Differential Revision: https://phabricator.services.mozilla.com/D86326
2020-08-11 05:55:06 +00:00
Masayuki Nakano 0b7819addd Bug 1657270 - part 5: Guarantee that `AutoEmptyBlockAncestorDeleter` did nothing if it returns "not handled" or an error at the caller r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85999
2020-08-11 05:04:33 +00:00
Masayuki Nakano 76b257fb0f Bug 1657270 - part 4: Split caret computation part off from `AutoEmptyBlockAncestorDeleter::Run()` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85998
2020-08-11 05:04:08 +00:00
Masayuki Nakano 087c7979ab Bug 1657270 - part 3: Split `<br>` element insertion part for empty list element off from `AutoEmptyBlockAncestorDeleter::Run()` r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85997
2020-08-11 04:35:05 +00:00
Masayuki Nakano d76fe99f0d Bug 1657270 - part 2: Split `AutoEmptyBlockAncestorDeleter::Run()` to scanning the target part and touching the DOM tree part r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85996
2020-08-11 02:02:31 +00:00
Masayuki Nakano 42c32fd19a Bug 1657270 - part 1: Move `HTMLEditor::MaybeDeleteTopMostEmptyAncestor()` into new stack only class r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D85995
2020-08-11 02:02:19 +00:00
Csoregi Natalia 555c643104 Backed out 4 changesets (bug 1652894) for bustages on RenderThread.cpp. CLOSED TREE
Backed out changeset 0e0107226c9e (bug 1652894)
Backed out changeset ff5e4bffb497 (bug 1652894)
Backed out changeset 2e4c7cced692 (bug 1652894)
Backed out changeset a8b850455c90 (bug 1652894)
2020-08-11 08:52:47 +03:00
Lee Salzman 385e5cc6c6 Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 05:24:04 +00:00
Lee Salzman 9567f43ed9 Bug 1652894 - fix SWGL code formatting. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D86339
2020-08-07 19:36:01 +00:00
Lee Salzman 4c242bb65c Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 05:04:03 +00:00
Lee Salzman 114fe878d9 Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 00:50:12 +00:00
Matt Woodrow 6c1b2412c5 Bug 1657771 - Implement scaling and flipping for SwCompositor. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D86500
2020-08-11 04:46:31 +00:00
Lee Salzman f58b056b55 Bug 1658467 - ensure at least 16 vertex attributes may be used in SWGL. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D86667
2020-08-11 05:10:09 +00:00
James Teh 03d92312c3 Bug 1657182: browser_PanelMultiView_keyboard.js: Use a capturing event listener on the browser/iframe to capture the load event from the child document. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86112
2020-08-07 12:23:12 +00:00
Razvan Maries 6d82f7f1a0 Backed out 2 changesets (bug 1651680) for L10n bustages. CLOSED TREE
Backed out changeset 09a5f4dcd92a (bug 1651680)
Backed out changeset 13a881966dda (bug 1651680)
2020-08-11 05:40:47 +03:00
Jan-Ivar Bruaroey c767676926 Bug 1658387 - Bring back "Clear Log" button in about:webrtc that was removed by accident. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D86599
2020-08-10 22:07:26 +00:00
Joshua Cranmer 45bfd75f59 Bug 1652354, part 𝋡: Support categories with generic values in static component registration. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D85656
2020-08-10 21:16:31 +00:00
Joshua Cranmer 46c84af88a Bug 1652354, part 𝋠: Throw an error if a duplicate CID is seen. r=kmag
The perfecthash module will instead try to sit in an infinite loop, so catching
this early is essential for giving better error messages.

Differential Revision: https://phabricator.services.mozilla.com/D85655
2020-08-07 23:13:53 +00:00
Razvan Maries eed7de660b Backed out 2 changesets (bug 1639328) for perma failures on test_bug1639328.html. CLOSED TREE
Backed out changeset 23130282a937 (bug 1639328)
Backed out changeset 8628c5cddd14 (bug 1639328)
2020-08-11 05:13:41 +03:00
Razvan Maries 19dba4d200 Backed out changeset a4be7cf49e07 (bug 1658448) for Windows max run time exceeded failures. CLOSED TREE 2020-08-11 04:41:46 +03:00
Mike Hommey 99910cc0ff Bug 1651680 - Support --enable-strip/--enable-install-strip on mingw. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D86649
2020-08-11 00:08:49 +00:00