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
Cosmin Sabou
6c1e9b4231
Backed out changeset dbea03a5c55e (bug 1497146) for bmsvc bustages on SessionStoreUtils.
...
SessionStoreUtils
2019-01-04 19:37:37 +02:00
Alphan Chen
28b710343c
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-04 16:26:13 +00:00
Kris Maglione
2fe938bed2
Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D9888
2018-10-25 19:04:01 -07:00
arthur.iakab
60aefe8252
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
937d3bc224
Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D9888
2018-10-25 19:04:01 -07:00
arthur.iakab
0b02a4f71d
Backed out 2 changesets (bug 1482091)for failing browser chrome failures on browser_panelUINotifications_fullscreen_noAutoHideToolbar.js
...
Backed out changeset afd0a13bcfff (bug 1482091)
Backed out changeset a19c6b3e0402 (bug 1482091)
2018-11-02 23:01:15 +02:00
Kris Maglione
31d1c1a1da
Bug 1482091: Part 2 - Remove TelemetryStopwatch.jsm in favor of native implementation. r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D9888
2018-10-25 19:04:01 -07:00
Alphan Chen
d1e58d4225
Bug 1497144 - Rewrite DocShellCapabilities.jsm and ScrollPosition.jsm into C++ r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D8083
2018-10-23 08:15:56 +00:00
Nicholas Nethercote
f792b79c44
Bug 1490158 Remove On{Length,Index}Changed from nsISHistoryListener. r=nika
...
They're never used.
2018-09-07 10:27:05 +10:00
Nicholas Nethercote
7019398c81
Bug 1490158 - Minimize cancelability in nsISHistoryListener. r=nika
...
nsISHistoryListener can cancel several operations, but the functionality is
only ever used for OnHistoryReload(). So this patch removes it for the other
operations.
2018-09-06 16:51:58 +10:00
Mike Conley
6ce86da04c
Bug 1480951 - Make SessionStore respect sessionStorage.clear(). r=mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D5066
2018-09-05 14:52:00 -04:00
Nicholas Nethercote
548a48d45f
Bug 1487328 - Remove nsISHistoryListener.OnHistoryGo{Back,Forward}. r=nika
...
As per the previous commit, they are now subsumed by OnHistoryGotoIndex.
2018-09-03 09:27:37 +10:00
Mark Banner
462116b7f9
Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
...
Automatic changes by ESLint, except for manual corrections for .xml files.
Differential Revision: https://phabricator.services.mozilla.com/D4439
2018-08-31 05:59:17 +00:00
Boris Zbarsky
e98236cf07
Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs
2018-07-24 19:47:41 -04:00
Kris Maglione
5df1a30471
Bug 1474139: Part 2 - Move content-sessionStore to a separate JSM. r=mikedeboer
...
MozReview-Commit-ID: 5weG4B4V1PY
2018-07-07 16:42:28 -07:00