Kashav Madan
1209d70a99
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
ac0b761aa0
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
dc647a1e8e
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
2819d98182
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
83dc1e6602
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
11d0a0688c
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
b15d7d893e
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
720c0ebac8
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
5dc7379641
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
200bfc652c
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
83da101af6
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
3ef6acac59
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
013e325e7d
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
c4afa9e9ad
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
70ab748bed
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
c793c1efb7
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
2ec71c47a0
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
720e0e4fb0
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
99d680ea83
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
24dc998d6e
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
97778cf44a
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
f9f96d23ca
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
9d78661f88
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
2f56a8a52d
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
6b7012c4b1
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
4634499277
Bug 1623934 - Move SessionHistoryListener back to ConteneSessionStore.jsm r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D68354
--HG--
extra : moz-landing-system : lando
2020-03-27 12:34:37 +00:00
Alphan Chen
cb65e20cb3
Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D46281
--HG--
extra : moz-landing-system : lando
2020-03-19 14:31:52 +00:00
Noemi Erli
744bc34135
Backed out changeset 4c6b9209306d (bug 1507287) for causing geckoview failures CLOSED TREE
2020-03-16 23:23:09 +02:00
Alphan Chen
a9d46bba49
Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D46281
--HG--
extra : moz-landing-system : lando
2020-03-16 18:33:32 +00:00
Daniel Varga
8d900cf3ef
Backed out changeset e51b4e883adc (bug 1507287) for not having proper review
2020-03-03 18:23:07 +02:00
Alphan Chen
9ead74bd10
Bug 1507287 - Make sessionRestore work with session history living in the parent process. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D46281
--HG--
extra : moz-landing-system : lando
2020-03-03 16:16:03 +00:00
Alphan Chen
9fceaaa7ff
Bug 1549975 - Implement SessionStorageListener for contentSessionStore in C++ r=peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D36493
--HG--
extra : moz-landing-system : lando
2019-08-27 14:47:27 +00:00
Alphan Chen
efa34c0a06
Bug 1544371 - Implement FormDataListener for contentSessionStore in C++ r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D30078
--HG--
extra : moz-landing-system : lando
2019-08-02 14:19:00 +00:00
Victor Porof
1f830c96da
Bug 1561435 - Format browser/components/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36042
--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +02:00
Julien Cristau
1c6fe6b8d4
Bug 1536465 - remove expiring FX_TAB_REMOTE_NAVIGATION_DELAY_MS telemetry probe. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D27328
--HG--
extra : rebase_source : 2f8c9ad952dfe9f5772709723a4fdfe0411083ee
2019-05-20 11:57:42 +02:00
Alphan Chen
d12fbd8633
Bug 1474130 - Implement ScrollPosition/Privacy/DocCapability listeners in C++ r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D23057
--HG--
extra : moz-landing-system : lando
2019-05-04 10:42:52 +00:00
Peter Van der Beken
023a72eb9b
Bug 1534638 - Part 1: remove unused arguments from session history listeners. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D25761
--HG--
extra : moz-landing-system : lando
2019-04-04 16:18:48 +00:00
Alphan Chen
6d33e62c06
Bug 1497147 - Rewrite "mapFrameTree" implementation to C++ r=peterv
...
Get rid of mapFrameTree() implementation
Differential Revision: https://phabricator.services.mozilla.com/D17149
--HG--
extra : moz-landing-system : lando
2019-02-28 13:09:54 +00:00
Alphan Chen
5c9b573069
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
--HG--
extra : moz-landing-system : lando
2019-01-28 14:53:18 +00:00
Ciure Andrei
849dbde8e4
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
288d9d4baa
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
--HG--
extra : moz-landing-system : lando
2019-01-25 13:14:28 +00:00
Johann Hofmann
69b829d9b9
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
--HG--
extra : moz-landing-system : lando
2019-01-17 17:41:23 +00:00
Alphan Chen
58400124a1
Bug 1497146 part 2 - Convert FormData.jsm to C++ [collect() part] r=nika,peterv,mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D12112
--HG--
extra : moz-landing-system : lando
2019-01-17 14:56:51 +00:00
Alphan Chen
5d28867416
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
--HG--
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-17 14:58:31 +00:00
Jan Henning
70dd21256f
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
--HG--
extra : moz-landing-system : lando
2019-01-11 19:50:09 +00:00
Cosmin Sabou
3de3011707
Backed out changeset dbea03a5c55e (bug 1497146) for bmsvc bustages on SessionStoreUtils.
...
SessionStoreUtils
--HG--
rename : dom/chrome-webidl/SessionStoreUtils.webidl => toolkit/components/sessionstore/nsISessionStoreUtils.idl
rename : toolkit/components/sessionstore/SessionStoreUtils.cpp => toolkit/components/sessionstore/nsSessionStoreUtils.cpp
2019-01-04 19:37:37 +02:00
Alphan Chen
15328d9c7b
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
--HG--
rename : toolkit/components/sessionstore/nsISessionStoreUtils.idl => dom/chrome-webidl/SessionStoreUtils.webidl
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-04 16:26:13 +00:00
Kris Maglione
ade8c9ede8
Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D9888
--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : 501bca3f94a0cb0c8bec1f30d0b3f64a50b04e48
extra : intermediate-source : bc03f101937e373fdaca735f3f356960a5239bc0
2018-10-25 19:04:01 -07:00
arthur.iakab
0c81738411
Backed out 2 changesets (bug 1482091) for bc failures on browser_domFullscreen_fullscreenMode.js
...
Backed out changeset bc03f101937e (bug 1482091)
Backed out changeset 28a19b7290ab (bug 1482091)
2018-11-03 01:08:36 +02:00
Kris Maglione
7fa01216a4
Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D9888
--HG--
extra : source : afd0a13bcfff4c92ad2497ec687f466484481667
extra : amend_source : bf22d8e9ce5c081902bd5c75b892cc434a167300
2018-10-25 19:04:01 -07:00