Florian Quèze
44a0e89282
Bug 1744993 - avoid leaving about:robots open at the end of browser-chrome mochitests, r=Gijs.
...
Depends on D132055
Differential Revision: https://phabricator.services.mozilla.com/D133205
2021-12-09 11:27:41 +00:00
Narcis Beleuzu
6e9d812757
Backed out 12 changesets (bug 1721217) for bc failures on browser_TopLevelNavigationDelegate.js
...
Backed out changeset 5fe3c617d521 (bug 1721217)
Backed out changeset c131e4a6d9d5 (bug 1721217)
Backed out changeset a59210a5b400 (bug 1721217)
Backed out changeset 74362b0c39c0 (bug 1721217)
Backed out changeset c8075b91d660 (bug 1721217)
Backed out changeset 46512deaf0e5 (bug 1721217)
Backed out changeset b38bc569d227 (bug 1721217)
Backed out changeset ee9bd012fda8 (bug 1721217)
Backed out changeset 7aa2726a0982 (bug 1721217)
Backed out changeset 885ced5f4bb4 (bug 1721217)
Backed out changeset 7d3f99ca3f44 (bug 1721217)
Backed out changeset 2f5a0164679a (bug 1721217)
2021-12-01 03:38:10 +02:00
Anny Gakhokidze
58756fd2c5
Bug 1721217 - Part 12: Disable browser_scrollPositions.js, r=dao,daleharvey
...
Differential Revision: https://phabricator.services.mozilla.com/D132388
2021-11-30 16:31:38 +00:00
Emilio Cobos Alvarez
d388fbd1f1
Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
...
Privileged pages do this automatically via:
https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183
So this makes everything more consistent. Known exceptions:
* Pocket panels (as those don't seem to support dark mode)
* about:reader (because it has its own dark mode handling)
Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00
Emma Malysz
de49ee5bff
Bug 1649605 - Replace osfile.jsm usage in SessionWorker.jsm. r=Gijs
...
Add a mutex to prevent simultaneous I/O requests.
Co-authored-by: Mathew Hodson <mathew.hodson@gmail.com >
Differential Revision: https://phabricator.services.mozilla.com/D129367
2021-11-25 10:45:55 +00:00
Christoph Kerschbaumer
c78a87d7c0
Bug 1742351: Update more browser/ tests to be compliant with https-first mode r=extension-reviewers,Gijs,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D131773
2021-11-22 14:26:32 +00:00
Iulian Moraru
43773e005d
Backed out changeset 7d9cd61d95ce (bug 1742351) for causing bc failures on browser_paste_event_at_middle_click_on_link.js. CLOSED TREE
2021-11-22 14:14:16 +02:00
Christoph Kerschbaumer
5c4ef2e2bd
Bug 1742351: Update more browser/ tests to be compliant with https-first mode r=extension-reviewers,Gijs,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D131773
2021-11-22 10:49:45 +00:00
Andreea Pavel
3e05087e6d
Bug 1732818 - re-enable browser_windowStateContainer.js on all platforms r=cpeterson
...
Differential Revision: https://phabricator.services.mozilla.com/D130545
2021-11-16 07:40:44 +00:00
OnuohaOluebube
bb734d45c8
Bug 1738246 - Removed OS.File usage from various browser/components/sessionstore/ tests r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D129894
2021-11-11 18:21:21 +00:00
Nils
488a36d979
Bug 1740294: Fix typo "then then" -> "then" r=mhentges
...
Instances of the typo that have been imported from other repositories have been left unchanged.
Differential Revision: https://phabricator.services.mozilla.com/D130561
2021-11-09 17:36:40 +00:00
Antonin LOUBIERE
cf38ac05ce
Bug 1732366 - When closing last tab while having private window, remove the tab from the tabs list . r=Gijs
...
With session restore and close window on last tab close both enabled, if the last tab is closed while having another private window, move it from the winData.tabs list to the winData._closedTabs list.
Differential Revision: https://phabricator.services.mozilla.com/D126590
2021-11-01 17:09:28 +00:00
Andreea Pavel
200259bb40
Bug 1732818 - disable browser_windowStateContainer.js on linux, mac and win debug r=intermittent-reviewers,MasterWayZ DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D129954
2021-10-30 02:41:43 +00:00
OnuohaOluebube
97028c52e9
Bug 1733422 - SessionStore.getClosedWindowData always returns an object r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D129147
2021-10-25 08:18:27 +00:00
Gijs Kruitbosch
ed5f6adc07
Bug 1730021 - fix restoring sessions that closed all tabs, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D128884
2021-10-20 21:26:06 +00:00
Evgenia Kotovich
685e68c48b
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli
b1ebbba564
Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE
2021-10-18 02:05:57 +03:00
Evgenia Kotovich
59d14912a7
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Michelle Goossens
45f6a21a10
Bug 1649599 - Convert SessionFile.jsm to use IOUtils r=Standard8
...
Depends on D99960
Differential Revision: https://phabricator.services.mozilla.com/D99570
2021-10-16 07:57:56 +00:00
Alexandru Michis
fdd29e992c
Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
...
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich
8d5d1cda5f
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Claudia
b76124608e
Bug 1733425 - Change SessionStore.getClosedTabData to always return an object insteaf of a string. r=Standard8,extension-reviewers,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D128272
2021-10-14 07:01:30 +00:00
Cosmin Sabou
3242939660
Backed out 2 changesets (bug 1735500, bug 1649599) for causing both Bug 1735649 and Bug 1735650.
...
Backed out changeset c7b8bd49a741 (bug 1649599)
Backed out changeset 8f569a8aacf0 (bug 1735500 )
2021-10-14 00:47:48 +03:00
Michelle Goossens
42060b3f1f
Bug 1649599 - Convert SessionFile.jsm to use IOUtils r=Standard8
...
Depends on D99960
Differential Revision: https://phabricator.services.mozilla.com/D99570
2021-10-13 14:45:55 +00:00
Dave Townsend
d076cc4a35
Bug 1733564: Send out SSWindowRestoring when starting to restore an entire window. r=mconley a=reland
...
Differential Revision: https://phabricator.services.mozilla.com/D127258
2021-10-03 06:27:05 +00:00
Iulian Moraru
3251753e21
Backed out changeset acab07e8dc6a (bug 1733564) for causing mochitest failures.
2021-10-03 12:15:36 +03:00
Dave Townsend
5bebb4583a
Bug 1733564: Send out SSWindowRestoring when starting to restore an entire window. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D127258
2021-10-03 06:27:05 +00:00
Andreas Farre
1048373dac
Bug 1711886 - Part 2: Remove too strict session store test assertions. r=asuth
...
Previously we've removed data from the session store that aren't
currently in the current browsing context tree, but this is different
from what BackgroundSessionStorageManager considers to be a
session. After part 1 in this patch series, session store will save
exactly the view BackgroundSessionStorageManager has of the current
sessionStorage state.
Differential Revision: https://phabricator.services.mozilla.com/D125681
2021-09-22 15:42:47 +00:00
Andreas Farre
52de589fa0
Bug 1727367 - Part 3: Test form value length limits for session store. r=kashav
...
Differential Revision: https://phabricator.services.mozilla.com/D125197
2021-09-14 15:02:21 +00:00
Mark Banner
80b3aa66ab
Bug 1730477 - Change SessionStore.getWindowState to return an object instead of a string. r=kashav
...
Differential Revision: https://phabricator.services.mozilla.com/D125382
2021-09-14 07:25:29 +00:00
Nika Layzell
48c148ffc8
Bug 1727158 - Part 1: Fix tests which will fail when processCount.webIsolated is set to 4, r=annyG,extension-reviewers,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D125292
2021-09-14 00:55:04 +00:00
Geoff Brown
a00c449c2d
Bug 1730213 - Explicitly skip tests under browser/ on android; r=ahal
...
These tests are excluded from android test runs in moz.build. Including
an explicit annotation in each manifest avoids scheduling confusion.
browser-chrome and plain-chrome tests in browser/ are of no concern,
since those test types are never scheduled on android.
Differential Revision: https://phabricator.services.mozilla.com/D125266
2021-09-13 15:22:27 +00:00
Antonin LOUBIERE
a49b34ff34
Bug 1722727 - Restore all the last group of closed tabs at once after Firefox reboot. r=kashav
...
Reopen all the last group of closed tabs at once even if Firefox has reboot, with session restore enabled for example.
Differential Revision: https://phabricator.services.mozilla.com/D122576
2021-09-12 17:01:18 +00:00
Antonin LOUBIERE
374c3844a6
Bug 1722567 - Save group of closed tabs to restore the all group. r=kashav
...
When a group of tabs is closed, save the it in session data so tabs could be restored together.
Differential Revision: https://phabricator.services.mozilla.com/D121110
2021-09-12 17:01:17 +00:00
Mark Banner
f321dfd6b1
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 12:09:49 +00:00
Noemi Erli
20dee875a7
Backed out 2 changesets (bug 1729460) for causing newtab failures CLOSED TREE
...
Backed out changeset 5617839462be (bug 1729460)
Backed out changeset 6d52fde3ee0e (bug 1729460)
2021-09-10 13:14:12 +03:00
Mark Banner
6a5ffbcc55
Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 09:38:42 +00:00
Kashav Madan
e0b03db96a
Bug 1724370 - Ensure shutdown is blocked on all window flushes, r=farre
...
We currently only block shutdown on flushes for windows that appear in the
BrowserWindowTracker.orderedWindows list, which may or may not include the most
recent window (this appears to depend on _how_ the window was closed). Including
windows for which we saw "domwindowclosed" means that we'll also wait on flushes
for the most recent window.
This also ensures that we're queuing a SessionStoreUpdate from TabListener on
STATE_START/STATE_STOP (as ContentSessionStore.jsm does), and fixes a bug where
we were trying to remove an observer with the `deferred.reject` callback,
instead of the actual observer.
Differential Revision: https://phabricator.services.mozilla.com/D124403
2021-09-09 23:44:18 +00:00
Ben Hearsum
c2bc0a1657
Bug 1714200: annotate tests that fail in regular suites but pass when run in isolation. r=jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D124907
2021-09-08 18:14:00 +00:00
Andreea Pavel
ba89024f2c
Bug 1638958 - disable browser_label_and_icon.js on win10_2004 not debug r=intermittent-reviewers,bhearsum DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D124585
2021-09-07 15:54:33 +00:00
criss
b4e05920e0
Backed out changeset b911ae170ab6 (bug 1722567) for causing failures on browser_frame_history.js. CLOSED TREE
2021-08-26 09:28:01 +03:00
Antonin LOUBIERE
0a25f52fc5
Bug 1722567 - Save group of closed tabs to restore the all group. r=kashav
...
When a group of tabs is closed, save the it in session data so tabs could be restored together.
Differential Revision: https://phabricator.services.mozilla.com/D121110
2021-08-26 03:33:07 +00:00
Michelle Goossens
cde15eb082
Bug 1723574 - Enable mochitest-browser-chrome tests that no longer fail r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D123247
2021-08-23 12:45:31 +00:00
Alexandru Michis
29d209a37d
Backed out changeset 6aaaf18f2aae (bug 1722567) for causing bc failures in browser_forget_async_closings.js
...
CLOSED TREE
2021-08-21 21:17:21 +03:00
Antonin LOUBIERE
f779645579
Bug 1722567 - Save group of closed tabs to restore the all group. r=kashav
...
When a group of tabs is closed, save the it in session data so tabs could be restored together.
Differential Revision: https://phabricator.services.mozilla.com/D121110
2021-08-21 17:11:56 +00:00
Michelle Goossens
015f8eeba2
Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Luca Greco
95ed217e5a
Bug 1724205 - Fix issue on restoring private tabs discarded while being created. r=Gijs,mixedpuppy
...
When an extension does call tabs.discard earlier in the tab creation (e.g. when the extension calls
tabs.discard from inside a tabs.onUpdated listener), when the tab is activated (e.g. by selecting
the non-currently active lazified tab) Firefox is expected to restore it to the webpage url that
was being loaded.
This was already working as expected on non-private tabs, where the expected tab url was stored
in the TabStateCache as the userTypedValue (which seems to be part of a fix also related to
tabs.discard and landed in Firefox 62 from Bug 1422588).
It didn't work yet for private tabs, because for a private tab we are storing `{isPrivate: true}`
into the TabStateCache as soon as we are creating the tab, and so the change to SessionStore
resetBrowserToLazyState applied from Bug 1422588 had no effect for the private tabs
(due to the check for an existing cached entry for the same tab).
This patch applies a small change to ensure we are caching the userTypedValue set on the browser
element if one is not already stored in the TabStateCache, and adds an additional test case
to browser_ext_tabs_discarded.js which cover the expected behavior (and fails as expected
without a fix for the underlying issue).
Differential Revision: https://phabricator.services.mozilla.com/D122370
2021-08-13 17:27:32 +00:00
Kashav Madan
e487120a46
Bug 1677540 - Skip browser_async_remove_tab.js for non-SHIP, r=annyG
...
This fails in promiseOnHistoryReplaceEntry since the browser goes away before
the SpecialPowers task can resolve. This doesn't apply to SHIP since we listen
for history events in the parent instead for that.
Differential Revision: https://phabricator.services.mozilla.com/D122486
2021-08-12 16:11:42 +00:00
Nika Layzell
e836c49649
Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
...
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.
For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.
Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-08-10 14:31:16 +00:00
Ben Hearsum
d4084b4d3e
Bug 1714200: skip failing mochitest-browser-chrome tests on M1 machines r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D121221
2021-08-06 19:16:54 +00:00