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

1483 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 08a972cffb Bug 1702678: Handle corner case when opener window is closed from a nested event loop during open. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D111179
2021-05-07 03:00:13 +00:00
Sandor Molnar 6e3ee2f845 Backed out changeset 761fdc9f84d2 (bug 1702678) for causing assertion failures in windowwatcher/nsWindowWatcher. CLOSED TREE 2021-05-07 05:31:41 +03:00
Kris Maglione 366e008540 Bug 1696473: End subframe loads for initial about:blank document on request error. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D112289
2021-05-07 01:39:45 +00:00
Kris Maglione a66c7d06cb Bug 1702678: Handle corner case when opener window is closed from a nested event loop during open. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D111179
2021-05-07 01:25:32 +00:00
Dorel Luca d7fb1f865f Backed out changeset 0672855335bc (bug 1702678) for Mochitest failures in toolkit/components/windowwatcher/nsWindowWatcher.cpp. CLOSED TREE 2021-05-05 02:01:05 +03:00
Narcis Beleuzu fc252d1f69 Backed out changeset 5b15696335bd (bug 1696473) for xpcshell failures on test_subframe_stop_after_parent_error.js . CLOSED TREE 2021-05-05 01:12:48 +03:00
Kris Maglione c40721b2ea Bug 1696473: End subframe loads for initial about:blank document on request error. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D112289
2021-05-04 21:19:51 +00:00
Kris Maglione 314594a5ea Bug 1702678: Handle corner case when opener window is closed from a nested event loop during open. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D111179
2021-05-04 21:19:22 +00:00
Daisuke Akatsuka 3e591d051a Bug 1580881: Make consecutive dots to single.r=adw,mak
Differential Revision: https://phabricator.services.mozilla.com/D111350
2021-04-29 21:13:00 +00:00
Olli Pettay ce456233be Bug 1706090 - Only allow unload event listeners in bfcache when doing cross-site navigation, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D112621
2021-04-27 23:30:17 +00:00
Joel Maher 39acafe01e Bug 1704636 - run many windows 7-32 tests on windows10x64 via wow64. r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112372
2021-04-27 12:44:19 +00:00
Alexandru Michis 0e762fb5f0 Backed out changeset 4736b477e8cf (bug 1704636) for causing multiple wpt failures.
CLOSED TREE
2021-04-26 19:50:05 +03:00
Joel Maher 1bab60f4c0 Bug 1704636 - run many windows 7-32 tests on windows10x64 via wow64. r=ahal,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112372
2021-04-26 14:43:31 +00:00
Olli Pettay 9b7e635703 Bug 1705489 - update docshell/test/browser/browser_bug1328501.js to pass on Fission+BFCache, r=peterv
The test is using a framescript to have an observer for "http-on-opening-request".
That is used for the actual testpage but we need to prevent the next page to enter bfcache, so that
when going back from the session history frameloader isn't changed.
So in this case disabling bfcache should be fine.

Differential Revision: https://phabricator.services.mozilla.com/D112245
2021-04-20 11:33:16 +00:00
Masatoshi Kimura b09353a135 Bug 1234520 - Re-enable test_bug344861.html, test_bug369370.html, test_bug741266.html on Windows. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D112471
2021-04-19 23:01:39 +00:00
Peter Van der Beken f296f5bb9a Bug 1696158 - Move CanSavePresentation to the parent process. Make nsDocShell listen for background requests too. r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112201
2021-04-19 14:50:57 +00:00
Peter Van der Beken cecda3f1ca Bug 1696158 - Move CanSavePresentation to the parent process. Add test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D110235
2021-04-19 14:50:56 +00:00
smolnar 84a0543987 Backed out 8 changesets (bug 1696158) for causing multiple failures. CLOSED TREE
Backed out changeset 09c598c8fd29 (bug 1696158)
Backed out changeset 02f956c26901 (bug 1696158)
Backed out changeset b61a3a324cce (bug 1696158)
Backed out changeset 95810ed7f1e5 (bug 1696158)
Backed out changeset 4f93a7b61496 (bug 1696158)
Backed out changeset c80c55b56f2a (bug 1696158)
Backed out changeset 11627c409882 (bug 1696158)
Backed out changeset b98b4316a510 (bug 1696158)
2021-04-19 17:04:08 +03:00
Peter Van der Beken 3d4ba1d105 Bug 1696158 - Move CanSavePresentation to the parent process. Make nsDocShell listen for background requests too. r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112201
2021-04-19 12:39:21 +00:00
Peter Van der Beken f594601d76 Bug 1696158 - Move CanSavePresentation to the parent process. Add test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D110235
2021-04-19 12:39:21 +00:00
Olli Pettay 7decb1d196 Bug 1676181 - Fix docshell/test/browser/browser_browsingContext-01.js for Fission, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D111442
2021-04-15 13:54:12 +00:00
Mike Conley cb50d40885 Bug 1686315 - Fix up the last few tests to pass with content prompt subdialogs enabled or disabled. r=Gijs
Critically, this makes sure SubDialog.abort calls SubDialog.close even if its contents haven't finished
loading. This prevents a shutdown leak.

