Граф коммитов

3860 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch b44e6c8261 Bug 1743653 - tests for external protocol handler redirection, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D132528
2022-03-29 11:09:01 +00:00
Barret Rennie f3b8dc0cab Bug 1753369 - Use sync PathUtils directory getters on mainthread in uriloader/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140144
2022-03-10 15:16:43 +00:00
Gijs Kruitbosch 63f7179055 Bug 749872 - remove unused/not-run test_handlerApps.xhtml, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D139706
2022-02-25 22:18:19 +00:00
Gijs Kruitbosch 42b2e23515 Bug 1747561 - fix intermittents in browser_open_internal_choice_persistence.js by enforcing which window is active, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D139325
2022-02-22 16:11:47 +00:00
Yulia Startsev 79409316d1 Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D138133
2022-02-21 15:39:09 +00:00
Peter Van der Beken 61f7e59993 Bug 1747033 - "Back" does not work correctly for pages with multipart/x-mixed-replace and history.replaceState. r=smaug,necko-reviewers,valentin
multipart/x-mixed-replace loads don't start a new load for parts other than the first,
they just call OnStartRequest/OnStopRequest for every part. The nsDocShell code was
trying to set the active entry to the loading entry for these loads, but because we
never started a new load after the first part, the loading entry would be null and we'd
just clear the active entry. history.replaceState would then try to replace the active
entry, but finding none it would just add a new one.

Differential Revision: https://phabricator.services.mozilla.com/D138464
2022-02-19 08:30:35 +00:00
smolnar 88503e9cc6 Backed out 12 changesets (bug 1742437) for causing build bustages in dom/script/ScriptTrace.h CLOSED TREE
Backed out changeset c11cffaded9c (bug 1742437)
Backed out changeset 0527d227c6b6 (bug 1742437)
Backed out changeset 967e68ed5f56 (bug 1742437)
Backed out changeset 22649272ffae (bug 1742437)
Backed out changeset e3fe772947bf (bug 1742437)
Backed out changeset 467f757b6580 (bug 1742437)
Backed out changeset bf411e44f622 (bug 1742437)
Backed out changeset 130bd544f3f4 (bug 1742437)
Backed out changeset ea775927f4ab (bug 1742437)
Backed out changeset c33b42cabd55 (bug 1742437)
Backed out changeset 0a3d9301244b (bug 1742437)
Backed out changeset 46d45c7bae2f (bug 1742437)
2022-02-18 15:14:56 +02:00
Yulia Startsev bb2c17bae7 Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D138133
2022-02-18 12:45:53 +00:00
Norisz Fay 4c85ac47c5 Backed out 12 changesets (bug 1742437) for causing Bp-hybrid bustages on ModuleLoader.obj
Backed out changeset 7d5683180ac3 (bug 1742437)
Backed out changeset a48aff5f2555 (bug 1742437)
Backed out changeset 7e54a223001d (bug 1742437)
Backed out changeset 3a34d557d474 (bug 1742437)
Backed out changeset f29451ea18dc (bug 1742437)
Backed out changeset c0bd1d29be62 (bug 1742437)
Backed out changeset 8b970fb6e4e6 (bug 1742437)
Backed out changeset 729c48e34d6b (bug 1742437)
Backed out changeset 9355004c7f6a (bug 1742437)
Backed out changeset 0a5f61274aed (bug 1742437)
Backed out changeset a50f60a612d3 (bug 1742437)
Backed out changeset 0ac6d9d26e2b (bug 1742437)
2022-02-18 00:00:41 +02:00
Yulia Startsev 499559431e Bug 1742437 - re-scope all generic module/script loader files under js/loader; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D138133
2022-02-17 15:57:52 +00:00
Gijs Kruitbosch 2f5e29730a Bug 1753004, r=mhowell
Depends on D138641

Differential Revision: https://phabricator.services.mozilla.com/D138321
2022-02-15 17:08:09 +00:00
Gijs Kruitbosch 6d69d00a5d Bug 1753004, r=dveditz,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D138320
2022-02-15 17:08:08 +00:00
Mark Banner 4c2eeb7443 Bug 1755297 - Match ESLint's definition of structuredClone to where it is actually defined. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D138656
2022-02-15 15:19:19 +00:00
Noemi Erli b8f5c4835b Backed out 3 changesets (bug 1753004) for causing xpc failures in test_DownloadsViewableInternally.js CLOSED TREE
Backed out changeset 2846598b65fd (bug 1753004)
Backed out changeset 05000c4c936d (bug 1753004)
Backed out changeset 372676134ff5 (bug 1753004)
2022-02-14 21:48:12 +02:00
Gijs Kruitbosch 4a844f9dd4 Bug 1753004, r=mhowell
Depends on D138320

Differential Revision: https://phabricator.services.mozilla.com/D138321
2022-02-14 14:48:05 +00:00
Gijs Kruitbosch ff67cf75ad Bug 1753004, r=dveditz,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D138320
2022-02-14 14:48:04 +00:00
Paul Zuehlcke 7509317856 Bug 1745253 - Test, r=Gijs
Depends on D133392

Differential Revision: https://phabricator.services.mozilla.com/D133393
2022-02-14 12:06:52 +00:00
Iulian Moraru 5451258987 Backed out 2 changesets (bug 1753004) for causing mochitest failures on browser_download_open_with_internal_handler.js. CLOSED TREE
Backed out changeset 038f733be6ef (bug 1753004)
Backed out changeset bede2b364102 (bug 1753004)
2022-02-12 01:09:41 +02:00
Gijs Kruitbosch 912854cac5 Bug 1753004, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D138321
2022-02-11 21:13:37 +00:00
Gijs Kruitbosch 0bb0b4ea48 Bug 1753004, r=dveditz,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D138320
2022-02-11 21:13:36 +00:00
Marian-Vasile Laza 2f69192421 Backed out 2 changesets (bug 1753004) for causing build bustages. CLOSED TREE
Backed out changeset 872873e809a6 (bug 1753004)
Backed out changeset 9297082bf5aa (bug 1753004)
2022-02-11 19:45:55 +02:00
Gijs Kruitbosch 1c9aed5e46 Bug 1753004, r=mhowell
Depends on D138320

Differential Revision: https://phabricator.services.mozilla.com/D138321
2022-02-11 17:12:45 +00:00
Gijs Kruitbosch 247b19e16e Bug 1753004, r=dveditz,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D138320
2022-02-11 17:12:45 +00:00
Nika Layzell dabb46c84d Bug 1736371 - Default new actors to be refcounted, r=alwu,media-playback-reviewers,mccr8
The changes to ipdl actors were mechanical, and largely automated using
a script.

Differential Revision: https://phabricator.services.mozilla.com/D137237
2022-02-09 17:29:47 +00:00
Nika Layzell 91ec85c593 Bug 1752444 - Part 2: Rewrite direct_call.py protocols to use {Parent,Child}Impl attributes, r=ipc-reviewers,media-playback-reviewers,alwu,mccr8
This is a mechanical change which was performed by a script based on the
contents of direct_call.py, and then manually checked over to fix
various rewriting bugs caused by my glorified sed script. See the
previous part for more context on the change.

