Tooru Fujisawa
328d63ce7f
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Andreea Pavel
f009ba2983
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
bf0a8b781b
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
b10d0289af
Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
...
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Tooru Fujisawa
bf9248c6a6
Bug 1772100 - Part 16: Use plain object for lazy getter in browser/components/sessionstore/. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D148026
2022-06-06 22:46:25 +00:00
Kashav Madan
fd8c06b448
Bug 1706445 - Stop loading content-sessionStore.js for SHIP, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D116147
2021-06-01 20:06:47 +00:00
Anny Gakhokidze
f97d657a0f
Bug 1703326 - Stop relying on ContentSessionStore for SessionStore:crashedTabRevived, r=kashav
...
Differential Revision: https://phabricator.services.mozilla.com/D113425
2021-05-12 19:33:47 +00:00
Kashav Madan
3bfc3cb594
Bug 1702055 - Move the "restore DocShell state" process out of ContentSessionStore, r=nika
...
This also makes it so that we will never fire SSTabRestored without first having
sent the associated SSTabRestoring event.
Differential Revision: https://phabricator.services.mozilla.com/D110335
2021-05-03 18:16:41 +00:00
Butkovits Atila
80c415a4fc
Backed out 4 changesets (bug 1702055) for causing failures on /browser_UsageTelemetry_private_and_restore.js. CLOSED TREE
...
Backed out changeset af21e2d8324e (bug 1702055)
Backed out changeset ff67df9befe5 (bug 1702055)
Backed out changeset b5f0638dcbc4 (bug 1702055)
Backed out changeset bffaa2c203b3 (bug 1702055)
2021-04-28 04:42:09 +03:00
Kashav Madan
5032f65750
Bug 1702055 - Move the "restore DocShell state" process out of ContentSessionStore.jsm, r=nika
...
This also makes it so that we will never fire SSTabRestored without first having
sent the associated SSTabRestoring event.
Differential Revision: https://phabricator.services.mozilla.com/D110335
2021-04-27 19:54:57 +00:00
Kashav Madan
e520e16620
Bug 1700963 - Stop relying on the "SessionStore:addSHistoryListener" message, r=nika
...
We now create the listener after receiving a "browsing-context-did-set-embedder"
and destroy it after receiving "browsing-context-discarded".
Differential Revision: https://phabricator.services.mozilla.com/D110337
2021-04-14 23:36:10 +00:00
Dorel Luca
2cbd35f354
Backed out 3 changesets (bug 1700963) for Browser-chrome failures in docshell/test/browser/browser_bug1309900_crossProcessHistoryNavigation.js. CLOSED TREE
...
Backed out changeset cda35e554327 (bug 1700963)
Backed out changeset fbafd75b06d3 (bug 1700963)
Backed out changeset 8b922e4f612b (bug 1700963)
2021-04-14 23:26:05 +03:00
Kashav Madan
e672ad7710
Bug 1700963 - Stop relying on the "SessionStore:addSHistoryListener" message, r=nika
...
We now create the listener after receiving a "browsing-context-did-set-embedder"
and destroy it after receiving "browsing-context-discarded".
Differential Revision: https://phabricator.services.mozilla.com/D110337
2021-04-14 18:53:06 +00:00
Kashav Madan
b912b90222
Bug 1597499 - Make Session Restore work in Fission, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D107883
2021-03-23 18:01:21 +00:00
smolnar
ede838631a
Backed out 4 changesets (bug 1597499) for causing Fission crashes (bug 1699349). a=backout
...
Backed out changeset 0df7b8660446 (bug 1597499)
Backed out changeset d015ba9097c5 (bug 1597499)
Backed out changeset e84054ccadb0 (bug 1597499)
Backed out changeset 12762a25c4fa (bug 1597499)
2021-03-18 11:29:08 +02:00
Kashav Madan
ad57811557
Bug 1597499 - Make Session Restore work in Fission, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D107883
2021-03-17 16:43:05 +00:00
Mark Banner
3475182904
Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (application changes). r=geckoview-reviewers,Gijs,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D104684
2021-02-11 22:02:15 +00:00
Randell Jesup
0971b4bc82
Bug 1673617 - Refactor how session restore works with SHIP, r=nika
...
With mods from kashav's last Try run
Differential Revision: https://phabricator.services.mozilla.com/D99461
2021-02-01 22:57:14 +00:00
Mark Banner
8a9fc4165b
Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Brindusan Cristian
201069fdac
Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
...
Backed out changeset 638c802ca1d1 (bug 1687235 )
Backed out changeset ec830b771bce (bug 1687235 )
Backed out changeset a7c933ddecfd (bug 1687235 )
Backed out changeset c36493fb0599 (bug 1687235 )
Backed out changeset 6eb33ad5d460 (bug 1687235 )
2021-01-26 10:58:43 +02:00
Mark Banner
36cf48f89d
Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-25 22:27:19 +00:00
Butkovits Atila
376e3f9b7d
Backed out 3 changesets (bug 1673617) for causing failure on browser_child_resource.js. CLOSED TREE
...
Backed out changeset 2a0dd70342ce (bug 1673617)
Backed out changeset 6fa47045b11b (bug 1673617)
Backed out changeset d230e44fd9be (bug 1673617)
2021-01-23 04:40:22 +02:00
Randell Jesup
ef24e5a285
Bug 1673617 - Refactor how session restore works with SHIP, r=nika
...
With mods from kashav's last Try run
Differential Revision: https://phabricator.services.mozilla.com/D99461
2021-01-22 22:01:39 +00:00
Dorel Luca
ad68c55baa
Backed out 3 changesets (bug 1673617) for Browser-chrome failures in docshell/test/browser/browser_bug1347823.js. CLOSED TREE
...
Backed out changeset f0ea749647d3 (bug 1673617)
Backed out changeset 533092a71225 (bug 1673617)
Backed out changeset 3ce0d9f55436 (bug 1673617)
2021-01-19 21:00:03 +02:00
Randell Jesup
fb8153a8f2
Bug 1673617 - Refactor how session restore works with SHIP, r=nika
...
With mods from kashav's last Try run
Differential Revision: https://phabricator.services.mozilla.com/D99461
2021-01-19 17:21:34 +00:00
Olli Pettay
517a59e62b
Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D91462
2020-09-28 12:01:12 +00:00
Andreas Farre
4589444b55
Bug 1662410 - Part 1: Fix usage of ChildSHistory.legacySHistory . r=peterv
...
ChildSHistory.legacySHistory isn't valid for content processes when
session history in the parent is enabled. We try to fix this by either
delegating to the parent by IPC or move the implementation partially
or as a whole to the parent.
Differential Revision: https://phabricator.services.mozilla.com/D89353
2020-09-16 14:51:01 +00:00
Kris Maglione
9bddbcfdd1
Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Johann Hofmann
fb76d2ce00
Bug 1515073 - Part 3 - Add support for skipping session entries without user interaction on desktop. r=JanH,Gijs
...
Depends on D27586
Differential Revision: https://phabricator.services.mozilla.com/D27587
2020-06-09 14:50:18 +00:00
Mike Conley
8ecc453e26
Bug 1630234 - Manually persist layout history state when process flipping. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D72399
2020-04-29 13:38:47 +00:00
Alphan Chen
d2fad2ba06
Bug 1623934 - Move SessionHistoryListener back to ConteneSessionStore.jsm r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D68354
2020-03-27 12:34:37 +00:00
Alphan Chen
fbf3532114
Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D46281
2020-03-19 14:31:52 +00:00
Noemi Erli
24dfe6678b
Backed out changeset 4c6b9209306d (bug 1507287) for causing geckoview failures CLOSED TREE
2020-03-16 23:23:09 +02:00
Alphan Chen
afa243f82c
Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D46281
2020-03-16 18:33:32 +00:00
Daniel Varga
1f76c49b49
Backed out changeset e51b4e883adc (bug 1507287) for not having proper review
2020-03-03 18:23:07 +02:00
Alphan Chen
4a2e26cab8
Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D46281
2020-03-03 16:16:03 +00:00
Alphan Chen
563e577877
Bug 1549975 - Implement SessionStorageListener for contentSessionStore in C++ r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D36493
2019-08-27 14:47:27 +00:00
Alphan Chen
3a6ea69b47
Bug 1544371 - Implement FormDataListener for contentSessionStore in C++ r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D30078
2019-08-02 14:19:00 +00:00
Victor Porof
8eb72fd3fc
Bug 1561435 - Format browser/components/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Julien Cristau
4a684d4c82
Bug 1536465 - remove expiring FX_TAB_REMOTE_NAVIGATION_DELAY_MS telemetry probe. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D27328
2019-05-20 11:57:42 +02:00
Alphan Chen
1d60c9f374
Bug 1474130 - Implement ScrollPosition/Privacy/DocCapability listeners in C++ r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D23057
2019-05-04 10:42:52 +00:00
Peter Van der Beken
cd80fed289
Bug 1534638 - Part 1: remove unused arguments from session history listeners. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D25761
2019-04-04 16:18:48 +00:00
Alphan Chen
a73a311ee9
Bug 1497147 - Rewrite "mapFrameTree" implementation to C++ r=peterv
...
Get rid of mapFrameTree() implementation
Differential Revision: https://phabricator.services.mozilla.com/D17149
2019-02-28 13:09:54 +00:00
Alphan Chen
947b85d05a
Bug 1507286 - Convert content-sessionStore.jsm to C++ r=mikedeboer,nika
...
Test Plani: browser/components/sessionstore/test/
Differential Revision: https://phabricator.services.mozilla.com/D15845
2019-01-28 14:53:18 +00:00
Ciure Andrei
48247b5ddd
Backed out 2 changesets (bug 1507286, bug 1497146) for causing multiple crashes in nsFocusManager::GetRedirectedFocus a=backout
...
Backed out changeset 0509a9edc58a (bug 1507286)
Backed out changeset 21ad3aeb636f (bug 1497146)
2019-01-26 15:09:03 +02:00
Alphan Chen
e6c474ef66
Bug 1507286 - Convert content-sessionStore.jsm to C++ r=mikedeboer,nika
...
Test Plani: browser/components/sessionstore/test/
Differential Revision: https://phabricator.services.mozilla.com/D15845
2019-01-25 13:14:28 +00:00
Johann Hofmann
65314d413a
Bug 1483440 - Part 2 - Don't use purge-domain-data to clear session history for a domain. r=mikedeboer,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D16461
2019-01-17 17:41:23 +00:00
Alphan Chen
01ec4d79a0
Bug 1497146 part 2 - Convert FormData.jsm to C++ [collect() part] r=nika,peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D12112
2019-01-17 14:56:51 +00:00
Alphan Chen
4590ea2602
Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
...
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service
Differential Revision: https://phabricator.services.mozilla.com/D9776
2019-01-17 14:58:31 +00:00
Jan Henning
d561bbf114
Bug 1498812 - Part 9: Switch session store/session history to use visual viewport for scroll position tracking. r=mikedeboer,snorp
...
For simplicity's sake, for now we keep storing only one scroll position per
history entry (bug 1499210), so if we have to choose between the layout and the
visual viewport, the latter is a vastly better choice, as it more accurately
represents the scroll position as perceived by the user, especially when the
page has been pinch-zoomed.
This also means that instead of the normal scroll events, the session store now
has to listen for the corresponding events specific to the visual viewport.
We also extend the scroll position test to check that the scroll position isn't
just properly saved, but also actually properly restored in practice as well.
We only add this test now instead of already adding it beforehand like we did
with the rest of the test
- to avoid having to temporarily extend the checkScroll() helper function to
deal with todo()/todo_is etc.
- because getting that part of the test to complete without timing out (which
would be one of its natural failure modes, because the expected events would
be missing) would require faking even more scroll events
- because we already have the todo() tests that are telling us the we didn't
*store* any scroll position in the first place, so there's no point in trying
to actually restore anything
For the GeckoView saveAndRestoreState test, we now spin the event loop once
before setting the scroll position in order to give APZ opportunity to settle
down after the initial page load.
Differential Revision: https://phabricator.services.mozilla.com/D15690
2019-01-11 19:50:09 +00:00