Differential Revision: https://phabricator.services.mozilla.com/D111736
2021-04-13 15:51:49 +00:00
Mike Conley b29a236f04 Bug 1686315 - Fix up more tests to pass with content prompt subdialogs enabled or disabled. r=Gijs
Batch 2 of 2.

Differential Revision: https://phabricator.services.mozilla.com/D110483
2021-04-13 15:51:48 +00:00
Mike Conley 599de83389 Bug 1686315 - Fix up some tests to pass with content prompt subdialogs enabled or disabled. r=Gijs
Batch 1 of 2.

Differential Revision: https://phabricator.services.mozilla.com/D110342
2021-04-13 15:51:48 +00:00
Daisuke Akatsuka 316a92df5e Bug 1693503: Do search if the format inputed is user@host but might be intented as keyword. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D106748
2021-04-02 10:05:37 +00:00
Nika Layzell 79ad077a6a Bug 1699721 - Part 3: Add test for switching back into unloading process, r=kmag
This was somewhat convoluted to get to both reliably reproduce and not timeout
after the fixes were applied. The test can't run without Fission, as it
requires a process switch to occur on the navigation to/from
http://example.com.

Without part 2 of this patch stack, this test will crash after the process
switch.

Differential Revision: https://phabricator.services.mozilla.com/D110003
2021-03-31 16:51:59 +00:00
Andreea Pavel 35eeef915f Backed out 3 changesets (bug 1699721) for failing test_bug1699721.html on a CLOSED TREE
Backed out changeset ed3feb801017 (bug 1699721)
Backed out changeset d6f212c67002 (bug 1699721)
Backed out changeset ef06d9764cf1 (bug 1699721)
2021-03-31 19:27:34 +03:00
Nika Layzell f65b0188c7 Bug 1699721 - Part 3: Add test for switching back into unloading process, r=kmag
This was somewhat convoluted to get to both reliably reproduce and not timeout
after the fixes were applied. The test can't run without Fission, as it
requires a process switch to occur on the navigation to/from
http://example.com.

Without part 2 of this patch stack, this test will crash after the process
switch.

Differential Revision: https://phabricator.services.mozilla.com/D110003
2021-03-31 15:37:49 +00:00
Olli Pettay 1c8586cc51 Bug 1689683 - Ensure docshell/test/mochitest/test_bug590573.html works with SHIP-BFCache, r=annyG
Better to use requestAnimationFrame to ensure the scrolling actually has occurred after popstate.

Differential Revision: https://phabricator.services.mozilla.com/D109975
2021-03-31 13:17:21 +00:00
Cosmin Sabou 128f4975a7 Backed out changeset 8df311a9bec0 (bug 1689683) for causing Bug 1701959. 2021-03-30 18:45:19 +03:00
Olli Pettay 07ba2fd435 Bug 1689686 - Ensure docshell/test/navigation/test_bug1326251.html works with SHIP-BFCache, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D109945
2021-03-30 09:27:04 +00:00
Olli Pettay 0c43e7ec41 Bug 1689663 - Don't try to run docshell/test/navigation/test_bug1364364.html with SHIP-BFCache, r=peterv
I think this particular test doesn't make much sense in the new implementation.

Differential Revision: https://phabricator.services.mozilla.com/D109961
2021-03-30 09:25:41 +00:00
Olli Pettay 8f15f68443 Bug 1689669 - Ensure docshell/test/mochitest/test_bug1121701.html works with SHIP-BFCache, r=peterv
Depends on D109146

Differential Revision: https://phabricator.services.mozilla.com/D109886
2021-03-30 09:24:45 +00:00
Olli Pettay 1e523ef169 Bug 1699534 - Ensure beforeunload is called when the next page is coming from bfcache, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D109146
2021-03-30 09:24:45 +00:00
Olli Pettay 2fab9ccddd Bug 1689683 - Ensure docshell/test/mochitest/test_bug590573.html works with SHIP-BFCache, r=annyG
Depends on D109756

Differential Revision: https://phabricator.services.mozilla.com/D109975
2021-03-29 14:38:18 +00:00
Olli Pettay cc185f2b74 Bug 1689685 - Ensure docshell/test/navigation/test_scrollRestoration.html works with SHIP-BFCache, r=peterv
Similarly to the old session history implementation, scroll position needs to be stored in HandleSameDocumentNavigation.
The relevant old implementation is couple of lines above the new code in nsDocShell.

Differential Revision: https://phabricator.services.mozilla.com/D109756
2021-03-29 14:38:18 +00:00
Olli Pettay 39c56ee58a Bug 1689684 - Ensure docshell/test/browser/browser_bug1347823.js works with SHIP-BFCache, r=peterv
Depends on D109312