Differential Revision: https://phabricator.services.mozilla.com/D137227
2022-02-09 17:29:46 +00:00
Gijs Kruitbosch 8b7a982629 Bug 1752482 - skip browser_open_internal_choice_persistence.js on apple silicon for now, r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137988
2022-02-07 10:34:37 +00:00
Gijs Kruitbosch 15c60c9587 Bug 1750253 - stop infinite file handling loops by checking if we're about to pass files to ourselves via the OS, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136693
2022-02-03 11:25:59 +00:00
Gijs Kruitbosch f5c8fd7927 Bug 1752996, r=mhowell,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D137523
2022-02-03 00:30:16 +00:00
Cristian Tuns aa70ef628f Backed out changeset a384c409bd44 (bug 1752996) for causing build bustages on Unified_cpp_uriloader_exthandler CLOSED TREE 2022-02-02 10:10:18 -05:00
Gijs Kruitbosch 461a5730d6 Bug 1752996, r=mhowell,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D137523
2022-02-02 14:29:04 +00:00
Olli Pettay 009ee0ad5c Bug 1752413, add nsIWebProgress.documentRequest to let one to access the request for the document, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D137212
2022-02-01 15:46:32 +00:00
Gijs Kruitbosch 750f89b4d1 Bug 1752159, r=mhowell,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D137145
2022-01-27 23:49:37 +00:00
Sandor Molnar e540bd140b Backed out changeset 47b92c53d99d (bug 1750253) for causing bc failures in uriloader/exthandler/tests/mochitest/browser_open_internal_choice_persistence.js CLOSED TREE 2022-01-26 22:04:00 +02:00
Gijs Kruitbosch a8eecb0574 Bug 1750253 - stop infinite file handling loops by checking if we're about to pass files to ourselves via the OS, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136693
2022-01-26 14:54:34 +00:00
Alexandru Michis 57fe40e9f7 Backed out changeset 2a43fb1b7fef (bug 1750253) for causing bc failures in browser_local_files_open_doesnt_duplicate.js 2022-01-26 02:24:42 +02:00
Gijs Kruitbosch 005bc8b0fc Bug 1750253 - stop infinite file handling loops by checking if we're about to pass files to ourselves via the OS, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136693
2022-01-25 23:25:33 +00:00
Gijs Kruitbosch 867dbaa85b Bug 1678965 - Part 2: set cross opener group for openLinkIn tabs opened as new tabs, r=dao
Depends on D100152

Differential Revision: https://phabricator.services.mozilla.com/D136176
2022-01-25 17:42:45 +00:00
Valentin Gosu 0c8d39e234 Bug 1705202 - Strip user & password from FTP schemes when going through webhandler r=Gijs
According to https://github.com/mozilla/standards-positions/issues/513
the safe thing to do for FTP URLs when using a protocol handler is to strip
the credentials from them first.

This also adds a test that makes sure credentials are stripped when using
a web protocol handler.

Differential Revision: https://phabricator.services.mozilla.com/D136597
2022-01-21 18:49:01 +00:00
lyavor 11c0f63d58 Bug 1745650 - If a download upgrades to https via httpsFirst-/httpsOnly - mode it fails. r=ckerschb,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D133882
2022-01-20 14:14:10 +00:00
Gijs Kruitbosch ecb2a8338b Bug 1750042 - local files that trip the 'what do you want to do with this file' dialog should open from their initial location, r=mhowell,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D136401
2022-01-19 23:48:19 +00:00
Geoff Lankow dc79c103b5 Bug 1750466 - Stop adding default mailto: handlers in Thunderbird. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D136291
2022-01-19 21:15:48 +00:00
Paul Zuehlcke 6b498d4f28 Bug 1748851 - Show precursorPrincipal prePath for external protocol permission dialogs triggered by opaque origins. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D136242
2022-01-19 10:14:17 +00:00
Gijs Kruitbosch fb5e92c221 Bug 1742260 - have 'save link' in download spam protection test finish downloading before we finish the test to fix intermittent failures, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D136179
2022-01-18 18:20:35 +00:00
criss 7003e86117 Backed out 2 changesets (bug 1745650) for causing build bustages on browser_download_slow. CLOSED TREE
Backed out changeset 32bac3160aa5 (bug 1745650)
Backed out changeset 336d3cfecad2 (bug 1745650)
2022-01-17 15:53:10 +02:00
lyavor 0159626046 Bug 1745650 - If a download upgrades to https via httpsFirst-/httpsOnly - mode it fails. r=ckerschb,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D133882
2022-01-17 13:19:42 +00:00
Paul Zuehlcke 7ab30db7fe Bug 1736543 - Tests, r=xpcom-reviewers,nika
Depends on D128630

Differential Revision: https://phabricator.services.mozilla.com/D128631
2022-01-17 12:09:52 +00:00
Cristian Tuns cb6d193f17 Backed out 2 changesets (bug 1745650) for causing mochitest failures on browser_slow_download.js CLOSED TREE
Backed out changeset 98712a0ace1e (bug 1745650)
Backed out changeset efb69ab57dc9 (bug 1745650)
2022-01-14 08:02:45 -05:00
lyavor 68ea9d8493 Bug 1745650 - If a download upgrades to https via httpsFirst-/httpsOnly - mode it fails. r=ckerschb,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D133882
2022-01-14 11:53:20 +00:00
Mike Kaply 0b3cfeaed2 Bug 1733497 - Remove region.properties. r=geckoview-reviewers,m_kato,flod
Differential Revision: https://phabricator.services.mozilla.com/D134427
2022-01-13 21:18:30 +00:00
Cristian Tuns 98a512a1b6 Backed out 2 changesets (bug 1745650) for causing mochitest failures on browser_slow_download.js CLOSED TREE
Backed out changeset 7f7864031ae3 (bug 1745650)
Backed out changeset 23081f3b923f (bug 1745650)
2022-01-07 08:07:51 -05:00
lyavor 8b1cb2caad Bug 1745650 - If a download upgrades to https via httpsFirst-/httpsOnly - mode it fails. r=ckerschb,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D133882
2022-01-07 12:18:32 +00:00
Katherine Patenio 024fdf5a8d Bug 1741431 - fix Save Link As... for plain text files when download improvements pref is enabled r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134477
2022-01-06 04:09:50 +00:00
Csoregi Natalia 2f0f82ae58 Backed out 2 changesets (bug 1745650) for failures on browser_slow_download.js. CLOSED TREE
Backed out changeset f94ea51101a1 (bug 1745650)
Backed out changeset dd8809f8bb92 (bug 1745650)
2022-01-03 20:24:32 +02:00
lyavor 1f39d39c47 Bug 1745650 - If a download upgrades to https via httpsFirst-/httpsOnly - mode it fails. r=ckerschb,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D133882
2022-01-03 17:25:45 +00:00
Masatoshi Kimura d239dee2d2 Bug 1680139 - Stop re-escaping IDN blocklisted characters in uriloader/exthandler/. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134656
2021-12-30 20:59:12 +00:00
Narcis Beleuzu a18766749b Backed out changeset fbeb948af56d (bug 1680139) for bc failures browser_download_open_with_internal_handler.js 2021-12-30 20:17:25 +02:00
Masatoshi Kimura 04fd3c299a Bug 1680139 - Stop re-escaping IDN blocklisted characters in uriloader/exthandler/. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D134656
2021-12-30 17:32:05 +00:00
Mike Hommey fce6eb7d83 Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-23 20:29:07 +00:00
Kagami Sascha Rosylight 1af44698e9 Bug 1539884 - Part 33: Mark nsDocLoader::DocLoaderIsEmpty as CAN_RUN_SCRIPT r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D134416
2021-12-23 16:27:25 +00:00
Cristian Tuns e1e31e01f2 Backed out 2 changesets (bug 1747165) for causing nightly blockers(bustages) a=backout
Backed out changeset 4b1ab0915c94 (bug 1747165)
Backed out changeset 96043d814772 (bug 1747165)
2021-12-23 08:00:54 -05:00
Mike Hommey b55194a16f Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-22 23:56:24 +00:00
Sam Foster 57b6662c96 Bug 1738916 - when users want asking where to save files, do not ask for files automatically opened with helper applications, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D133957
2021-12-21 22:20:26 +00:00
Butkovits Atila f34d31e093 Backed out changeset 00c6ddc131a4 (bug 1738916) for causing failures at browser_default_audio_filename.js . CLOSED TREE 2021-12-21 15:48:12 +02:00
Sam Foster b002b9f187 Bug 1738916 - when users want asking where to save files, do not ask for files automatically opened with helper applications, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D133957
2021-12-21 12:48:04 +00:00
Anny Gakhokidze a4eca0ad6f Bug 1721217 - Part 6: Don't cancel concurrent loads if they are downloads, r=nika,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126846
2021-12-16 22:27:17 +00:00
Anny Gakhokidze e287016843 Bug 1721217 - Part 3: Fix tests that try to open URIs for download, r=nika,preferences-reviewers
Previously, the tests were waiting for the load event, which was being emitted
for the initial about:blank. With the pref enabled, this event is no longer
propagated/fired to the content process. Instead of notifying the content
process that it needs to emit a load event for about:blank, we can instead make
the tests wait for a STATE_STOP event.

