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

688107 Коммитов

Автор SHA1 Сообщение Дата
Bogdan Tara c75b5dbb22 Backed out 2 changesets (bug 1608514) for geckoview.test.LoginStorageDelegateTest.loginUpdateAccept timeouts
Backed out changeset f4537109c514 (bug 1608514)
Backed out changeset 5cd5aee16013 (bug 1608514)
2020-01-15 16:48:51 +02:00
Brian Grinstead fd3ed49e86 Bug 1602230 - Use an html:label with textContent instead of xul:label with [value] for toolbarbutton-badges r=Gijs
This both allows proper CSS sizing (it respects max-width), and allows for hidden overflow for long badges.
Using xul:label with textContent fixes the former but doesn't support the latter, so an html:label is used instead.

Differential Revision: https://phabricator.services.mozilla.com/D57652

--HG--
extra : moz-landing-system : lando
2020-01-15 10:49:04 +00:00
Johann Hofmann 038631d30b Bug 1606839 - Use new user activation API for guarding notification permission prompts. r=Ehsan,edgar
Differential Revision: https://phabricator.services.mozilla.com/D59342

--HG--
extra : moz-landing-system : lando
2020-01-15 14:22:46 +00:00
Jon Coppeard 8e7bc65d31 Bug 1596756 - Add browser tests for FinalizationGroup r=mccr8
These are mochitests because there's currently no way to trigger a GC from WPT. I tried to do this with xpcshell tests but I couldn't get the pref to enable weak refs to work.

Differential Revision: https://phabricator.services.mozilla.com/D59375

--HG--
extra : moz-landing-system : lando
2020-01-15 14:19:28 +00:00
Jon Coppeard 5af1cef3ff Bug 1596756 - Support FinalizationGroup objects in the browser r=mccr8
Add browser support for FinalizationGroup by setting the HostCleanupFinalizationGroupCallback in CycleCollectedJSContext.  The callback adds groups pending cleanup to a vector stored in a PersistentRooted.  A runnable is dispatched to call back into the JS engine and perform cleanup at a later time as a separate task.  Using AutoEntryScript reports errors to the console.

Differential Revision: https://phabricator.services.mozilla.com/D53248

--HG--
extra : moz-landing-system : lando
2020-01-15 14:22:04 +00:00
Jon Coppeard 565c221ae9 Bug 1596756 - Don't queue finalization groups for cleanup during shutdown r=sfink
It doesn't make sense to queue callbacks at this point because they will never run, and without this we get leaks at shutdown.  I also refactored GCRuntime::sweepFinalizationGroups a little.

Differential Revision: https://phabricator.services.mozilla.com/D59897

--HG--
extra : moz-landing-system : lando
2020-01-15 14:22:29 +00:00
Jon Coppeard 9372af6635 Bug 1593698 - Add a pref to enable support for weak references in nightly builds, off by default r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53023

--HG--
extra : moz-landing-system : lando
2020-01-15 14:22:29 +00:00
Bogdan Tara 1fa2e3839f Backed out changeset 996f7985ca6b (bug 1430141) for reftests/writing-mode/ua-style-sheet-input-number-1.html failures 2020-01-15 16:16:55 +02:00
Alex Chronopoulos 236f6c237f Bug 1604117 - Backout cubeb commit aa63601. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D59674

--HG--
extra : moz-landing-system : lando
2020-01-13 13:09:39 +00:00
Edwin Takahashi 1c7bbf914b Bug 1608582 - tighten reftest annotation, part 1 r=jmaher
Changes:

Tighten reftest pixel differences now that reftest has been migrated fully over to ubuntu1804.

Differential Revision: https://phabricator.services.mozilla.com/D59598

--HG--
extra : moz-landing-system : lando
2020-01-11 12:32:27 +00:00
Edwin Takahashi 371785cf08 Bug 1602863 - run web-platform-tests on ubuntu1804 except ccov r=jmaher
Changes:

Rename the `web-platform-tests-1804` set to `web-platform-tests`.

Create a new set with name `web-platform-tests-wdspec` which will hold only the `wdspec` test to be run on ubuntu1604.

Use the now-named `web-platform-tests` set to be used for ubuntu1804 platforms.

