Neil Deakin
1cc5883b43
Bug 1815062, move filename and extension validity checks into SanitizeFileName so that they get called after sanitization is complete, r=Gijs,necko-reviewers
...
For now, this leaves existing callers of DownloadPaths.sanitize as is using a flag.
Differential Revision: https://phabricator.services.mozilla.com/D169124
2023-02-28 18:57:24 +00:00
Makoto Kato
aa3ccd258b
Bug 1618885 - Remove unused is_fennec. r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,sgalich,robwu,calu
...
is_fennec is unused now, let's remove it.
Differential Revision: https://phabricator.services.mozilla.com/D170849
2023-02-27 01:44:18 +00:00
Gijs Kruitbosch
9f59e6f7da
Bug 1807260 - ensure local files opened have their extensions taken into account when determining what to do with them, r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D169713
2023-02-20 16:44:19 +00:00
Gijs Kruitbosch
3dca426d77
Bug 1807260 - ensure nsMimeInfoWin's default app information is always-up-to-date, r=mhowell,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D169712
2023-02-20 16:44:18 +00:00
Gijs Kruitbosch
97f7ae55a3
Bug 1807260 - refactor access to mDefaultApplication from callers, r=mhowell
...
This makes it easier to ensure it's up-to-date when called,
rather than relying on member access.
Differential Revision: https://phabricator.services.mozilla.com/D169711
2023-02-20 16:44:18 +00:00
serge-sans-paille
d362c61b72
Bug 1817318 - Make uriloader/preload buildable outside of a unified uild environment r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D170119
2023-02-19 21:40:34 +00:00
Norisz Fay
d85572c196
Backed out 11 changesets (bug 1817309, bug 1817315, bug 1817313, bug 1817317, bug 1817310, bug 1817314, bug 1817308, bug 1817312, bug 1817311, bug 1817316, bug 1817318) for causing build bustages on nss_secutil.h CLOSED TREE
...
Backed out changeset 288b4848b023 (bug 1817308)
Backed out changeset 6ac5107e1c81 (bug 1817309)
Backed out changeset 6f6e7a258930 (bug 1817310)
Backed out changeset 32cadd62fec3 (bug 1817311)
Backed out changeset 5bfcee2bfb8b (bug 1817312)
Backed out changeset bfd59ae03c4f (bug 1817313)
Backed out changeset 0080bdd6ab3f (bug 1817314)
Backed out changeset e1e81a3a933d (bug 1817315)
Backed out changeset 151d9b5d1883 (bug 1817316)
Backed out changeset 1b03cabc6e5a (bug 1817317)
Backed out changeset 52b44c5d4b08 (bug 1817318)
2023-02-19 18:37:26 +02:00
serge-sans-paille
774ef7d6cf
Bug 1817318 - Make uriloader/preload buildable outside of a unified uild environment r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D170119
2023-02-19 15:33:52 +00:00
Csoregi Natalia
41e332d499
Backed out 11 changesets (bug 1817308, bug 1817311, bug 1817317, bug 1817310, bug 1817309, bug 1817314, bug 1817316, bug 1817318, bug 1817313, bug 1817312, bug 1817315) for causing hybrid bustage on WrapperFactory.cpp. CLOSED TREE
...
Backed out changeset 1fb2fdbeecec (bug 1817308)
Backed out changeset 7153cb681119 (bug 1817309)
Backed out changeset 44e4198e2cdc (bug 1817310)
Backed out changeset ef9b097a07c4 (bug 1817311)
Backed out changeset e6f4e9a4cfc6 (bug 1817312)
Backed out changeset 4fa0b794c1e1 (bug 1817313)
Backed out changeset 13841a7b93a6 (bug 1817314)
Backed out changeset af16df862459 (bug 1817315)
Backed out changeset a157a7c3146f (bug 1817316)
Backed out changeset f9048fa7e1d9 (bug 1817317)
Backed out changeset 10219437a634 (bug 1817318)
2023-02-18 01:58:57 +02:00
serge-sans-paille
5da8785575
Bug 1817318 - Make uriloader/preload buildable outside of a unified uild environment r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D170119
2023-02-17 22:17:41 +00:00
Joel Maher
a62ef05cdb
Bug 1816191 - Skip tests in order to keep win7 running @ azure. r=gbrown,necko-reviewers,settings-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,nalexander,sgalich,alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D169523
2023-02-14 23:44:12 +00:00
Razvan Cojocaru
aa607ca5d8
Bug 1801232 - Remove category manager stream conversion in DispatchContent. r=Gijs,dlrobertson
...
Differential Revision: https://phabricator.services.mozilla.com/D169370
2023-02-14 19:06:38 +00:00
Gijs Kruitbosch
387cf24ca0
Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
...
Depends on D168396
Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 23:50:41 +00:00
Gijs Kruitbosch
9d7452a247
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 23:50:38 +00:00
Cristina Horotan
5f4356e527
Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
...
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch
ff1cc20bd7
Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
...
Depends on D168396
Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 12:55:26 +00:00
Gijs Kruitbosch
e460aa10f3
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
John Bieling
afa00fe57b
Bug 1757142 - Make WebExtension protocol_handler work for Thunderbird. r=kpatenio
...
Differential Revision: https://phabricator.services.mozilla.com/D167238
2023-02-08 19:54:17 +00:00
Mark Banner
8b2a7a80c7
Bug 1812977 - Remove now unnecessary import-globals-from statements in other directories. r=Gijs,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D168074
2023-01-30 19:33:39 +00:00
Neil Deakin
bea47874ab
Bug 1809923, r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D167953
2023-01-26 16:10:16 +00:00
Neil Deakin
1d2e8169a6
Bug 1808918, use Untitled as the default filename when saving a file rather than index, r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D167028
2023-01-23 14:53:21 +00:00
Gijs Kruitbosch
8be066753c
Bug 1810995 - update BrowserTestUtils.loadURI consumers to use loadURIString (automated) - other directories - r=Standard8,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D167154
2023-01-19 20:16:43 +00:00
Richard Broker
f5765da017
Bug 1777204 - Removed unused PreloaderBase::NotifyValidating() & PreloaderBase::NotifyValidated() methods. r=manuel
...
Differential Revision: https://phabricator.services.mozilla.com/D166808
2023-01-17 16:13:18 +00:00
Mark Banner
f35ab1379d
Bug 1808173 - Convert SharedPromptUtils.jsm to an ES module and rename it PromptUtils.sys.mjs. r=Gijs,credential-management-reviewers,dimi
...
Using shared no longer makes sense, as the non-shared parts in Prompter have been renamed as 'Utils'.
Differential Revision: https://phabricator.services.mozilla.com/D165792
2023-01-16 13:32:19 +00:00
Ben Hearsum
6c520ec6c8
Bug 1805919: disable tests that are currently failing against MSIX packages. r=jmaher,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165754
2023-01-11 14:45:03 +00:00
Neil Deakin
5192eb2a76
Bug 1802885, improve filename sanitization when filename begins with a period, r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D165466
2023-01-10 14:58:04 +00:00
Dave Townsend
b752598495
Bug 1792138: Show the extension's name in permission prompts for opening external links. r=ckerschb,robwu,fluent-reviewers,pbz,flod
...
In order to handle the content script case correctly we must expose the
contentScriptAddonPolicy to JavaScript. With that we can always see what
extension is trying to perform an action and use its name rather than internal
ID in the dialog.
Differential Revision: https://phabricator.services.mozilla.com/D161282
2023-01-07 17:53:19 +00:00
Mark Banner
c3e3ee14cc
Bug 1806500 - Automatically replace Cu.reportError with console.error (uriloader dom). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D165067
2023-01-05 15:03:55 +00:00
Sylvestre Ledru
1f8d23143a
Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D165559
2022-12-28 09:52:44 +00:00
Marian-Vasile Laza
3310c3d69c
Backed out changeset 4be804d1c686 (bug 1806500) for causing mochitest failures on test_has_permissions.html. CLOSED TREE
2022-12-20 22:52:57 +02:00
Mark Banner
099830ac94
Bug 1806500 - Automatically replace Cu.reportError with console.error (uriloader dom). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D165067
2022-12-20 18:34:36 +00:00
Sandor Molnar
119b025cf4
Backed out changeset 146a11389a42 (bug 1806500) for causing mochitest failures in dom/console/tests/test_bug659625.html CLOSED TREE
2022-12-20 10:32:26 +02:00
Mark Banner
dfc3bdb42a
Bug 1806500 - Automatically replace Cu.reportError with console.error (uriloader dom). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D165067
2022-12-20 07:43:44 +00:00
Stanca Serban
bd29139bde
Backed out changeset 514642d76faa (bug 1792138) for causing mochitests failures in test_ext_protocolHandlers.html. CLOSED TREE
2022-12-13 14:53:38 +02:00
Dave Townsend
e021cf6a60
Bug 1792138: Show the extension's name in permission prompts for opening external links. r=ckerschb,robwu,fluent-reviewers,pbz,flod
...
In order to handle the content script case correctly we must expose the
contentScriptAddonPolicy to JavaScript. With that we can always see what
extension is trying to perform an action and use its name rather than internal
ID in the dialog.
Differential Revision: https://phabricator.services.mozilla.com/D161282
2022-12-13 10:43:32 +00:00
Manuel Bucher
17df5816aa
Bug 1771867 - Early Hints Phase 2 - Part 7: Pass early hint preload to image preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161177
2022-12-02 16:15:55 +00:00
Manuel Bucher
01bc307305
Bug 1771867 - Early Hints Phase 2 - Part 6: Pass early hint preload to style preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161176
2022-12-02 16:15:55 +00:00
Manuel Bucher
7681efff11
Bug 1771867 - Early Hints Phase 2 - Part 5: Pass early hint preload to script preloader r=necko-reviewers,valentin
...
Note that modules can't be specified in Link preloads with `rel=preload`,
only in `rel=modulepreload`. We currently only support `rel=preload` in
early hints. See Bug 1798319 for updates on module preloads.
Differential Revision: https://phabricator.services.mozilla.com/D161175
2022-12-02 16:15:54 +00:00
Manuel Bucher
817a908c7b
Bug 1771867 - Early Hints Phase 2 - Part 4: Pass early hint preload to fetch and font preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161174
2022-12-02 16:15:54 +00:00
Manuel Bucher
2a9cb26225
Bug 1771867 - Early Hints Phase 2 - Part 2: Pass early hint preloads to preloader from IPC r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161173
2022-12-02 16:15:53 +00:00
Csoregi Natalia
5a260d61a4
Backed out 13 changesets (bug 1771867) for causing CanonicalBrowsingContext crashes. CLOSED TREE
...
Backed out changeset 120838b58449 (bug 1771867)
Backed out changeset aea7ca0bbd17 (bug 1771867)
Backed out changeset 2fe2afdee09d (bug 1771867)
Backed out changeset 8bdb1f682d22 (bug 1771867)
Backed out changeset a9f3158ed688 (bug 1771867)
Backed out changeset 1177913e1edf (bug 1771867)
Backed out changeset d33ccbbf407d (bug 1771867)
Backed out changeset 110ac12e16f5 (bug 1771867)
Backed out changeset 7f20525f5e94 (bug 1771867)
Backed out changeset b3d65b1aa872 (bug 1771867)
Backed out changeset 7cdf3cef2773 (bug 1771867)
Backed out changeset 5090eae24a5c (bug 1771867)
Backed out changeset f8a03d226c73 (bug 1771867)
2022-12-02 13:44:55 +02:00
Manuel Bucher
e4a53f90d5
Bug 1771867 - Early Hints Phase 2 - Part 7: Pass early hint preload to image preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161177
2022-12-02 09:45:26 +00:00
Manuel Bucher
f155e62e3b
Bug 1771867 - Early Hints Phase 2 - Part 6: Pass early hint preload to style preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161176
2022-12-02 09:45:26 +00:00
Manuel Bucher
4ec279d231
Bug 1771867 - Early Hints Phase 2 - Part 5: Pass early hint preload to script preloader r=necko-reviewers,valentin
...
Note that modules can't be specified in Link preloads with `rel=preload`,
only in `rel=modulepreload`. We currently only support `rel=preload` in
early hints. See Bug 1798319 for updates on module preloads.
Differential Revision: https://phabricator.services.mozilla.com/D161175
2022-12-02 09:45:25 +00:00
Manuel Bucher
89f0bd5a93
Bug 1771867 - Early Hints Phase 2 - Part 4: Pass early hint preload to fetch and font preloader r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161174
2022-12-02 09:45:25 +00:00
Manuel Bucher
808529a4e4
Bug 1771867 - Early Hints Phase 2 - Part 2: Pass early hint preloads to preloader from IPC r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D161173
2022-12-02 09:45:24 +00:00
Nika Layzell
1f06e7ba7b
Bug 1793463 - Part 6: Remove nsIProtocolHandler.{defaultPort,protocolFlags}, r=necko-reviewers,valentin
...
This removes all implementations of these types. Some implementations in JS
code were also removed in the previous part, when updating tests to use
`Services.io.registerProtocolHandler`.
Code which used to access these members should go through the IOService now
instead.
Differential Revision: https://phabricator.services.mozilla.com/D162805
2022-12-01 15:43:19 +00:00
Marian-Vasile Laza
7492025127
Backed out 7 changesets (bug 1793463) for causing bustages on nsIOService.cpp. CLOSED TREE
...
Backed out changeset 47c3acb30de2 (bug 1793463)
Backed out changeset 71afe900eb17 (bug 1793463)
Backed out changeset d168599a269e (bug 1793463)
Backed out changeset d0f18d300818 (bug 1793463)
Backed out changeset a116e6f089f2 (bug 1793463)
Backed out changeset eba1123c8b56 (bug 1793463)
Backed out changeset 68a3eb8a3057 (bug 1793463)
2022-12-01 02:30:02 +02:00
Nika Layzell
20db36cecb
Bug 1793463 - Part 6: Remove nsIProtocolHandler.{defaultPort,protocolFlags}, r=necko-reviewers,valentin
...
This removes all implementations of these types. Some implementations in JS
code were also removed in the previous part, when updating tests to use
`Services.io.registerProtocolHandler`.
Code which used to access these members should go through the IOService now
instead.
Differential Revision: https://phabricator.services.mozilla.com/D162805
2022-11-30 18:13:43 +00:00
Meg Viar
47d49c4025
Bug 1795894 - Enable triggering Feature Callouts in chrome by content location r=jprickett
...
Differential Revision: https://phabricator.services.mozilla.com/D160503
2022-11-30 01:47:23 +00:00