Differential Revision: https://phabricator.services.mozilla.com/D126843
2021-12-16 22:27:16 +00:00
Peter Van der Beken a33a4db25e Bug 1744397 - Simplify refresh code: pass around delay as an unsigned int. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132863
2021-12-16 22:27:08 +00:00
Norisz Fay 333caceb64 Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Peter Van der Beken bfbe9b27fe Bug 1744397 - Simplify refresh code: pass around delay as an unsigned int. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132863
2021-12-14 10:14:00 +00:00
Bernard Igiri a34452e314 Bug 1733621 - Verify that user preferences are honored when improvements_to_download_panel is set r=Gijs
Added unit tests to verify that various file types and header configurations follow the mime preferredAction settings correctly when improvements_to_download_panel is set.

Differential Revision: https://phabricator.services.mozilla.com/D127759
2021-12-09 14:47:17 +00:00
Nick Alexander 02dda268a6 Bug 1742879 - Let `Cu.createCommandLine` accept arguments and state. r=nika
There's a lot of history in this area that mostly explains why this
has not been supported in the past, leading to several awkward
workarounds in tests.  But it doesn't appear that there's any reason
to prevent tests from creating actual command lines, so that's what we
allow here.

I've elected to flesh out `Cu.createCommandLine` rather than expose
`.init(..._)` directly since `Cu.createCommandLine` is already used in
the relevant tests and is only used in tests.  And I've made the
arguments required, rather than optional, so that consumers think
about the arguments, in particular `state`.

Differential Revision: https://phabricator.services.mozilla.com/D132089
2021-12-02 19:06:44 +00:00
Noemi Erli 4aa2f8759e Backed out 2 changesets (bug 1742879) for causing build bustage in nsDebug.h CLOSED TREE
Backed out changeset 994d0986757c (bug 1742879)
Backed out changeset d4b8e45faaec (bug 1742879)
2021-12-02 09:34:25 +02:00
Nick Alexander a8c4c5c97b Bug 1742879 - Let `Cu.createCommandLine` accept arguments and state. r=nika
There's a lot of history in this area that mostly explains why this
has not been supported in the past, leading to several awkward
workarounds in tests.  But it doesn't appear that there's any reason
to prevent tests from creating actual command lines, so that's what we
allow here.

I've elected to flesh out `Cu.createCommandLine` rather than expose
`.init(..._)` directly since `Cu.createCommandLine` is already used in
the relevant tests and is only used in tests.  And I've made the
arguments required, rather than optional, so that consumers think
about the arguments, in particular `state`.

Differential Revision: https://phabricator.services.mozilla.com/D132089
2021-12-02 04:02:07 +00:00
Gijs Kruitbosch e36840652c Bug 1705211, r=nika,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D131856
2021-12-01 12:36:07 +00:00
Chris Peterson f6fdbf028a Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium
-Wshadow warnings are not enabled globally, so these -Wno-shadow suppressions have no effect. I had intended to enable -Wshadow globally along with these suppressions in some directories (in bug 1272513), but that was blocked by other issues.

There are too many -Wshadow warnings (now over 2000) to realistically fix them all. We should remove all these unnecessary -Wno-shadow flags cluttering many moz.build files.

Differential Revision: https://phabricator.services.mozilla.com/D132289
2021-12-01 06:40:04 +00:00
Narcis Beleuzu 4c87b2e488 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
Marian-Vasile Laza 74bbbc347e Backed out changeset 9c044551012e (bug 1705211) for causing bc test failures on browser_protocol_ask_dialog_external.js. CLOSED TREE 2021-12-01 03:09:59 +02:00
Gijs Kruitbosch 9ec163c376 Bug 1705211, r=nika,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D131856
2021-11-30 23:38:57 +00:00
Anny Gakhokidze 48e144a44c Bug 1721217 - Part 6: Don't cancel concurrent loads if they are downloads, r=nika,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126846
2021-11-30 16:31:36 +00:00
Anny Gakhokidze dd2f9d54f7 Bug 1721217 - Part 3: Fix tests that try to open URIs for download, r=nika,preferences-reviewers
Previously, the tests were waiting for the load event, which was being emitted
for the initial about:blank. With the pref enabled, this event is no longer
propagated/fired to the content process. Instead of notifying the content
process that it needs to emit a load event for about:blank, we can instead make
the tests wait for a STATE_STOP event.

Differential Revision: https://phabricator.services.mozilla.com/D126843
2021-11-30 16:31:35 +00:00
Micah Tigley 0732a24662 Bug 1739145 - Create the DownloadSpamProtection module when needed. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D132178
2021-11-26 22:58:01 +00:00
Butkovits Atila 997b16c37a Backed out changeset 0b1c2e4169ab (bug 1739145) for causing failures at browser_download_spam_protection.js. CLOSED TREE 2021-11-26 19:10:38 +02:00
Micah Tigley 5840184c47 Bug 1739145 - Create the DownloadSpamProtection module when needed. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D132178
2021-11-26 16:35:11 +00:00
Narcis Beleuzu a322582a00 Backed out 11 changesets (bug 1721217) for bc failures on browser_scrollPositions.js . CLOSED TREE
Backed out changeset 750f4a84b30e (bug 1721217)
Backed out changeset c4eb4ad769ad (bug 1721217)
Backed out changeset 81af11d67439 (bug 1721217)
Backed out changeset 548f2441b7c6 (bug 1721217)
Backed out changeset cd584129321a (bug 1721217)
Backed out changeset f5f5291d1da8 (bug 1721217)
Backed out changeset 9ad66ceec1e2 (bug 1721217)
Backed out changeset 10b53a21bb23 (bug 1721217)
Backed out changeset 3755cfbe22fe (bug 1721217)
Backed out changeset 71436dc6c4c4 (bug 1721217)
Backed out changeset ecf33b73ae60 (bug 1721217)
2021-11-26 01:51:03 +02:00
Anny Gakhokidze 600c61e9f6 Bug 1721217 - Part 6: Don't cancel concurrent loads if they are downloads, r=nika,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126846
2021-11-25 20:40:58 +00:00
Anny Gakhokidze eb4cd509d5 Bug 1721217 - Part 3: Fix tests that try to open URIs for download, r=nika,preferences-reviewers
Previously, the tests were waiting for the load event, which was being emitted
for the initial about:blank. With the pref enabled, this event is no longer
propagated/fired to the content process. Instead of notifying the content
process that it needs to emit a load event for about:blank, we can instead make
the tests wait for a STATE_STOP event.

Differential Revision: https://phabricator.services.mozilla.com/D126843
2021-11-25 20:40:57 +00:00
Neil Deakin cc92684988 Bug 1742823, handle pdf in this test when improvements pref is either on or off, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D132044
2021-11-24 20:13:20 +00:00
ssummar b9d6fce436 Bug 1530209 - Removed context argument from various methods. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D129797
2021-11-24 11:25:41 +00:00
Ava Katushka ava8katushka 0acad0b8d2 Bug 1725354 - Download panel shows blocked download item. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D123943
2021-11-23 17:13:39 +00:00
Micah Tigley 664bf584e2 Bug 1740142 - Rename LaunchWithApplication to SetDownloadToLaunch. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131714
2021-11-23 16:18:50 +00:00
Narcis Beleuzu 9275af0574 Bug 1719892 - Fix lint failure on browser_shows_where_to_save_dialog.js. a=lint-fix CLOSED TREE 2021-11-23 18:16:25 +02:00
Marian-Vasile Laza efc39e6017 Bug 1719892 - lint fix r=fix 2021-11-23 17:18:38 +02:00
Neil Deakin a2e1f72f45 Bug 1719892, when pdfs are set to open internally, open downloads or responses marked as content-disposition: attachment directly using the pdf viewer instead of downloading them locally first, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D131004
2021-11-23 14:56:17 +00:00
Neil Deakin 02e36bd84b Bug 1719892, have some download tests use svg instead of pdf as otherwise the pdf viewer will open instead of downloading, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D131003
2021-11-23 14:56:17 +00:00
Neil Deakin 639f4e1dc0 Bug 1719892, copy mime handler action over to child process properly, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D131001
2021-11-23 14:56:16 +00:00
Neil Deakin d880340507 Bug 1737696, skip spam check for downloads that were saved; this allows the save link context menu item to work properly, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D130999
2021-11-20 12:45:28 +00:00
Katherine Patenio cf8aa80ecf Bug 1736924 - create one-time migration for alwaysAsk mimetype prefs to saveToDisk if downloads improvements pref is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D130136
2021-11-17 23:31:24 +00:00
Katherine Patenio 35d7e08ca3 Bug 1738129 - fix Save Link As... for PDF files to show save dialog with downloads improvements pref enabled. r=Gijs,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D131310
2021-11-17 18:35:44 +00:00
Andi-Bogdan Postelnicu 1faa3d40cf Bug 1519636 - Reformat recent changes to the Google coding style. r=firefox-build-system-reviewers,mhentges,sylvestre
Reformat with clang-format version 12.0.1 (taskcluster-FYV2l5wGTseBAhiqf8cxfQ)