Differential Revision: https://phabricator.services.mozilla.com/D59449

--HG--
extra : moz-landing-system : lando
2020-01-15 07:19:25 +00:00
Jan Varga c30d23c18d Bug 1608025 - Add a test for the upgrade from storage version 2.2; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59711

--HG--
extra : moz-landing-system : lando
2020-01-14 06:17:09 +00:00
Jan Varga f0098d5b2f Bug 1608025 - Clean up the test for the upgrade from storage version 2.1; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59710

--HG--
rename : dom/quota/test/unit/test_unknownFiles.js => dom/quota/test/unit/upgrades/test_unknownFiles.js
rename : dom/quota/test/unit/upgrades/test_obsoleteOrigins.js => dom/quota/test/unit/upgrades/test_upgradeStorageFrom2_1.js
rename : dom/quota/test/unit/upgrades/version2_2upgrade_profile.zip => dom/quota/test/unit/upgrades/version2_1_profile.zip
extra : moz-landing-system : lando
2020-01-14 06:16:52 +00:00
Jan Varga 83c009bffd Bug 1608025 - Clean up the test for the upgrade from storage version 2.0; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59709

--HG--
rename : dom/quota/test/unit/upgrades/test_version2_1upgrade.js => dom/quota/test/unit/upgrades/test_upgradeStorageFrom2_0.js
rename : dom/quota/test/unit/upgrades/version2_1upgrade_profile.zip => dom/quota/test/unit/upgrades/version2_0_profile.zip
extra : moz-landing-system : lando
2020-01-14 06:15:53 +00:00
Jan Varga c93adc6459 Bug 1608025 - Clean up the tests for the upgrade from storage version 1.0; r=asuth
This patch also fixes the code to correctly handle the removal of appId origin
attribute.

Differential Revision: https://phabricator.services.mozilla.com/D59708

--HG--
rename : dom/quota/test/unit/upgrades/test_morgueCleanup.js => dom/quota/test/unit/upgrades/test_upgradeStorageFrom1_0_removeMorgueDirectory.js
rename : dom/quota/test/unit/upgrades/test_obsoleteOriginAttributesUpgrade.js => dom/quota/test/unit/upgrades/test_upgradeStorageFrom1_0_stripObsoleteOriginAttributes.js
rename : dom/quota/test/unit/upgrades/morgueCleanup_profile.zip => dom/quota/test/unit/upgrades/version1_0_morgueDirectory_profile.zip
rename : dom/quota/test/unit/upgrades/obsoleteOriginAttributes_profile.zip => dom/quota/test/unit/upgrades/version1_0_obsoleteOriginAttributes_profile.zip
extra : moz-landing-system : lando
2020-01-14 06:19:50 +00:00
Jan Varga 48cc81bb25 Bug 1608025 - Clean up the test for the upgrade from storage version 0.0; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59703

--HG--
rename : dom/quota/test/unit/upgrades/test_originAttributesUpgrade.js => dom/quota/test/unit/upgrades/test_upgradeStorageFrom0_0.js
rename : dom/quota/test/unit/upgrades/originAttributesUpgrade_profile.zip => dom/quota/test/unit/upgrades/version0_0_profile.zip
extra : moz-landing-system : lando
2020-01-14 02:53:39 +00:00
Jan Varga 37fc02fdf4 Bug 1608025 - Add tests for the removal of old indexedDB/ and storage/persistent/ directories; r=asuth
This patch also refactors relevant upgrade methods to do the removal directly.

Differential Revision: https://phabricator.services.mozilla.com/D59702

--HG--
extra : moz-landing-system : lando
2020-01-14 02:53:16 +00:00
Jan Varga 68e8c0c78c Bug 1608025 - Clean up the test for the upgrade from storage/persistent/ directory; r=asuth
An additional test is added for the complete upgrade from flat origin directories.

Differential Revision: https://phabricator.services.mozilla.com/D59701

