Gijs Kruitbosch
6122444136
Bug 1810141 - fix loadURI callers that already have an nsIURI reference or where creating one is clearly safe, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,m_kato
...
There are 3 types of changes in this commit:
- from `loadURI(foo.spec)` to `loadURI(foo)`, as there's already a URI
- from `loadURI("string")` to `loadURI(Services.io.newURI("string"))` as the URL is hardcoded
- one or two where there is perhaps an intermediate variable but the patch
context should still make it trivial to ascertain the change is correct.
Depends on D168393
Differential Revision: https://phabricator.services.mozilla.com/D168394
2023-02-13 12:55:24 +00:00
Gijs Kruitbosch
608c7cef07
Bug 1810141 - update consumers of CanonicalBrowsingContext.loadURI to use fixup or pass a URI object if they have it, r=mak,webdriver-reviewers,whimboo
...
Depends on D168389
Differential Revision: https://phabricator.services.mozilla.com/D168390
2023-02-13 12:55:22 +00:00
Stanca Serban
9d20ea803f
Bug 1775608 - disable browser_sessionHistory.js on linux and mac10.15 debug. r=intermittent-reviewers,MasterWayZ DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D169178
2023-02-08 14:36:01 +00:00
Cosmin Sabou
8bf07d5fb3
Bug 1775616 - disable browser_async_window_flushing.js due to frequent failures. r=intermittent-reviewers,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D168489
2023-02-03 06:09:38 +00:00
Gijs Kruitbosch
b965c4660a
Bug 1795255 - autofix duplicate imports in tests under browser/, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D166179
2023-01-31 11:48:41 +00:00
Mark Banner
2bd093b567
Bug 1811334 - Automatically replace Cu.reportError with console.error (most of browser/components). r=settings-reviewers,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D167297
2023-01-20 17:49:21 +00:00
Gijs Kruitbosch
5a903703c5
Bug 1810995 - update BrowserTestUtils.loadURI consumers to use loadURIString (automated) - browser - r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D167153
2023-01-19 20:16:42 +00:00
Andreas Farre
027c6ceda3
Bug 1810704 - Collect telemetry for session history collection time. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D167033
2023-01-19 06:45:55 +00:00
Florian Quèze
a73b864d0a
Bug 1808729 - Limit session store writes to once per hour when the user is idle, r=dao.
...
Differential Revision: https://phabricator.services.mozilla.com/D166099
2023-01-16 14:55:22 +00:00
Sarah Clements
8f954f3b82
Bug 1804064 - Firefox View window should not be saved r=Gijs,kcochrane
...
* If Firefox view tab is the last selected tab when a window is closed it
should not be saved; the first tab should be used instead. This patch updates a test,
updates the title that is saved and the selected index
Differential Revision: https://phabricator.services.mozilla.com/D166362
2023-01-11 11:59:19 +00:00
Stanca Serban
87d12b6bcd
Backed out changeset c6ec3664e1f5 (bug 1808729) for causing mochitests failures in browser_privatebrowsing_history_shift_click.js. CLOSED TREE
2023-01-10 12:31:26 +02:00
Florian Quèze
0e43dbbe17
Bug 1808729 - Limit session store writes to once per hour when the user is idle, r=dao.
...
Differential Revision: https://phabricator.services.mozilla.com/D166099
2023-01-10 08:26:07 +00:00
Sandor Molnar
2704668f7b
Backed out changeset 1a38da4f6de9 (bug 1808729) for causing bc failures in browser/components/sessionstore/test/browser_not_collect_when_idle.js CLOSED TREE
2023-01-09 16:28:29 +02:00
Florian Quèze
0574310850
Bug 1808729 - Limit session store writes to once per hour when the user is idle, r=dao.
...
Differential Revision: https://phabricator.services.mozilla.com/D166099
2023-01-09 11:31:28 +00:00
Marco Castelluccio
ba39d286d5
Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Mark Banner
df47c60747
Bug 1806359 - Convert telemetry imports to direct ES imports. r=necko-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,janerik,mconley,sgalich,bytesized,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165002
2022-12-23 12:37:07 +00:00
Mark Banner
2b069eb017
Bug 1806306 - Convert AsyncShutdown imports to direct ES imports. r=mak,webdriver-reviewers,application-update-reviewers,bytesized
...
Differential Revision: https://phabricator.services.mozilla.com/D164981
2022-12-23 12:37:06 +00:00
Gijs Kruitbosch
ba3f869758
Bug 1803391 - update comments / text references to session store modules as 'jsm's, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D164127
2022-12-12 10:08:03 +00:00
Gijs Kruitbosch
50a6973e00
Bug 1803158 - convert session restore JSMs to sys.mjs ESMs, r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D163349
2022-12-06 16:02:02 +00:00
Joel Maher
e101d5b991
Bug 1803187 - re-enable sessionstore tests accidentally disabled. r=bxbrenden
...
Differential Revision: https://phabricator.services.mozilla.com/D163748
2022-12-05 23:37:41 +00:00
Norisz Fay
8e2d7ea378
Backed out changeset 83906cd6a218 (bug 1803187) for causing mochitest failures on browser_524745.js CLOSED TREE
2022-12-01 18:59:14 +02:00
Nika Layzell
8f70dbbc45
Bug 1803187 - Re-enable sessionrestore tests on linux, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D163367
2022-12-01 15:55:32 +00:00
Itiel
3afdffae32
Bug 1801061 - Consolidate some logic between about:sessionrestore and about:welcomeback r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D162488
2022-11-30 18:41:59 +00:00
Gijs Kruitbosch
3fd7180951
Bug 1789043 - use existing NOTIFY_BROWSER_SHUTDOWN_FLUSH on firefox view to be told about closing tabs, r=sclements
...
Differential Revision: https://phabricator.services.mozilla.com/D163216
2022-11-30 14:13:41 +00:00
Nika Layzell
d715baa761
Bug 1538028 - Part 3: Validate loads by TriggeringRemoteType, r=smaug,ckerschb
...
The previous part introduced a new mechanism to track the triggering remote
type for a specific load in a reliable way. This adds some basic checks based
on the triggering remote type to the nsContentSecurityManager, while also
providing the potential infrastructure to expand these checks in the future.
As these checks are performed before some other content security checks (to
ensure that they are performed before InitialSecurityCheckDone() is checked),
they may reject a load which would otherwise have been rejected by a later
check. For this reason, the diagnostic assertions added in this part are only
fired if the check appears as though it would otherwise have succeeded. This
check is not fully accurate, however, so may miss some cases.
This is important, as we have some tests, such as service worker navigation
tests, which will try to load file:/// URIs in content processes, and only fail
in the later content security checks.
For now, no checks are performed for non-document loads, though that may change
in the future.
Differential Revision: https://phabricator.services.mozilla.com/D161199
2022-11-29 20:41:45 +00:00
Iulian Moraru
5085e5074f
Backed out changeset 1da39fdc61ed (bug 1801061) for causing bc failures on browser_aboutSessionRestore.js. CLOSED TREE
2022-11-29 21:10:38 +02:00
Itiel
1a8efc52fe
Bug 1801061 - Consolidate some logic between about:sessionrestore and about:welcomeback r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D162488
2022-11-29 18:17:43 +00:00
Csoregi Natalia
f8d2a3739e
Backed out changeset 5998b7a73bd9 (bug 1801061) for failures on browser_aboutSessionRestore.js. CLOSED TREE
2022-11-26 22:22:30 +02:00
Itiel
d5707963a1
Bug 1801061 - Consolidate some logic between about:sessionrestore and about:welcomeback r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D162488
2022-11-26 19:33:14 +00:00
Marco Castelluccio
5bcb4a1506
Bug 1790816 - Reformat browser/ with isort. r=linter-reviewers,search-reviewers,Standard8 DONTBUILD
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D162667
2022-11-22 11:09:34 +00:00
Mark Banner
5d1820b074
Bug 1799314 - Convert consumers of testing modules to import ES modules direct (browser/). r=Gijs,settings-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D161914
2022-11-17 12:00:30 +00:00
Andreas Farre
1dc7e11986
Bug 1798232 - Make sure to flush session store when moving tabs to new window. r=dao
...
When moving a tab to a new window, the tab state needs to be flushed
and then copied over. Copying the current state could possibly miss
out on any buffered changes. Unfortunately we can't wait for the flush
to complete and then move, so we need to force the old state on top of
the new.
Differential Revision: https://phabricator.services.mozilla.com/D160887
2022-11-02 13:45:46 +00:00
Mark Banner
0008510845
Bug 1798018 - Convert consumers of toolkit/modules/tests to import ES modules direct. r=Gijs,webdriver-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D160664
2022-11-01 13:26:38 +00:00
Mark Banner
3324e6ec5f
Bug 1798058 - Convert consumers of toolkit/modules/sessionstore/ to ES modules. r=daleharvey,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D160682
2022-10-31 15:15:34 +00:00
Mark Banner
452d7aa6a7
Bug 1797689 - Clean up strict violations in browser/ r=mossop,settings-reviewers
...
Depends on D160490
Differential Revision: https://phabricator.services.mozilla.com/D160491
2022-10-27 15:58:25 +00:00
Mark Banner
5407bdffa8
Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
...
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Joel Maher
41f0bda36e
Bug 1794903 - adjust some manifests for windows 11 tests. r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D159223
2022-10-13 16:16:01 +00:00
Henrik Skupin
9320c5804e
Bug 1141335 - [marionette] Use in_app by default for quit() and restart(). r=webdriver-reviewers,jdescottes,perftest-reviewers,AlexandruIonescu
...
Hereby the "in_app" argument is required to be specified in case some
other argument eg. "clean" requires a termination of the application.
Differential Revision: https://phabricator.services.mozilla.com/D157219
2022-10-04 09:04:25 +00:00
Butkovits Atila
cc79c082db
Backed out changeset 3e220bf19d7b (bug 1141335) for causing failures at awsy/test_memory_usage.py. CLOSED TREE
2022-09-30 02:12:58 +03:00
Henrik Skupin
8ffaf35609
Bug 1141335 - [marionette] Use in_app by default for quit() and restart(). r=webdriver-reviewers,jdescottes
...
Hereby the "in_app" argument is required to be specified in case some
other argument eg. "clean" requires a termination of the application.
Differential Revision: https://phabricator.services.mozilla.com/D157219
2022-09-29 18:34:25 +00:00
Mark Banner
a49b8ef78f
Bug 1792365 - Convert toolkit/modules consumers to use ES module imports directly. r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,extension-reviewers,preferences-reviewers,desktop-theme-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,robwu,Gijs,sgalich,bytesized,AlexandruIonescu,dao,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D158094
2022-09-29 06:52:34 +00:00
Niklas Baumgardner
7d97f19898
Bug 1792441 - Keep window open when restoring with hidden tabs. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D158233
2022-09-29 03:08:06 +00:00
Mathew Hodson
f84488ba91
Bug 1776578 - Replace init tasks with add_setup in mochitests. r=application-update-reviewers,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D149486
2022-09-26 13:58:49 +00:00
Alexandre Poirot
633eb069ef
Bug 1791832 - [devtools] Convert devtools/startup JSM to ES Modules. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D157911
2022-09-26 10:48:05 +00:00
Joel Maher
1325c90046
Bug 1790868 - clean up 32 bit annotations for tests that don't run on 32 bit, and general cleanup. r=aryx
...
Differential Revision: https://phabricator.services.mozilla.com/D157352
2022-09-16 12:40:13 +00:00
Sarah Clements
e04c7ffb66
Bug 1787979 - keyboard shortcut navigates to the wrong tab from Firefox View tab r=dao
...
* Remove index: 0 in FirefoxViewHandler.openTab
* Add condition in tabbrowser _selectNextTab for FirefoxView tab
* Fix tests
Differential Revision: https://phabricator.services.mozilla.com/D156688
2022-09-14 15:20:01 +00:00
Sarah Clements
cf7801bb42
Bug 1789652 - Overwrite closedIDs when restoring sessions r=Gijs
...
* Add a helper in sessionstore to rewrite closedId's for all restored tabs
* Add test coverage
Differential Revision: https://phabricator.services.mozilla.com/D157235
2022-09-14 14:58:07 +00:00
Marian-Vasile Laza
d1e176e9a1
Backed out changeset d057e8cf08cf (bug 1789652) for causing bc failures on browser_closedId.js.
2022-09-14 17:02:14 +03:00
Marian-Vasile Laza
2e7d3531bc
Backed out changeset 9bf0a16672ec (bug 1787979) for causing bc failures on browser_sma_click_element.js. CLOSED TREE
2022-09-14 16:45:04 +03:00
Sarah Clements
34758f53dc
Bug 1789652 - Overwrite closedIDs when restoring sessions r=Gijs
...
* Add a helper in sessionstore to rewrite closedId's for all restored tabs
* Add test coverage
Differential Revision: https://phabricator.services.mozilla.com/D157235
2022-09-14 13:08:25 +00:00