Differential Revision: https://phabricator.services.mozilla.com/D131114
2021-11-16 08:07:29 +00:00
Molly Howell 2a6b869a5a Bug 1738111 - Look up handler apps by file extension if one exists when enumerating handlers. r=Gijs,mtigley
We're getting false negatives when checking for handler apps (at least on
Windows) because we're not bringing file extensions in that process even when
we know at least one we could use, we're only looking up associations based on
MIME types. That isn't reliable on Windows, so this patch adds the first
extension that we have stored in the handlers database to the search
parameters, which makes us more likely to find a handler if one is registered.

Differential Revision: https://phabricator.services.mozilla.com/D130526
2021-11-10 20:38:22 +00:00
Neil Deakin a14798e96b Bug 1736864, add tests that verify download telemetry for different types of download scenarios, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129555
2021-11-10 18:52:23 +00:00
Neil Deakin 5bfbeb4ba6 Bug 1736864, add telemetry when the external helper service is invoked to handle a content type, specifying the action to take and some details about the data to download, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129150
2021-11-10 18:52:23 +00:00
Micah Tigley c5b670aac0 Bug 1738601 - Ensure internally handled files are created only once when save destination is prompted. r=mhowell,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D130411
2021-11-09 19:31:19 +00:00
criss fc61236ded Backed out changeset 07410d76eca4 (bug 1738601) for causing failures on browser_shows_where_to_save_dialog.js. CLOSED TREE 2021-11-09 03:14:38 +02:00
Micah Tigley 4dbb2de33b Bug 1738601 - Ensure internally handled files are created only once when save destination is prompted. r=mhowell,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D130411
2021-11-09 00:20:56 +00:00
Narcis Beleuzu 497da78210 Backed out changeset a9a15832f816 (bug 1725354) for bc failures on browser_download_privatebrowsing.js 2021-11-05 23:22:42 +02:00
Ava Katushka ava8katushka 89f2c5883c Bug 1725354 - Download panel shows blocked download item. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D123943
2021-11-05 20:12:43 +00:00
Agi Sferro 8c6612b46b Bug 1738966 - Pass in argc, argv in GreOmniPath. r=kershaw,valentin
A call to InitCommandLine was added in Bug 1727180 where gArgc and gArgv are
not defined.

The same bug also re-enabled some tests that appeared to pass (but really they
were just silently crashing), this patch fixes that too.

Differential Revision: https://phabricator.services.mozilla.com/D130223
2021-11-03 16:31:06 +00:00
Cristian Tuns 33910a7b41 Backed out changeset b855af57f71a (bug 1725354) for causing mochitest failures on test_third_party_iframes.html CLOSED TREE 2021-11-03 12:45:48 -04:00
Ava Katushka ava8katushka 21c6ae4572 Bug 1725354 - Download panel shows blocked download item. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D123943
2021-11-03 15:31:13 +00:00
Gijs Kruitbosch 39b09ddee9 Bug 1737926 - cope with the default downloads directory not existing on some Linux systems, r=mtigley,mhowell
This doesn't break without the download improvement pref because
in that case we don't save the file immediately to the downloads
dir. Instead, it gets moved there by toolkit code, which has
fallback logic: https://searchfox.org/mozilla-central/rev/4cfc1d8874e5409e7475c6cbb0409e3f566a162e/toolkit/components/downloads/DownloadIntegration.jsm#317,336

This patch fixes the uriloader code to employ the same fallback.

Differential Revision: https://phabricator.services.mozilla.com/D129996
2021-11-03 00:08:06 +00:00
Sandor Molnar 9c788583c9 Backed out changeset 087b77b0d061 (bug 1737926) for causing browser-chrome failures in browser_bad_download_dir. CLOSED TREE 2021-11-03 01:23:54 +02:00
Gijs Kruitbosch 9f898868d4 Bug 1737926 - cope with the default downloads directory not existing on some Linux systems, r=mtigley,mhowell
This doesn't break without the download improvement pref because
in that case we don't save the file immediately to the downloads
dir. Instead, it gets moved there by toolkit code, which has
fallback logic: https://searchfox.org/mozilla-central/rev/4cfc1d8874e5409e7475c6cbb0409e3f566a162e/toolkit/components/downloads/DownloadIntegration.jsm#317,336

This patch fixes the uriloader code to employ the same fallback.

Differential Revision: https://phabricator.services.mozilla.com/D129996
2021-11-02 22:20:17 +00:00
Kershaw Chang 34f9cb2633 Bug 1727180 - Call XRE_InitCommandLine for xpcshell, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D124890
2021-11-02 16:01:10 +00:00
Sam Foster 70d1f98445 Bug 1736749 - ensure we alwaysAskBeforeHandling downloads in browser_download_open_with_internal_handler.js to verify unknown-content-type dialog behavior when download improvements are flipped on. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D129095
2021-10-21 10:37:16 +00:00
Gijs Kruitbosch f6fb4363bc Bug 1736103 - fix download file extension correction test some more for the no-download-modal case, r=sfoster
On try and on my machine, after D128648 the test still times out because
for the test_broken_saved_handlerinfo_and_useless_mimetypes test, first
awaiting the `task` that gets passed means that the download has already
finished by the time we create the download finished promise.

This patch moves creating that promise before the `task` is started.
It also broadens the conditions in which we await this promise, because
in the case without file extensions and without a dialog, we were otherwise
no longer awaiting anything, which meant that the next test's check for
a finished download would resolve with the previous test's download, causing
confusion/breakage.

Differential Revision: https://phabricator.services.mozilla.com/D128916
2021-10-20 09:38:27 +00:00
Joel Maher fed2831742 Bug 1727943 - turn on mochitest* tests that were skipped on win10-ccov and now pass. r=MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D128817
2021-10-19 20:01:29 +00:00
Molly Howell 3a5d8adfe1 Bug 1736103 - Fix the download file extension correction test to not depend on the download modal when it is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128648
2021-10-19 14:48:30 +00:00
Gijs Kruitbosch 7fa72ca48d Bug 1735368 - ensure we also test saving closing windows when saving downloads to disk, r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D128629
2021-10-19 10:35:47 +00:00
Gijs Kruitbosch d197b20357 Bug 1735368 - fix browser_auto_close_window.js so it passes with download improvements enabled and when asking for all downloads, r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D128628
2021-10-19 10:35:46 +00:00
Paul Zuehlcke fa3d978f5d Bug 1696685 - r=xpcom-reviewers,necko-reviewers,valentin,nika
Differential Revision: https://phabricator.services.mozilla.com/D128630
2021-10-19 10:17:03 +00:00
criss 2ee81d4656 Backed out changeset 346bcc20a94e (bug 1696685) for causing bustages on nsEscape.h. CLOSED TREE 2021-10-19 12:59:41 +03:00
Paul Zuehlcke 54d4322ca1 Bug 1696685 - r=xpcom-reviewers,necko-reviewers,valentin,nika
Differential Revision: https://phabricator.services.mozilla.com/D128630
2021-10-19 09:34:08 +00:00
Evgenia Kotovich 0d0980ee0d 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 2bba3cec69 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Noemi Erli 13f49dc940 Backed out 2 changesets (bug 1735368) for causing failures in browser_extension_correction.js
Backed out changeset 76af648f5fb2 (bug 1735368)
Backed out changeset 609299c8386b (bug 1735368)
2021-10-18 01:59:00 +03:00
Gijs Kruitbosch ebea326363 Bug 1735368 - ensure we also test saving closing windows when saving downloads to disk, r=sfoster
Depends on D128628