--HG--
rename : dom/quota/test/unit/upgrades/persistentStorageDirectory_flatOriginDirectories_profile.zip => dom/quota/test/unit/upgrades/persistentStorageDirectory_originDirectories_profile.zip
rename : dom/quota/test/unit/upgrades/defaultStorageUpgrade_profile.zip => dom/quota/test/unit/upgrades/persistentStorageDirectory_profile.zip
rename : dom/quota/test/unit/upgrades/test_defaultStorageUpgrade.js => dom/quota/test/unit/upgrades/test_upgradeFromPersistentStorageDirectory.js
rename : dom/quota/test/unit/upgrades/test_upgradeFromFlatOriginDirectories.js => dom/quota/test/unit/upgrades/test_upgradeFromPersistentStorageDirectory_upgradeOriginDirectories.js
extra : moz-landing-system : lando
2020-01-14 02:51:42 +00:00
Jan Varga 2159f2fcd8 Bug 1608025 - Clean up the test for the upgrade from indexedDB/ directory; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59700

--HG--
rename : dom/quota/test/unit/upgrades/storagePersistentUpgrade_profile.zip => dom/quota/test/unit/upgrades/indexedDBDirectory_profile.zip
rename : dom/quota/test/unit/upgrades/test_storagePersistentUpgrade.js => dom/quota/test/unit/upgrades/test_upgradeFromIndexedDBDirectory.js
extra : moz-landing-system : lando
2020-01-14 02:50:08 +00:00
Jan Varga f8f9157438 Bug 1608025 - Clean up the test for the upgrade from flat origin directories; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59664

--HG--
rename : dom/quota/test/unit/upgrades/idbSubdirUpgrade1_profile.zip => dom/quota/test/unit/upgrades/indexedDBDirectory_flatOriginDirectories_profile.zip
rename : dom/quota/test/unit/upgrades/idbSubdirUpgrade2_profile.zip => dom/quota/test/unit/upgrades/persistentStorageDirectory_flatOriginDirectories_profile.zip
rename : dom/quota/test/unit/upgrades/test_idbSubdirUpgrade.js => dom/quota/test/unit/upgrades/test_upgradeFromFlatOriginDirectories.js
extra : moz-landing-system : lando
2020-01-14 02:49:43 +00:00
Jan Varga e575c0d8c6 Bug 1608025 - Legacy upgrade methods should only be called when storage.sqlite doesn't exist; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59663

--HG--
extra : moz-landing-system : lando
2020-01-14 02:43:40 +00:00
Jan Varga efe95e9831 Bug 1608025 - Move storage upgrade related tests to a separate directory; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D59661

