ankur
0b7d4e68ba
Bug 1695253 - Replaced DTD/xhtml1-strict.dtd which lead to broken network loads. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D109379
2021-03-24 16:52:06 +00:00
Anny Gakhokidze
af797a1153
Bug 1698104 - Fix session restore for about:reader, r=nika,kashav
...
Implement an observer to wait for correct window events in order to restore tab
content. Non-SHIP code restores about:reader scroll position after receiving
"AboutReaderContentReady" event, so to achieve the same thing with session
history in parent enabled, we can wait for "AboutReader:Ready" event.
Differential Revision: https://phabricator.services.mozilla.com/D108712
2021-03-23 18:01:23 +00:00
Kashav Madan
86731a9e7f
Bug 1597499 - Enable some sessionstore Fission/SHIP tests, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D108693
2021-03-23 18:01:22 +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
Florian Quèze
ad3686bdc1
Bug 1689570 - browser/components/sessionstore/test/browser_590563.js should not rely on an implicit timer from waitForCondition, r=Gijs.
...
Depends on D108017
Differential Revision: https://phabricator.services.mozilla.com/D108018
2021-03-17 17:39:33 +00:00
Kashav Madan
18a73aabff
Bug 1597499 - Enable some sessionstore Fission/SHIP tests, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D108693
2021-03-17 16:43:05 +00: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
Paul Bone
b1e1ee5aed
Bug 1697738 - Some refactoring in SessionStore.jsm r=nika
...
* Remove lastKnownURI from SHistoryListener
* Remove some dead code
* Move some code out of a condition
Differential Revision: https://phabricator.services.mozilla.com/D107974
2021-03-15 02:08:41 +00:00
Paul Bone
bb4e53396b
Bug 1691135 - pt 1. SHistoryListeners track browser ID as it is constant r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D106841
2021-03-12 01:16:15 +00:00
Kagami Sascha Rosylight
b2e70ed01b
Bug 1697253 - Hide VisualViewport interface behind the existing pref r=edgar
...
Bug 1357785 accidentally omitted the flag on the interface itself. This patch makes thing consistent to prevent potential confusion in feature detection.
Differential Revision: https://phabricator.services.mozilla.com/D107742
2021-03-11 20:51:51 +00:00
Dorel Luca
d87de7d014
Backed out changeset e780bd8fa66a (bug 1697253) for Mochitest failures in dom/base/test/test_domwindowutils.html. CLOSED TREE
2021-03-11 01:24:46 +02:00
Kagami Sascha Rosylight
cd5a6a8a43
Bug 1697253 - Hide VisualViewport interface behind the existing pref r=edgar
...
Bug 1357785 accidentally omitted the flag on the interface itself. This patch makes thing consistent to prevent potential confusion in feature detection.
Differential Revision: https://phabricator.services.mozilla.com/D107742
2021-03-10 21:20:30 +00:00
Anny Gakhokidze
c52cdbd749
Bug 1692501 - Fix timing issues when reopening all closed windows, r=kashav
...
In bug 1589102, changes were made to how about:blank and about:srcdoc load,
making them go via DocumentChannel and thus slightly increasing documents' load
times. This causes some timing issues in SessionStore code.
When we click to "Reopen all (closed) Windows", undoCloseWindow() is called for
each window that we have to restore. The following scenario can occur - we are
restoring window 1, and undoCloseWindow() has already called restoreWindows,
after receiving the window showing promise, and in the meantime
undoCloseWindow() has been called for window 2, and there is now a promise in
the WINDOW_SHOWING_PROMISES. But now restoreWindows() for window1 calls
_openWindows(), where root.windows length is 0, but WINDOW_SHOWING_PROMISES is
not empty (because of window 2's undoCloseWindow), and the resolve callback for
_openWindows() gets called with wrong arg. To solve this, ensure that the
promises returned from _openWindows() correspond to the windows opened
within the body of the function.
Differential Revision: https://phabricator.services.mozilla.com/D106304
2021-03-01 19:44:13 +00:00
Tom Tung
561095f59d
Bug 1666584 - Remove the code for updating _lastKnownUserContextId because it's not needed; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D105334
2021-02-23 08:28:57 +00:00
Tom Tung
b4f2f352b8
Bug 1665942 - Collect userContextId from tab in _collectBaseTabData and stop collecting it in the session history collection; r=nika,geckoview-reviewers,agi
...
### Story
When a COOP+COEP page is opened, we change the remoteness of the tab. After
changing the remoteness, the tab is then restored by its TabState. However,
we haven't collected userContextId through the current mechanism.
To fix that, this patch changes the way to collect userContextId.
### Test Plan
Test: D98296
Depends on D98296
Differential Revision: https://phabricator.services.mozilla.com/D98468
2021-02-23 08:28:57 +00:00
Tom Tung
9a732b018b
Bug 1683713 - Ensure the restoring tab is not reused in addMultipleTabs; r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D100249
2021-02-23 08:28:56 +00:00
Neil Deakin
2991c9affc
Bug 1676943, add telemetry for how often tab or subframe crash ui is presented to the user. In addition, add telemetry to indicate that the user is shown the unsubmitted crashes notification bar, r=mconley
...
The telemetry is triggered either when the user is shown the tab crashed page, or when the subframe notification is displayed and the crash occurs in an active tab, or when the user switches to a tab that has a subframe crash notification displayed. The telemetry only applies the first time the tab is switched to. The unsubmitted crashes notification bar appears after 10 minutes or so and is shown in the top-most browser window, if one exists, and telemetry applies once when this occurs.
Differential Revision: https://phabricator.services.mozilla.com/D100349
2021-02-19 19:24:17 +00:00
Csoregi Natalia
133796a67b
Backed out 2 changesets (bug 1665942, bug 1683713) for failures on browser_cookies_legacy.js. CLOSED TREE
...
Backed out changeset d2f4a6c7e9ca (bug 1665942)
Backed out changeset b04fe74185a0 (bug 1683713)
2021-02-17 13:28:09 +02:00
Tom Tung
ad4752a452
Bug 1665942 - Collect userContextId from tab in _collectBaseTabData and stop collecting it in the session history collection; r=nika,geckoview-reviewers,agi
...
### Story
When a COOP+COEP page is opened, we change the remoteness of the tab. After
changing the remoteness, the tab is then restored by its TabState. However,
we haven't collected userContextId through the current mechanism.
To fix that, this patch changes the way to collect userContextId.
### Test Plan
Test: D98296
Depends on D98296
Differential Revision: https://phabricator.services.mozilla.com/D98468
2021-02-17 07:45:13 +00:00
Tom Tung
2bd4876456
Bug 1683713 - Ensure the restoring tab is not reused in addMultipleTabs; r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D100249
2021-02-17 07:45:12 +00:00
Mike Conley
7b78f723f5
Bug 1692522 - Temporarily re-introduce keyboard shortcut display in Recently Closed Win/Tab submenu. r=emalysz
...
Differential Revision: https://phabricator.services.mozilla.com/D105336
2021-02-16 16:48:18 +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
Mark Banner
c991d8611e
Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Butkovits Atila
88297e170f
Bug 1677540 - disable test browser_async_remove_tab.js for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D104539
2021-02-09 18:47:29 +00:00
Yura Zenevich
7c41815519
Bug 1689445 - revert EventUtils.sendMouseEvent back to being sync. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D104127
2021-02-09 01:30:08 +00:00
Emma Malysz
a5a39f1ac6
Bug 1689378: update recently closed windows and tabs panels r=mconley,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D103962
2021-02-09 01:08:38 +00:00
Mihai Alexandru Michis
b6dbc3ce92
Backed out 2 changesets (bug 1689445) for causing bc failures in browser_search.js
...
Backed out changeset 2b1ec882c4c1 (bug 1689445)
Backed out changeset bcb4ba398ee0 (bug 1689445)
2021-02-06 05:33:02 +02:00
Yura Zenevich
8ad4b058e3
Bug 1689445 - revert EventUtils.sendMouseEvent back to being sync. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D104127
2021-02-05 21:26:54 +00:00
Kris Maglione
4543a4a98a
Bug 1602501: Update TabListener owner content when swapping frame loaders. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D103722
2021-02-03 19:28:06 +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
Kashav Madan
f7e6033cd2
Bug 1673617 - Avoid registering multiple listeners on the same browser element, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D95227
2021-02-01 22:57:04 +00:00
Kris Maglione
caf1d0e771
Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 20:58:43 +00:00
Mihai Alexandru Michis
e10f79168a
Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
...
CLOSED TREE
Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Kris Maglione
2d5f151948
Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 05:25:03 +00:00
Butkovits Atila
91af0d3269
Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
...
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
cebae4d59b
Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 03:32:43 +00:00
Andreas Farre
034e5ed71f
Bug 1679856 - Part 2: Enable browser_crashedTabs.js for Fission. r=peterv
...
Depends on D100674
Differential Revision: https://phabricator.services.mozilla.com/D101337
2021-01-27 12:35:15 +00:00
tanweerali
592c2f12e3
Bug 1685808 - [Telemetry] Remove expired Scalar browser.engagement.restored_pinned_tabs_count. r=chutten
...
Depends on D102265
Differential Revision: https://phabricator.services.mozilla.com/D102838
2021-01-26 15:26:41 +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
Dimi Lee
646c6be020
Bug 1589074 - Fix sessionrestore mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D88553
2021-01-25 13:26:53 +00:00
Butkovits Atila
1cd4bd761d
Backed out 11 changesets (bug 1589074) for causing failures on test_DownloadCore.js.
...
Backed out changeset 10e37ec238ee (bug 1589074)
Backed out changeset a306f2483d73 (bug 1589074)
Backed out changeset b7a0d73a2885 (bug 1589074)
Backed out changeset da996dc79d5d (bug 1589074)
Backed out changeset 3cffd4570c8e (bug 1589074)
Backed out changeset 9fe67741eb5a (bug 1589074)
Backed out changeset e8e6d9a6b90d (bug 1589074)
Backed out changeset 78df7f0ccb31 (bug 1589074)
Backed out changeset 712f147c5a41 (bug 1589074)
Backed out changeset f093f3c48807 (bug 1589074)
Backed out changeset 454beae0f635 (bug 1589074)
2021-01-25 14:57:00 +02:00
Dimi Lee
37180ccba7
Bug 1589074 - Fix sessionrestore mochitest failures after changing default referrer policy to strict-origin-when-cross-origin. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D88553
2021-01-22 08:48:08 +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
Kashav Madan
86fd836a24
Bug 1673617 - Avoid registering multiple listeners on the same browser element, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D95227
2021-01-22 19:06:16 +00:00
Yura Zenevich
572aa816e4
Bug 1667998 - converted calls to EventUtils.sendMouseEvent to be async. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D97323
2021-01-15 18:20:44 +00:00
Oriol Brufau
16afb0e01f
Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-20 11:56:54 +00:00