Differential Revision: https://phabricator.services.mozilla.com/D128629
2021-10-17 21:31:20 +00:00
Gijs Kruitbosch 0931eaffcf Bug 1735368 - fix browser_auto_close_window.js so it passes with download improvements enabled and when asking for all downloads, r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D128628
2021-10-17 21:31:20 +00:00
Evgenia Kotovich 3e3dff109c 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
Katherine Patenio 8b992356e1 Bug 1724319 - fix browser_open_internal_choice_persistence when downloads pref is enabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D125485
2021-10-15 19:32:38 +00:00
Sam Foster 918f63c73f Bug 1735843 - Fix handler logic in HandlerServiceTestUtils and browser_externalLinkBlanksPage.js to work when download improvements are enabled. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D128548
2021-10-15 18:43:07 +00:00
Alexandru Michis dac6815201 Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich a8b32926fa 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
Molly Howell 04fb36a97c Bug 1735877 - Check for the download improvements pref in a couple of places where it changes behaviors that are verified by this test. r=Gijs
I also added a comment to try and keep anyone else from spending as long as I
did fretting over one particular check in this test.

Differential Revision: https://phabricator.services.mozilla.com/D128506
2021-10-14 22:54:54 +00:00
Micah Tigley 2c43dd5982 Bug 1735414 - Protocol handlers should be set to always ask before handling. r=mhowell,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D128495
2021-10-14 17:05:18 +00:00
Gijs Kruitbosch c062f5bab3 Bug 1734687 - fix mochitest plain tests to pass with/without improvements_to_downloads changes, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D127871
2021-10-12 08:31:29 +00:00
Cristian Tuns b16dce3922 Backed out changeset c15b48000571 (bug 1734687) for causing mochitest failures on test_nullCharFile.xhtml CLOSED TREE 2021-10-11 12:22:14 -04:00
Gijs Kruitbosch 0aeb302c8a Bug 1734687 - fix mochitest plain tests to pass with/without improvements_to_downloads changes, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D127871
2021-10-11 15:02:24 +00:00
Neil Deakin 927d35d601 Bug 1733492, unknown content type dialog not always appearing when always ask is set in preferences for a type, r=mtigley
This defaults the always ask setting for a type to false when the download panel improvements preference is enabled, and adjusts the external helper apps service so that it properly uses the always ask flag in all cases