--HG--
rename : dom/quota/test/unit/defaultStorageUpgrade_profile.zip => dom/quota/test/unit/upgrades/defaultStorageUpgrade_profile.zip
rename : dom/quota/test/unit/idbSubdirUpgrade1_profile.zip => dom/quota/test/unit/upgrades/idbSubdirUpgrade1_profile.zip
rename : dom/quota/test/unit/idbSubdirUpgrade2_profile.zip => dom/quota/test/unit/upgrades/idbSubdirUpgrade2_profile.zip
rename : dom/quota/test/unit/localStorageArchive1upgrade_profile.zip => dom/quota/test/unit/upgrades/localStorageArchive1upgrade_profile.zip
rename : dom/quota/test/unit/localStorageArchive4upgrade_profile.zip => dom/quota/test/unit/upgrades/localStorageArchive4upgrade_profile.zip
rename : dom/quota/test/unit/localStorageArchiveDowngrade_profile.zip => dom/quota/test/unit/upgrades/localStorageArchiveDowngrade_profile.zip
rename : dom/quota/test/unit/morgueCleanup_profile.zip => dom/quota/test/unit/upgrades/morgueCleanup_profile.zip
rename : dom/quota/test/unit/obsoleteOriginAttributes_profile.zip => dom/quota/test/unit/upgrades/obsoleteOriginAttributes_profile.zip
rename : dom/quota/test/unit/originAttributesUpgrade_profile.zip => dom/quota/test/unit/upgrades/originAttributesUpgrade_profile.zip
rename : dom/quota/test/unit/storagePersistentUpgrade_profile.zip => dom/quota/test/unit/upgrades/storagePersistentUpgrade_profile.zip
rename : dom/quota/test/unit/test_defaultStorageUpgrade.js => dom/quota/test/unit/upgrades/test_defaultStorageUpgrade.js
rename : dom/quota/test/unit/test_idbSubdirUpgrade.js => dom/quota/test/unit/upgrades/test_idbSubdirUpgrade.js
rename : dom/quota/test/unit/test_localStorageArchive1upgrade.js => dom/quota/test/unit/upgrades/test_localStorageArchive1upgrade.js
rename : dom/quota/test/unit/test_localStorageArchive4upgrade.js => dom/quota/test/unit/upgrades/test_localStorageArchive4upgrade.js
rename : dom/quota/test/unit/test_localStorageArchiveDowngrade.js => dom/quota/test/unit/upgrades/test_localStorageArchiveDowngrade.js
rename : dom/quota/test/unit/test_morgueCleanup.js => dom/quota/test/unit/upgrades/test_morgueCleanup.js
rename : dom/quota/test/unit/test_obsoleteOriginAttributesUpgrade.js => dom/quota/test/unit/upgrades/test_obsoleteOriginAttributesUpgrade.js
rename : dom/quota/test/unit/test_obsoleteOrigins.js => dom/quota/test/unit/upgrades/test_obsoleteOrigins.js
rename : dom/quota/test/unit/test_originAttributesUpgrade.js => dom/quota/test/unit/upgrades/test_originAttributesUpgrade.js
rename : dom/quota/test/unit/test_storagePersistentUpgrade.js => dom/quota/test/unit/upgrades/test_storagePersistentUpgrade.js
rename : dom/quota/test/unit/test_version2_1upgrade.js => dom/quota/test/unit/upgrades/test_version2_1upgrade.js
rename : dom/quota/test/unit/version2_1upgrade_profile.zip => dom/quota/test/unit/upgrades/version2_1upgrade_profile.zip
rename : dom/quota/test/unit/version2_2upgrade_profile.zip => dom/quota/test/unit/upgrades/version2_2upgrade_profile.zip
extra : moz-landing-system : lando
2020-01-14 02:36:19 +00:00
Ehsan Akhgari ae823cb5a3 Bug 1484315 - Refactor the third-party checks used in the cookie backend; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D58998

--HG--
extra : moz-landing-system : lando
2020-01-08 10:25:44 +00:00
Alexandre Poirot 193542db18 Bug 1607848 - Disable process preload to prevent creating process randomly during test run. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D59716

--HG--
extra : moz-landing-system : lando
2020-01-14 14:51:42 +00:00
Emilio Cobos Álvarez 3532d66b93 Bug 1609123 - Don't serialize implicit grid tracks in grid wpt tests.
Differential Revision: https://phabricator.services.mozilla.com/D59871

--HG--
extra : moz-landing-system : lando
2020-01-14 14:55:59 +00:00
Samael Wang d09c6ebd50 Bug 836567 - Part 2: Replace inapplicable tests with a web-platform-test for reloading after setting javascript: URI, and fix other tests relying on javascript: URI. r=Gijs,miker
Some notes about the changes:

Both test_bug384014.html and test_bug123696.html were testing reloading of
javascript: URI. The expected result of the iframes after reloading would
become about:blank. I deleted both file and instead wrote with
web-platform-test to cover reloading of javascript: URI since wpt is more
preferable.

storage-cache-error.html was utilizing javascript: URI to test bug 1262766.
javascript: URI would cause CacheStorage::Keys to throw a dom security
exception because the URI's principal (which did not match the principal of the
document in this case!) was a nullpricipal.  With my patches the iframe's URL
would no longer be the javascript: URI, so it's no longer applicable for the
test case. Instead we can test what bug 1262766 was originally about - that
CacheStorage::Keys would throw a dom security exception if it's in a private
browsing window.

Differential Revision: https://phabricator.services.mozilla.com/D59465

--HG--
extra : moz-landing-system : lando
2020-01-14 10:43:56 +00:00
Samael Wang dfa554dd6e Bug 836567 - Part 1: Set ResultPrincipalURI to active document's URI before evaluating a javascript: URL. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D59464