Differential Revision: https://phabricator.services.mozilla.com/D109313
2021-03-26 19:15:02 +00:00
Olli Pettay 7da30119f6 Bug 1689664 - Ensure docshell/test/navigation/test_performance_navigation.html works with SHIP-BFCache, r=peterv
This is similar pref enabling as what landed to couple of other tests already
https://searchfox.org/mozilla-central/search?q=%2F%2F+If+Fission+is+disabled%2C+the+pref+is+no-op.&path=

Differential Revision: https://phabricator.services.mozilla.com/D109312
2021-03-26 19:15:01 +00:00
Bogdan Tara b1afbfca15 Backed out 2 changesets (bug 1689684, bug 1689664) for assertion failure at nsSHistory.cpp on fission CLOSED TREE
Backed out changeset 506586ec7b20 (bug 1689684)
Backed out changeset f7c03240d0cc (bug 1689664)
2021-03-25 19:34:47 +02:00
Olli Pettay 88fe366ee5 Bug 1689684 - Ensure docshell/test/browser/browser_bug1347823.js works with SHIP-BFCache, r=peterv
Depends on D109312

Differential Revision: https://phabricator.services.mozilla.com/D109313
2021-03-25 16:40:50 +00:00
Olli Pettay 7188660617 Bug 1689664 - Ensure docshell/test/navigation/test_performance_navigation.html works with SHIP-BFCache, r=peterv
This is similar pref enabling as what landed to couple of other tests already
https://searchfox.org/mozilla-central/search?q=%2F%2F+If+Fission+is+disabled%2C+the+pref+is+no-op.&path=

Differential Revision: https://phabricator.services.mozilla.com/D109312
2021-03-25 16:40:50 +00:00
Olli Pettay 67eda3a866 Bug 1697838, explictly evict bfcache when doing a frameloader swap r=peterv
This is in practice the behavior already, because swap is really a move and removing the old tab, and
when removing the other tab, the bfcached frameloaders are destroyed. But they stay still in the session history.
So this patch clears session history explicitly.

As long as we have message managers, we can't really support bfcache in this case, since we can't swap message managers,
there are no corresponding managers on the other side.
Message managers need to stay always in the original window, since the listeners are from there.

WindowActors do move with frameloader/browsingcontext, but that leads easily to memory leaks.
https://bugzilla.mozilla.org/show_bug.cgi?id=1697918 is about that and it has nothing to do with bfcache.

Differential Revision: https://phabricator.services.mozilla.com/D108273
2021-03-24 18:57:14 +00:00
Henri Sivonen b98488aa92 Bug 673087 - Honor encoding declared via XML declaration in text/html. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D107806
2021-03-23 09:52:04 +00:00
Olli Pettay dc39236b97 Bug 1699484 - Support Timer based bfcache eviction, r=peterv
The patch makes HistoryTracker rely on SHEntrySharedParentState instead of nsSHEntryShared.
nsSHEntryShared already extends SHEntrySharedParentState.

The test was modified a tiny bit to make it easier to see the results. The test does pass
with SHIP+BFCache.

Depends on D108851

Differential Revision: https://phabricator.services.mozilla.com/D108984
2021-03-21 21:46:26 +00:00
Olli Pettay b535d5b970 Bug 1698663 - Make Document::RemoveFromBFCacheSync() work with SHIP+BFCache, r=peterv
Depends on D108487

Differential Revision: https://phabricator.services.mozilla.com/D108851
2021-03-21 21:46:25 +00:00
Olli Pettay dd5347ded5 Bug 1698549 - Call FireDelayedDOMEvents when restoring a bfcached page, r=peterv
The test isn't testing anything mApplicationCache related, since appcache is basically
no-op code.

Depends on D107930

Differential Revision: https://phabricator.services.mozilla.com/D108487
2021-03-21 21:46:25 +00:00
Olli Pettay dc0a4c5e6c Bug 1697564 - Suspend/resume refresh URI list when bfcache lives in the parent process, r=peterv
The old setup is a tad fragile since it relies on Stop to happen at a particular moment.

The name RefreshURIToQueue is just trying to be consistent with RefreshURIFromQueue

Differential Revision: https://phabricator.services.mozilla.com/D107930
2021-03-21 21:46:25 +00:00
Olli Pettay 562c3c69fc Bug 1689681 - Ensure docshell/test/navigation/browser_test_bfcache_eviction.js works with SHIP-BFCache r=nika
Depends on D109217

Differential Revision: https://phabricator.services.mozilla.com/D109218
2021-03-21 19:40:50 +00:00
Olli Pettay 9ab5459e29 Bug 1699941 - Ensure docshell/test/navigation/test_bug1379762.html works with SHIP-BFCache r=nika
Depends on D109216

Differential Revision: https://phabricator.services.mozilla.com/D109217
2021-03-21 19:40:50 +00:00
Olli Pettay b4643136c9 Bug 1689672 - Ensure docshell/test/mochitest/test_bug660404.html works with SHIP-BFCache r=nika
Depends on D109212

Differential Revision: https://phabricator.services.mozilla.com/D109213
2021-03-21 19:40:48 +00:00