Differential Revision: https://phabricator.services.mozilla.com/D127850
2021-10-08 00:17:12 +00:00
Noemi Erli 359bdcc7a2 Backed out changeset 4a54d16de0c1 (bug 1734687) for causing failures in test_nullCharFile.xhtml 2021-10-08 03:04:31 +03:00
Gijs Kruitbosch 5508a54a1a Bug 1734687 - fix mochitest plain tests to pass with/without improvements_to_downloads changes, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D127871
2021-10-07 20:14:39 +00:00
Jens Stutte 29908b27d6 Bug 1731564: Use motivated SpinEventLoopUntil inside uriloader/*. r=smaug
Depends on D127234

Differential Revision: https://phabricator.services.mozilla.com/D127235
2021-10-07 08:06:15 +00:00
Marian-Vasile Laza 18fb16c542 Backed out 18 changesets (bug 1731564) for causing build bustages on SpinEventLoopUntil. CLOSED TREE
Backed out changeset 0464dbdc8584 (bug 1731564)
Backed out changeset 0d996df13545 (bug 1731564)
Backed out changeset 5630a0e7a109 (bug 1731564)
Backed out changeset 37b41d187cdb (bug 1731564)
Backed out changeset d37700fa60b6 (bug 1731564)
Backed out changeset b0ce7db44b99 (bug 1731564)
Backed out changeset aa5ec3aa1535 (bug 1731564)
Backed out changeset 73b648f1fa70 (bug 1731564)
Backed out changeset bb8fb0f9833e (bug 1731564)
Backed out changeset 0d8905144f5d (bug 1731564)
Backed out changeset 2cfb094a1ec3 (bug 1731564)
Backed out changeset 78d3b0257a6a (bug 1731564)
Backed out changeset e9d32926e93c (bug 1731564)
Backed out changeset 874cab520ce5 (bug 1731564)
Backed out changeset d8071cc32bd9 (bug 1731564)
Backed out changeset 283c5393cbbc (bug 1731564)
Backed out changeset 317bc38e3de5 (bug 1731564)
Backed out changeset 53e3f4862439 (bug 1731564)
2021-10-07 00:09:19 +03:00
Jens Stutte 8928410e6c Bug 1731564: Use motivated SpinEventLoopUntil inside uriloader/*. r=smaug
Depends on D127234

Differential Revision: https://phabricator.services.mozilla.com/D127235
2021-10-06 19:45:17 +00:00
Gijs Kruitbosch aba02e9455 Bug 1724319 - fix storing of user preferences for protocol handler registrations with download improvements pref, r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D127463
2021-10-05 10:48:52 +00:00
Michelle Goossens c159e29e05 Bug 1727943 - Part 2: Migrate mochitest, reftest and crashtest Windows 10 ccov suites from AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D125350
2021-09-28 15:27:39 +00:00
Micah Tigley 0743fa1388 Bug 1731668 - Move downloads spam prevention work behind a pref. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D126296
2021-09-22 22:38:17 +00:00
Cristian Tuns 676acd6c27 Backed out changeset 03a33d194255 (bug 1731668) for causing mochitest failures on browser_download_spam_permissions.js. CLOSED TREE 2021-09-22 12:23:56 -04:00
Micah Tigley 5ecbe6bdff Bug 1731668 - Move downloads spam prevention work behind a pref. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D126296
2021-09-22 15:26:59 +00:00
Molly Howell 891f5f0e2f Bug 1724319 - Fix test_handlerService_store.js when new download changes are enabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D125772
2021-09-16 17:42:07 +00:00
Micah Tigley 136593a67b Bug 1730891 - Set default preferredAction for handling files to save directly to disk on GNOME environments. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D125687
2021-09-15 17:36:14 +00:00
Mark Banner 14aedbb785 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 e0f4b9b5fe 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 3cfdb5c41a 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
Florian Quèze 998adb18ea Bug 1728760 - require all nsITimerCallback native implementations to also implement nsINamed, r=smaug.
Differential Revision: https://phabricator.services.mozilla.com/D124349
2021-09-07 08:01:18 +00:00
Mark Banner 11bfa90d06 Bug 1602940 - Automated replacements to use Services.uuid. r=Gijs,necko-reviewers,preferences-reviewers,kershaw
Depends on D124391

Differential Revision: https://phabricator.services.mozilla.com/D124392
2021-09-06 09:53:52 +00:00
Ava Katushka ava8katushka 79de8d7ca7 Bug 1725353 - Store download permissions for the websites with multiple automatic downloads. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D119512
2021-09-01 12:14:07 +00:00
Butkovits Atila be9c0ff754 Backed out changeset 98818382d811 (bug 1725353) for creating leaks failures. CLOSED TREE 2021-08-26 02:34:50 +03:00
Ava Katushka ava8katushka a1efc583bb Bug 1725353 - Store download permissions for the websites with multiple automatic downloads. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D119512
2021-08-25 22:13:57 +00:00
Ava Katushka ava8katushka 6cc1c2c5b3 Bug 1726732 Returning the code solving filename disclosure in tmp dir. r=emk,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D123219
2021-08-25 14:50:22 +00:00
Andi-Bogdan Postelnicu 2fc4f70e9b Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
Ava Katushka ava8katushka e20eaf1409 Bug 1726537 Delete dead code creating extra path in downloads. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D123116
2021-08-19 16:27:49 +00:00
Peter Van der Beken 1d099d0913 Bug 1706347 - Check mOOPChildrenLoading when deciding to put page in BFCache with Fission enabled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117199
2021-08-16 09:08:33 +00:00
Sebastian Hengst 30cca9cb15 Backed out changeset f912045db98d (bug 1706347) for causing content crashes (bug 1725558). a=backout DONTBUILD 2021-08-13 11:19:42 +02:00
Peter Van der Beken f78596c95a Bug 1706347 - Check mOOPChildrenLoading when deciding to put page in BFCache with Fission enabled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117199
2021-08-12 14:11:29 +00:00
Ava Katushka ava8katushka cb852bdc51 Bug 1714107 - File opened by application is saved to user configured dir. r=mtigley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122005
2021-08-11 13:06:14 +00:00
Geoff Brown 664426469c Bug 1724296 - Remove many skip-if(verify) test annotations (xpcshell); r=jmaher,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D121926
2021-08-06 13:25:50 +00:00
Sebastian Streich 0818b99745 Bug 1721146 - Fix Missing ReferrerInfo on Blocked Downloads r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121608
2021-08-06 12:22:59 +00:00
Alexandru Michis 661015792f Backed out changeset 1c892391a0e1 (bug 1721146) for causing dt failures in browser_console_clear_cache.js
CLOSED TREE
2021-08-04 17:09:12 +03:00
Sebastian Streich 68c14d7f64 Bug 1721146 - Fix Missing ReferrerInfo on Blocked Downloads r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121608
2021-08-04 12:41:16 +00:00
Ava Katushka ava8katushka dfb7aabce2 Bug 1719901 - Show "Save as dialog" instead of "Unknown Content" dialog. r=mtigley,Gijs,preferences-reviewers
Also solves 1719902 - the default system action is changed from "opening with file" to saving.

Differential Revision: https://phabricator.services.mozilla.com/D120839
2021-08-03 20:42:21 +00:00
Iulian Moraru a38ff322aa Backed out changeset 6bcd0226a473 (bug 1721146) for causing xpcshell failures on test_DownloadLegacy.js. CLOSED TREE 2021-08-03 17:54:05 +03:00
Sebastian Streich fd0013fc0c Bug 1721146 - Fix Missing ReferrerInfo on Blocked Downloads r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121608
2021-08-03 13:51:02 +00:00
Gijs Kruitbosch 99251553e0 Bug 1717314 - do not force a dialog for https-redirect-to-external-protocol links from external sources, r=nika,pbz,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D120879
2021-08-02 12:14:23 +00:00
Sandor Molnar 9a31129771 Backed out changeset bb055da29523 (bug 1717314) for causing bc failures in browser_protocol_ask_dialog_external. CLOSED TREE 2021-07-31 01:14:15 +03:00
Gijs Kruitbosch e83ab3f744 Bug 1717314 - do not force a dialog for https-redirect-to-external-protocol links from external sources, r=nika,pbz,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D120879
2021-07-30 21:24:33 +00:00
Sebastian Streich 24b5b729d8 Bug 1706871 - Fix HandleInternally + Insecure Downloads r=mak
Differential Revision: https://phabricator.services.mozilla.com/D117412
2021-07-30 13:16:38 +00:00
Kashav Madan 5781dca888 Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D119975
2021-07-22 02:24:43 +00:00
Gijs Kruitbosch a5bac38c6e Bug 1719598 - fix unicode handling of file extensions in nsExternalHelperAppService, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D120218
2021-07-21 10:50:20 +00:00
Sandor Molnar 798b93a069 Backed out changeset 733ddb26d3b2 (bug 1719598) for causing xpc failures in test_getFromTypeAndExtension. CLOSED TREE 2021-07-21 02:08:16 +03:00
Gijs Kruitbosch 89a04cb023 Bug 1719598 - fix unicode handling of file extensions in nsExternalHelperAppService, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D120218
2021-07-20 22:20:59 +00:00
Csoregi Natalia 1b9596a92c Backed out changeset b6399ca8a2c1 (bug 1706347) for failures on iframe-cross-origin-print.sub.html. CLOSED TREE 2021-07-20 00:41:23 +03:00
Peter Van der Beken 276952b05e Bug 1706347 - Check mOOPChildrenLoading when deciding to put page in BFCache with Fission enabled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117199
2021-07-19 19:18:02 +00:00
Alexandre Poirot a4ab941009 Bug 1720304 - Implement WebProgress.browsingContext r=nika
This helps knowing which particular BrowsingContext is navigating.

Differential Revision: https://phabricator.services.mozilla.com/D119647
2021-07-19 08:28:19 +00:00
Chris Martin 44cf790576 Bug 1701794 - Use nsOSHelperAppServiceChild with Windows r=nika,haik
Currently, the Windows implemenation of nsOSHelperAppService uses COM to figure out MIME types and extension
associations. That is incompatible with Win32k lockdown.

Luckily, Haik already made a class that handles these calls in content process and either marks them as
unimplemented or-else forwards them to the main process. This seems to work fine on Windows, so it looks like all
that needs to be done is adding XP_WIN to a couple of #ifdefs and we're good to go!

Differential Revision: https://phabricator.services.mozilla.com/D118391
2021-07-12 19:41:22 +00:00
julianwels cbe6bf13ea Bug 1685737 - Older blocked mixed-content downloads get removed from download-list on restart. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D113716
2021-06-24 11:13:49 +00:00
Ava Katushka ava8katushka 267b8ebae8 Bug 1710941 - Show UnknownContentType dialog only if user set alwaysAsk to true. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117295
2021-06-17 14:44:12 +00:00
Iulian Moraru 27bb808f36 Backed out changeset a713faa51ebb (bug 1706871) for causing bc failures on browser_test_mixed_content_download.js. CLOSED TREE 2021-06-16 16:25:09 +03:00
Sebastian Streich 5982f7b637 Bug 1706871 - Fix HandleInternally + Insecure Downloads r=mak
Differential Revision: https://phabricator.services.mozilla.com/D117412
2021-06-16 12:39:09 +00:00
Sandor Molnar 1ce906a40d Backed out changeset 5fc41ac00d90 (bug 1710941) for causing mochitest failures in browser_download_skips_dialog. CLOSED TREE 2021-06-15 20:19:34 +03:00
Ava Katushka ava8katushka 382905583f Bug 1710941 - Show UnknownContentType dialog only if user set alwaysAsk to true. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117295
2021-06-15 15:57:25 +00:00
Ava Katushka b4f023ef08 Bug 1710933 - Save LaunchWithApplication downloads into downloads folder for windows and unix r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D115997
2021-06-07 13:39:03 +00:00
Emilio Cobos Álvarez dc3e79e28d Bug 1481400 - More explicitly activate checkbox in browser_protocol_ask_dialog_permission.js.
The element used to only receive the keyup event because of the
subdialog code moving around the focus.

MANUAL PUSH: Orange on a CLOSED TREE
2021-06-03 12:53:20 +02:00
Valentin Gosu b9a978d201 Bug 1599713 - Implement IsCurrentAppOSDefaultForProtocol on Linux (GTK) r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D113951
2021-05-27 06:42:56 +00:00
Gijs Kruitbosch 2d2e51253d Bug 1700976 - do not prompt for externally-opened web- or extension-handled 'external' protocols, r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D115478
2021-05-24 16:02:50 +00:00
Gijs Kruitbosch fb3d0ffc91 Bug 1712275 - avoid crashing on browsingcontext-less downloads for which we ask the user what to do with the file, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D115714
2021-05-21 21:59:59 +00:00
Sarah Ukoha a3e1a9d769 Bug 1555637 - Ask the user what to do for local files, if the file is set to save to disk automatically r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114045
2021-05-18 09:16:28 +00:00
Kris Maglione 366e008540 Bug 1696473: End subframe loads for initial about:blank document on request error. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D112289
2021-05-07 01:39:45 +00:00
Jens Stutte f2f68509d3 Bug 1690326: Add mappings for ERROR_DEVICE_HARDWARE_ERROR, ERROR_DEVICE_NOT_CONNECTED, ERROR_DISK_FULL and remove error NS_ERROR_FILE_DISK_FULL in favor of existing NS_ERROR_FILE_NO_DEVICE_SPACE r=xpcom-reviewers,necko-reviewers,nika,valentin
Win32 errors ERROR_DEVICE_HARDWARE_ERROR, ERROR_DEVICE_NOT_CONNECTED, ERROR_DISK_FULL need a mapping.
NS_ERROR_FILE_DISK_FULL is duplicate to NS_ERROR_FILE_NO_DEVICE_SPACE
Drive by: RejectJSPromise lacked some NS_ERROR_* mappings

Differential Revision: https://phabricator.services.mozilla.com/D113974
2021-05-06 14:00:06 +00:00
Kagami Sascha Rosylight 7b88bc8e6d Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 02:00:57 +00:00
Noemi Erli 13aa18b8d4 Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
Backed out changeset 3bd322893127 (bug 1707590)
Backed out changeset 8cc3eaf728b6 (bug 1707590)
Backed out changeset 21f41a9df048 (bug 1707590)
Backed out changeset 3201d860afef (bug 1707590)
2021-05-06 04:57:44 +03:00
Kagami Sascha Rosylight 46370f6828 Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 01:14:21 +00:00
Noemi Erli 3487bbd1ee Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
Backed out changeset 6edab66fe2c5 (bug 1707590)
Backed out changeset e5d2d6824408 (bug 1707590)
Backed out changeset 9c7204c3f03c (bug 1707590)
Backed out changeset 25da391baa22 (bug 1707590)
2021-05-06 02:07:42 +03:00
Kagami Sascha Rosylight c0edfd67fc Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-05 21:44:08 +00:00
Csoregi Natalia df171582fd Backed out 4 changesets (bug 1707590) for causing gtest crashes. CLOSED TREE
Backed out changeset fec7b65cc3d7 (bug 1707590)
Backed out changeset 3a7e5c98dd13 (bug 1707590)
Backed out changeset 9dfd0d516062 (bug 1707590)
Backed out changeset 9ab607973f20 (bug 1707590)
2021-05-05 22:23:06 +03:00
Kagami Sascha Rosylight 302712a161 Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-05 17:33:53 +00:00
Narcis Beleuzu fc252d1f69 Backed out changeset 5b15696335bd (bug 1696473) for xpcshell failures on test_subframe_stop_after_parent_error.js . CLOSED TREE 2021-05-05 01:12:48 +03:00
Kris Maglione c40721b2ea Bug 1696473: End subframe loads for initial about:blank document on request error. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D112289
2021-05-04 21:19:51 +00:00
Dorel Luca f8cffec171 Backed out 4 changesets (bug 1707590) for worker/checkouts/gecko/config/rules.mk. CLOSED TREE
Backed out changeset 4ccdb31e1c5a (bug 1707590)
Backed out changeset 4b69f99caf69 (bug 1707590)
Backed out changeset a3f23a20b532 (bug 1707590)
Backed out changeset f591c3da4311 (bug 1707590)
2021-05-04 20:29:51 +03:00
Kagami Sascha Rosylight b28b7b020a Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-04 15:24:54 +00:00
Iulian Moraru 7e3d199323 Backed out 4 changesets (bug 1707590) for causing build bustages. CLOSED TREE
Backed out changeset f3f40c6fb8e2 (bug 1707590)
Backed out changeset 3e76ff83ebe2 (bug 1707590)
Backed out changeset 40a3f43a2306 (bug 1707590)
Backed out changeset 01bb0e75cb82 (bug 1707590)
2021-05-04 17:11:54 +03:00
Kagami Sascha Rosylight bdd09637c2 Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-04 13:29:08 +00:00
Valentin Gosu 5aa53ddea9 Bug 1694662 - Remove OfflineCache update logic r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D106443
2021-04-30 07:20:19 +00:00
Valentin Gosu 6e7f34c437 Bug 1694662 - Remove nsICachingChannel r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D106432
2021-04-30 07:20:14 +00:00
Sebastian Streich 7e869888c3 Bug 1696064 - Keep File Destination in CreateFailedTransfer if present r=Gijs,mak
Differential Revision: https://phabricator.services.mozilla.com/D109711
2021-04-29 11:17:50 +00:00
Gijs Kruitbosch 250fcfd179 Bug 1706259 - fix styling in the protocol handler dialogs to be more like the design, r=mconley
This starts using the same spacing as commonDialog for these dialogs
with proton enabled. It also updates the checkbox spacing, alignment
and colour (bug 1705882 will fix the correct colour choice here.)

The spacing is still not ideal in the second dialog (after you click
'Choose Application') but there isn't much we can do about that unless
we get rid of the confirmation text about where to change the preference,
or we start creating ways for the dialog to tell SubDialog to resize
it when items are added/removed, which is not straightforward, so I
decided not to tackle that here.

Differential Revision: https://phabricator.services.mozilla.com/D112788
2021-04-21 16:33:56 +00:00
Peter Van der Beken f296f5bb9a Bug 1696158 - Move CanSavePresentation to the parent process. Make nsDocShell listen for background requests too. r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112201
2021-04-19 14:50:57 +00:00
smolnar 84a0543987 Backed out 8 changesets (bug 1696158) for causing multiple failures. CLOSED TREE
Backed out changeset 09c598c8fd29 (bug 1696158)
Backed out changeset 02f956c26901 (bug 1696158)
Backed out changeset b61a3a324cce (bug 1696158)
Backed out changeset 95810ed7f1e5 (bug 1696158)
Backed out changeset 4f93a7b61496 (bug 1696158)
Backed out changeset c80c55b56f2a (bug 1696158)
Backed out changeset 11627c409882 (bug 1696158)
Backed out changeset b98b4316a510 (bug 1696158)
2021-04-19 17:04:08 +03:00
Peter Van der Beken 3d4ba1d105 Bug 1696158 - Move CanSavePresentation to the parent process. Make nsDocShell listen for background requests too. r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112201
2021-04-19 12:39:21 +00:00
Kris Maglione 0c7703caa1 Bug 1704693: Fix weird Hungarian notation in nsDocLoader. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D111772
2021-04-15 21:18:42 +00:00
Paul Zuehlcke 9cecd28621 Bug 1661330 - Log STATE_ALLOWED_TRACKING_CONTENT to the ContentBlockingLog if a channel is allowed. r=geckoview-reviewers,dimi,droeh
Differential Revision: https://phabricator.services.mozilla.com/D109716
2021-04-13 16:11:20 +00:00
smolnar 2df62ffdd4 Backed out changeset 99fa761b384e (bug 1528338) for causing xpc failures in test_handlerService_store. 2021-04-08 17:14:23 +03:00
mhoye 750576c7a8 Bug 1528338 - Removing default IRC handler, profile references and tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D77336
2021-04-08 13:02:25 +00:00
David Parks cd6fd9bfe5 Bug 1682030 - Remove more dead NPAPI code from dom/plugins and related spots. r=jmathies,mconley,emilio
This is the second of two patches in this series that removes a large amount of now dead code from dom/plugins as part of removing all NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D107150
2021-04-06 19:28:15 +00:00
Mark Striemer 20da7cda27 Bug 1702327 - Fix browser_web_protocol_handlers.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110630
2021-04-06 04:26:35 +00:00
Csoregi Natalia d68661e2cc Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks 30be5dc789 Bug 1682030 - Remove more dead NPAPI code from dom/plugins and related spots. r=jmathies,mconley,emilio
This is the second of two patches in this series that removes a large amount of now dead code from dom/plugins as part of removing all NPAPI plugin support.

Differential Revision: https://phabricator.services.mozilla.com/D107150
2021-04-05 23:48:39 +00:00
julianwels 8e31dccde7 Bug 1694139 - Remove .part-files when download is canceled by mixed download protection. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D109506
2021-04-02 22:22:43 +00:00
Kris Maglione 8eff81f606 Bug 1581859: Part 2a - Add LOCATION_CHANGE_HASHCHANGE onLocationChange flag. r=nika
The naming scheme references the hashchange event. This is required by the
extensions framework to call the appropriate navigation listeners when only
the reference fragment is updated by a navigation.

Differential Revision: https://phabricator.services.mozilla.com/D108725
2021-03-25 19:47:00 +00:00
Simon Giesecke a598a0c7c5 Bug 1679522 - Use <> style for including windows system headers. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D98895
2021-03-25 10:19:44 +00:00
Simon Giesecke 60f7f14fcc Bug 708901 - Migrate to nsTHashSet in uriloader. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D108602
2021-03-24 17:56:47 +00:00
Csoregi Natalia f54ee076ae Backed out 13 changesets (bug 708901, bug 1184468) for causing build bustage on GeckoViewHistory.cpp. CLOSED TREE
Backed out changeset b1e4c01e63b8 (bug 708901)
Backed out changeset 37b52cce83c0 (bug 708901)
Backed out changeset eee75f33f060 (bug 708901)
Backed out changeset 479bf64c7986 (bug 708901)
Backed out changeset 15a8fb94d15d (bug 708901)
Backed out changeset be31ccd9a61d (bug 708901)
Backed out changeset fc54f4eaedd5 (bug 708901)
Backed out changeset 03c3a56c3d13 (bug 708901)
Backed out changeset 73f11d3c1298 (bug 708901)
Backed out changeset aed22fd80893 (bug 708901)
Backed out changeset 74d8249fbe7e (bug 708901)
Backed out changeset acb725eb3c1d (bug 1184468)
Backed out changeset 70f3ea6efec4 (bug 1184468)
2021-03-24 19:26:20 +02:00
Simon Giesecke d147c25136 Bug 708901 - Migrate to nsTHashSet in uriloader. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D108602
2021-03-24 16:58:59 +00:00
Csoregi Natalia 024e0b2323 Backed out 10 changesets (bug 1581859) for causing hazard failures. CLOSED TREE
Backed out changeset 93fe6801a5e2 (bug 1581859)
Backed out changeset 0a33cb185fb3 (bug 1581859)
Backed out changeset 9ceaad6dab5b (bug 1581859)
Backed out changeset ee611f0839ca (bug 1581859)
Backed out changeset 4199963fe477 (bug 1581859)
Backed out changeset b4c5ace21b9e (bug 1581859)
Backed out changeset 6003469dc449 (bug 1581859)
Backed out changeset 826c62b783c0 (bug 1581859)
Backed out changeset e1d7851295fd (bug 1581859)
Backed out changeset 9796577af27a (bug 1581859)
2021-03-24 08:48:00 +02:00
Kris Maglione 18ffa4a411 Bug 1581859: Part 2a - Add LOCATION_CHANGE_HASHCHANGE onLocationChange flag. r=nika
The naming scheme references the hashchange event. This is required by the
extensions framework to call the appropriate navigation listeners when only
the reference fragment is updated by a navigation.

Differential Revision: https://phabricator.services.mozilla.com/D108725
2021-03-23 23:57:10 +00:00
Cosmin Sabou 7eba371387 Backed out 10 changesets (bug 1581859) for causing hazard failures on ExtensionsParent.cpp.
Backed out changeset 6020ec7d7f32 (bug 1581859)
Backed out changeset 07901e457839 (bug 1581859)
Backed out changeset e23389fc98b5 (bug 1581859)
Backed out changeset 4287eebc2c77 (bug 1581859)
Backed out changeset eeff6f501cfc (bug 1581859)
Backed out changeset 22db36f7d16d (bug 1581859)
Backed out changeset 16831d45d0ed (bug 1581859)
Backed out changeset 816643de7694 (bug 1581859)
Backed out changeset 6fd5aa7895e3 (bug 1581859)
Backed out changeset 2b68d2eee18e (bug 1581859)
2021-03-23 05:48:27 +02:00
Kris Maglione 799be479c7 Bug 1581859: Part 2a - Add LOCATION_CHANGE_HASHCHANGE onLocationChange flag. r=nika
The naming scheme references the hashchange event. This is required by the
extensions framework to call the appropriate navigation listeners when only
the reference fragment is updated by a navigation.

Differential Revision: https://phabricator.services.mozilla.com/D108725
2021-03-22 20:12:14 +00:00
Mark Banner e8d532d179 Bug 1699747 - Clean up old references to nsIDocShellLoadInfo. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D109095
2021-03-19 18:38:32 +00:00
Narcis Beleuzu ffb77b2d9a Backed out 9 changesets (bug 1581859) for bustages jsapi.h . CLOSED TREE
Backed out changeset 2a3a77ae1eae (bug 1581859)
Backed out changeset 181c3f29f222 (bug 1581859)
Backed out changeset f7c39feb502e (bug 1581859)
Backed out changeset 9c7d0015c616 (bug 1581859)
Backed out changeset d2b8ee78745d (bug 1581859)
Backed out changeset 92359266d420 (bug 1581859)
Backed out changeset 98ba6b96c900 (bug 1581859)
Backed out changeset 0eb043b5c904 (bug 1581859)
Backed out changeset 55a4c2fc561d (bug 1581859)
2021-03-18 08:26:57 +02:00
Kris Maglione 6410970b1e Bug 1581859: Part 2a - Add LOCATION_CHANGE_HASHCHANGE onLocationChange flag. r=nika
The naming scheme references the hashchange event. This is required by the
extensions framework to call the appropriate navigation listeners when only
the reference fragment is updated by a navigation.

Differential Revision: https://phabricator.services.mozilla.com/D108725
2021-03-18 05:51:05 +00:00
Agi Sferro 111343732d Bug 1694481 - Remove unused code from exthandler/android. r=droeh,esawin
Differential Revision: https://phabricator.services.mozilla.com/D106182
2021-03-10 22:43:08 +00:00
Simon Giesecke 165b32796c Bug 1693541 - Improve uses of nsBaseHashtable and descendants and avoid multiple subsequent lookups in uriloader. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D106100
2021-02-26 11:36:40 +00:00
Simon Giesecke be7dc83fa6 Bug 1691913 - Mark nsBaseHashtable (and its subclasses') member functions nodiscard where appropriate. r=xpcom-reviewers,necko-reviewers,dragana,nika
Differential Revision: https://phabricator.services.mozilla.com/D105474
2021-02-26 09:22:53 +00:00
Simon Giesecke 9af107a839 Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
This makes the naming more consistent with other functions called
Insert and/or Update. Also, it removes the ambiguity whether
Put expects that an entry already exists or not, in particular because
it differed from nsTHashtable::PutEntry in that regard.

Differential Revision: https://phabricator.services.mozilla.com/D105473
2021-02-26 09:11:46 +00:00
Valentin Gosu 255cb65e3b Bug 1694345 - Disable prefs that trigger off-main-thread use of mock registry r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D106080
2021-02-25 11:40:02 +00:00
Gijs Kruitbosch 300f34dbef Bug 1678255 - fix eslint warning for HandlerServiceTestUtils import. a=lint-fix
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D106021
2021-02-22 19:39:04 +00:00
Gijs Kruitbosch 8002a3c48c Bug 1678255 - prompt for external protocol links whose loads were also triggered externally, instead of looping forever, r=pbz,nika
This passes around the "are we external" bit of load information a bunch,
such that the external protocol handling code has access to it.

In this bug and bug 1667468, I think ideally I would have used a check
if we're the OS default for a given protocol before continuing. However,
this information is currently unavailable on Linux (bug 1599713), and
worse, I believe is likely to remain unavailable in flatpak and other
such restricted environments (cf. bug 1618094 - we aren't able to find
out anything about protocol handlers from the OS).

So instead, we prompt the user if we are about to open a link passed
to us externally. There is a small chance this will be Breaking People's
Workflows, where I don't know whether anyone relies on Firefox happily
passing these URIs along to the relevant application (more convenient
than doing all the registry/API work yourself in scripts!) or anything
like that. To help with that, there's a pref,
`network.protocol-handler.prompt-from-external`, that can be created and
set to false to avoid prompting in this case.

Differential Revision: https://phabricator.services.mozilla.com/D103967
2021-02-22 19:00:10 +00:00
Alexis Beingessner 07f2f659c6 Bug 1686616 - make StringBundle use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105531
2021-02-18 13:26:32 +00:00
Alexis Beingessner 8fea71cdd5 Bug 1686616 - make PermissionManager use Components instead of Services. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D105528
2021-02-18 13:26:31 +00:00
Tom Schuster 5d507ef2c6 Bug 1692720 - Don't force extension for office mime types. r=Gijs
I am not conviced that we have all the correct MIME types and extensions here.
It also extremely hard to figure out what the correct information is.
We should drop this.

Differential Revision: https://phabricator.services.mozilla.com/D105358
2021-02-17 11:37:54 +00:00