--HG--
extra : moz-landing-system : lando
2020-01-10 16:34:07 +00:00
Ehsan Akhgari b8a41d0a49 Bug 1599959 - Enable ETP heuristics for doubly(+) nested contexts; r=baku
Currently our ETP heuristic grant criteria is overly restrictive,
requiring the content that triggers the heuristic to be a single
level tracking content.  This means that the potential benefits of
our heuristics are limited as well.

This patch enhances our heuristics to cover all levels of nesting.

Differential Revision: https://phabricator.services.mozilla.com/D58893

--HG--
rename : toolkit/components/antitracking/test/browser/3rdPartyUI.html => toolkit/components/antitracking/test/browser/3rdPartyRelay.html
extra : moz-landing-system : lando
2020-01-08 10:27:29 +00:00
Arthur Iakab 99c5970d7f Backed out changeset 209adca8625c (bug 1606839) for multiple failures on browser_permissions_handling_user_input.js
CLOSED TREE
2020-01-14 16:52:02 +02:00
David Teller d2634c2e40 Bug 1607530 - Fixing lifetime issues in promise closures;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D59092

--HG--
extra : moz-landing-system : lando
2020-01-14 14:08:02 +00:00
Dragana Damjanovic b97060f65e Bug 1609051 - Fix int format in a comment.r=michal
Differential Revision: https://phabricator.services.mozilla.com/D59838

--HG--
extra : moz-landing-system : lando
2020-01-14 11:23:07 +00:00
Dan Minor 0c5b64b1cf Bug 1605862 - Decrease UDP socket timeouts in mDNS service; r=mjf
The original values of 10ms were chosen arbitrarily. Decreasing the values may
help prevent shutdown hangs like those seen in Bug 1601992.

Differential Revision: https://phabricator.services.mozilla.com/D58844

--HG--
extra : moz-landing-system : lando
2020-01-14 12:23:08 +00:00
Johann Hofmann b8ab0954d2 Bug 1606839 - Use new user activation API for guarding notification permission prompts. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D59342

--HG--
extra : moz-landing-system : lando
2020-01-14 13:49:23 +00:00
Nicolas Silva 5df382fd26 Bug 1609049 - Vendor WebRender bump. r=jrmuizel
Depends on D59841

Differential Revision: https://phabricator.services.mozilla.com/D59842

--HG--
extra : moz-landing-system : lando
2020-01-14 13:07:58 +00:00
Nicolas Silva 40e5306b23 Bug 1609049 - Add required fileds in peek-poke Cargo.toml. r=jrmuizel
Depends on D59840

Differential Revision: https://phabricator.services.mozilla.com/D59841

--HG--
extra : moz-landing-system : lando
2020-01-14 13:07:28 +00:00
Nicolas Silva 33d2c54400 Bug 1609049 - WebRender version bump. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D59840

--HG--
extra : moz-landing-system : lando
2020-01-14 13:07:05 +00:00
Martin Stransky 168ab8579c Bug 1608800 [Wayland] Export GL texture from WaylandDMABufSurface class, r=jhorak
We need GL texture for WebGL backend.

Differential Revision: https://phabricator.services.mozilla.com/D59836

--HG--
extra : moz-landing-system : lando
2020-01-14 13:10:38 +00:00
Martin Stransky 8df4dc66e5 Bug 1608800 [Wayland] Implement DMABUF modifiers, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D59677

--HG--
extra : moz-landing-system : lando
2020-01-14 13:13:51 +00:00
Martin Stransky a3bc93170c Bug 1608800 [Wayland] Refactor dmabuf buffer mapping, r=jhorak
Refactor dmabuf buffer mapping, warn when we're mapping buffer with modifiers.

Differential Revision: https://phabricator.services.mozilla.com/D59676

--HG--
extra : moz-landing-system : lando
2020-01-14 13:13:41 +00:00
Tarek Ziadé dc4e8c242a Bug 1608464 - Stop trying to set --firefox.binaryPath if --android is used r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D59835

--HG--
extra : moz-landing-system : lando
2020-01-14 10:35:38 +00:00
Brian Hackett 7d138d4dfa Bug 1608667 - Don't respawn threads until necessary, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D59609

--HG--
extra : moz-landing-system : lando
2020-01-14 13:40:36 +00:00
Csoregi Natalia 8ee62c60e1 Backed out 3 changesets (bug 1497007) for assertion failures on IDBTransaction.cpp. CLOSED TREE
Backed out changeset 72bc4f39b659 (bug 1497007)
Backed out changeset 99fc4eedacc7 (bug 1497007)
Backed out changeset 787c340dd3d0 (bug 1497007)
2020-01-14 15:22:26 +02:00
ssengupta ce59756fd9 Bug 1499105 - P1 - IDBFileHandle::Read() now throws error and returns nullptr if read size larger than 4GB r=janv,sg
IDBFileHandle::Read() calls CheckStateAndArgumentsForRead(), where the size of data to be read is also checked. If the size is larger than [[ https://www.qnx.com/developers/docs/6.4.1/dinkum_en/c99/stdint.html#INT32_MAX | INT32_MAX ]], JavaScript exception is thrown and Read() returns **nullptr**.

Since a compromised sender could send data of a larger size, size is checked again in FileHandle::VerifyRequestParams().

Please also check: [[ https://phabricator.services.mozilla.com/D59326 | D59326 ]] and [[ https://phabricator.services.mozilla.com/D59515 | D59515 ]].

Differential Revision: https://phabricator.services.mozilla.com/D58961

--HG--
extra : moz-landing-system : lando
2020-01-14 13:01:18 +00:00
Henrik Skupin 6f5212c2c2 Bug 1608370 - [marionette] No startup/shutdown profile written for Marionette based test jobs. r=marionette-reviewers,ato
This forces a safe shutdown of the application after the last
test if the process is still up and running. Because the
testcase class already deleted the session a new one needs
to be created.

A more elegant solution might be possible but would involve
a fair amount of refactoring, which at this point is not
worse our time.

Differential Revision: https://phabricator.services.mozilla.com/D59787

--HG--
extra : moz-landing-system : lando
2020-01-14 12:36:08 +00:00
Jon Coppeard d7492d145d Bug 1291535 - Clear the list of dynamic import requests after cancelling them in ScriptLoader::ParsingComplete as we do for other requests r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59698

--HG--
extra : moz-landing-system : lando
2020-01-14 11:47:21 +00:00
Arthur Iakab 81e789c900 Backed out changeset 83736c0c967d (bug 1604528) for causing devtools failures on browser_accessibility_panel_highlighter_multi_tab.js
CLOSED TREE
2020-01-14 14:44:13 +02:00
emcminn 31bec0b49d Bug 1601880 - Added page orientation param to Snippets preview, plus a test for same r=andreio
The URLSearchParams now has a property "dir", which can be set to "rtl" to preview right-to-left orientation

Differential Revision: https://phabricator.services.mozilla.com/D56984

--HG--
extra : moz-landing-system : lando
2020-01-06 16:09:16 +00:00
Nicolas Chevobbe 86284a357d Bug 1609264 - Don't populate _lastConsoleInputEvaluation when doing an eager evaluation. r=bhackett.
This was messing up with the $_ command.
A webconsole test case is added to ensure this
works as expected now.

Differential Revision: https://phabricator.services.mozilla.com/D59990

--HG--
extra : moz-landing-system : lando
2020-01-15 13:30:40 +00:00
Brian Hackett dd51441012 Bug 1590766 - Use transitive parent's window in nsIWorkerDebugger.window, r=asuth.
Differential Revision: https://phabricator.services.mozilla.com/D59638

--HG--
extra : moz-landing-system : lando
2020-01-15 13:40:47 +00:00
Emilio Cobos Álvarez 077183556a Bug 1561900 - Fix scroll state restoration when not coming from the bfcache on the initial frame construction. r=bzbarsky
There is no way this ever properly worked, as we always passed null for
`aFrameState`.

So it'd only work if we reframed the document element or such...  Which is not
amazing.

For simpler test-cases, when we don't construct the scrollframe via
PresShell::Initialize, but via the regular frame constructor updates
(ContentAppended, etc...), those end up working because we go through lazy frame
construction, which ends up in RecreateFramesForContent, which passes
mTempFrameTreeState.

Differential Revision: https://phabricator.services.mozilla.com/D59569

--HG--
extra : moz-landing-system : lando
2020-01-15 13:18:52 +00:00