438 Commits

Author SHA1 Message Date
Tom Schuster
3f48655456 Bug 1967417 - Create a fallible LoadInfo factory. r=smaug,necko-reviewers,places-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D250182
2025-05-21 15:21:52 +00:00
Serban Stanca
071240c3d9 Revert "Bug 1967417 - Create a fallible LoadInfo factory. r=smaug,necko-reviewers,places-reviewers,kershaw" for causing multiple failures.
This reverts commit b9a9491a35.
2025-05-21 13:34:54 +00:00
Tom Schuster
b9a9491a35 Bug 1967417 - Create a fallible LoadInfo factory. r=smaug,necko-reviewers,places-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D250182
2025-05-21 12:24:10 +00:00
Kershaw Chang
5555349f12 Bug 1943804 - Disallow speculative connections that lack callbacks when proxy filters are registered, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D245453
2025-04-28 21:05:04 +00:00
Kershaw Chang
8ca9fc4f5c Bug 1943804 - Make speculative connections created from RemoteWebNavigation have tabId, r=Gijs,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D245452
2025-04-28 21:05:04 +00:00
Sean
09fa795727 Bug 1945995 - Add a browser test to test the cases of offline mode and no connectivity r=necko-reviewers,valentin,jesup
Differential Revision: https://phabricator.services.mozilla.com/D245614
2025-04-28 15:09:06 +00:00
Alexandru Marc
0e467518b7 Backed out 2 changesets (bug 1943804) for causing xpcshell failures @ test_ext_proxy_speculative.js
Backed out changeset d4c83c44d6e2 (bug 1943804)
Backed out changeset 4d793c8aade9 (bug 1943804)
2025-04-28 15:21:28 +03:00
Kershaw Chang
1c463fa508 Bug 1943804 - Disallow speculative connections that lack callbacks when proxy filters are registered, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D245453
2025-04-28 11:18:56 +00:00
Kershaw Chang
67ebec9d5d Bug 1943804 - Make speculative connections created from RemoteWebNavigation have tabId, r=Gijs,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D245452
2025-04-28 11:18:56 +00:00
pstanciu
6333a0d9a2 Backed out 2 changesets (bug 1943804) for cauzing lint failures CLOSED TREE
Backed out changeset 779ff79f5223 (bug 1943804)
Backed out changeset f184a6c17119 (bug 1943804)
2025-04-28 13:21:37 +03:00
Kershaw Chang
11d4e22fb2 Bug 1943804 - Disallow speculative connections that lack callbacks when proxy filters are registered, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D245453
2025-04-28 09:43:01 +00:00
Kershaw Chang
7d01361d37 Bug 1943804 - Make speculative connections created from RemoteWebNavigation have tabId, r=Gijs,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D245452
2025-04-28 09:43:00 +00:00
kernp25
4d18975ff5 Bug 1945924 - Replace SchemeIsFoo functions with the inlined SchemeIs() call. r=valentin,emilio,necko-reviewers,geckoview-reviewers,anti-tracking-reviewers,core-sessionstore-reviewers,ohall,farre
No behavior change intended.

Differential Revision: https://phabricator.services.mozilla.com/D236756
2025-03-31 14:25:54 +00:00
Mike Conley
c4e6ff13ff Bug 1946569 - Part 1: Create nsISuspendableChannelWrapper and implementation. r=valentin,necko-reviewers
This implementation of nsIChannel wraps an inner nsIChannel, and allows suspend()
to be called immediately without waiting for asyncOpen to have been called.

Differential Revision: https://phabricator.services.mozilla.com/D237639
2025-03-06 14:55:26 +00:00
Dave Townsend
941f1ac3b3 Bug 1945566 - Add a moz-src protocol handler, r=necko-reviewers,firefox-desktop-core-reviewers ,extension-reviewers,robwu,mconley,valentin,tschuster
Differential Revision: https://phabricator.services.mozilla.com/D236569
2025-03-03 12:47:46 +00:00
Valentin Gosu
837e448883 Bug 1934568 - Add mechanism to allow loading essential browser resources from a different domain r=kershaw,leggert,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230789
2025-02-27 07:44:50 +00:00
Sandor Molnar
13d09c1f65 Backed out 4 changesets (bug 1945566) for causing build bustages/py3 unit test failures/bugzilla lint failures CLOSED TREE
Backed out changeset 6d69925d57ac (bug 1945566)
Backed out changeset 1b2bd35ca71f (bug 1945566)
Backed out changeset 9eba66d33006 (bug 1945566)
Backed out changeset c19c6833ebdc (bug 1945566)
2025-02-26 14:24:49 +02:00
Dave Townsend
75fc886ee6 Bug 1945566 - Add a moz-src protocol handler, r=necko-reviewers,firefox-desktop-core-reviewers ,extension-reviewers,robwu,mconley,valentin
Differential Revision: https://phabricator.services.mozilla.com/D236569
2025-02-26 11:30:59 +00:00
Tooru Fujisawa
c61ce1443e Bug 1881888 - Part 2: Remove SkipCheckForBrokenURLOrZeroSized. r=jonco,necko-reviewers,valentin
The SkipCheckForBrokenURLOrZeroSized flag is introduced by bug 1777641
in order to suppress the assertion while trying to read possibly-non-existent
.jsm url before falling back to the .sys.mjs url.
The fallback is removed and the flag can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D233714
2025-01-23 05:21:55 +00:00
Florian Quèze
9609e47f62 Bug 1879329 - script generated replacement of the GleanMetrics.h includes, r=chutten,valentin,media-playback-reviewers,cookie-reviewers,anti-tracking-reviewers,profiler-reviewers,win-reviewers,rkraesig,emz,aabh,padenot.
Differential Revision: https://phabricator.services.mozilla.com/D234744
2025-01-21 11:21:45 +00:00
Kershaw Chang
22016f5120 Bug 1937522 - Introduce a mock network layer that supports overwriting NetAddr, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D232207
2024-12-20 13:49:31 +00:00
Goloman Adrian
66ab95ad7c Backed out 2 changesets (bug 1937522) for causing build bustages @MockNetworkLayerController.h. CLOSED TREE
Backed out changeset 5e14601b04cc (bug 1937522)
Backed out changeset 897b51f29229 (bug 1937522)
2024-12-19 16:47:45 +02:00
Kershaw Chang
3f1fc1b902 Bug 1937522 - Introduce a mock network layer that supports overwriting NetAddr, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D232207
2024-12-19 13:49:26 +00:00
smayya
9b84e1bf36 Bug 1937743 - add probes to measure usage of IpAddrAny as hostnames. r=necko-reviewers,kershaw,valentin
Differential Revision: https://phabricator.services.mozilla.com/D232371
2024-12-18 14:54:52 +00:00
Randell Jesup
e0d8e45d4a Bug 1927546: Fix sieve port number r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D227910
2024-11-05 16:49:47 +00:00
edgul
85ec4b2f71 Bug 1889988 - Added remote settings input to defaultUri bypass list r=necko-reviewers,valentin,nika,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D207810
2024-10-23 18:30:26 +00:00
Cosmin Sabou
fb8ed59785 Backed out 2 changesets (bug 1889988) for xpcshell failures on test_getPasswordOrigin. CLOSED TREE
Backed out changeset db199aeaafd8 (bug 1889988)
Backed out changeset 360a3d2b1200 (bug 1889988)
2024-10-23 04:10:04 +03:00
edgul
ff53f4b320 Bug 1889988 - Added remote settings input to defaultUri bypass list r=necko-reviewers,valentin,nika,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D207810
2024-10-22 20:31:40 +00:00
edgul
5e6b8dbf82 Bug 1914141 - Added an ending-in-number check for non-ipv4 domains for Services.io.isValidHostname. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D220488
2024-09-05 21:07:34 +00:00
Kershaw Chang
9487968a52 Bug 1913809 - Introduce TRRSkippedReason::TRR_SYSTEM_SLEEP_MODE, r=necko-reviewers,fluent-reviewers,flod,valentin
Differential Revision: https://phabricator.services.mozilla.com/D219543
2024-08-21 08:04:29 +00:00
smayya
d2b397e8cb Bug 1889130 - block http requests on 0.0.0.0 address. r=necko-reviewers,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D219041
2024-08-19 13:31:42 +00:00
Narcis Beleuzu
de772c35af Backed out 3 changesets (bug 1889130) for causing xpcshell failures in test_dooh.js . CLOSED TREE
Backed out changeset f4e613affef6 (bug 1889130)
Backed out changeset 44ff3e440f91 (bug 1889130)
Backed out changeset 3ead8eddf0ae (bug 1889130)
2024-08-19 15:11:45 +03:00
smayya
190923fb51 Bug 1889130 - block http requests on 0.0.0.0 address. r=necko-reviewers,valentin,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D219041
2024-08-19 10:14:15 +00:00
Valentin Gosu
14e970c5ba Bug 1911759 - Add nsIIOService.originAttributesForNetworkState r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D209819
2024-08-07 09:16:19 +00:00
Dana Keeler
ca58819efa Bug 1905955 - remove some unnecessary OCSP/SCT pref state from SharedSSLState r=jschanck,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D215526
2024-07-18 00:56:19 +00:00
Sean
8a6c26843d Bug 1897290 - Migrate LABELS_NETWORK_HTTP_REDIRECT_TO_SCHEME probe to glean r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D211059
2024-06-26 19:36:02 +00:00
Sandor Molnar
5cb969eed0 Backed out changeset 37662a2053c1 (bug 1897290) for causing build bustages @ nsIOService.cpp CLOSED TREE 2024-06-17 15:11:33 +03:00
Sean
c255be993c Bug 1897290 - Migrate LABELS_NETWORK_HTTP_REDIRECT_TO_SCHEME probe to glean r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D211059
2024-06-17 11:22:09 +00:00
Sean
944abb3335 Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209747
2024-05-30 21:18:43 +00:00
Iulian Moraru
d29286247f Backed out 2 changesets (bug 1898018, bug 1897290) as per Kershaw's request. CLOSED TREE
Backed out changeset b1be97a89466 (bug 1897290)
Backed out changeset c654557aa692 (bug 1898018)
2024-05-30 17:45:49 +03:00
Sean
6d4c572f5c Bug 1897290 - Migrate LABELS_NETWORK_HTTP_REDIRECT_TO_SCHEME probe to glean r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D211059
2024-05-30 14:04:08 +00:00
Iulian Moraru
82b68bb040 Backed out changeset 9a295c851c2e (bug 1895232) for causing multiple failures. CLOSED TREE 2024-05-22 21:03:20 +03:00
Sean
f1a6b31988 Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209747
2024-05-22 17:13:29 +00:00
sunil mayya
ebe5d15d67 Bug 1883496 - add X-Search-Subdivision assignment for android. r=necko-reviewers,android-reviewers,geckoview-reviewers,valentin,gl,owlish,Roger
Differential Revision: https://phabricator.services.mozilla.com/D208349
2024-05-21 08:01:36 +00:00
Valentin Gosu
b928b92b91 Bug 1895226 - Make sure network connectivity service is properly initialized r=necko-reviewers,kershaw
The initialization in the IO service wasn't running correctly, as we
usually returned just before instantiating the service.
We should also make sure the checks are started on browser-startup-idle notification

Differential Revision: https://phabricator.services.mozilla.com/D209530
2024-05-08 07:49:32 +00:00
Randell Jesup
645f79c496 Bug 1889059: add sieve and osaut ports to the bad port list r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D206668
2024-04-09 12:56:29 +00:00
edgul
bdc96ff6f1 Bug 1878001 - Add bypass list for DefaultURI fallback r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D200323
2024-04-04 14:13:58 +00:00
Norisz Fay
01b66287bb Backed out changeset d588407829f1 (bug 1840182) for causing Wd process crash failures CLOSED TREE 2024-02-14 19:43:55 +02:00
Valentin Gosu
2e5eb859f7 Bug 1840182 - Don't instantiate nsHttpHandler during shutdown r=sunil
- nsIOService::GetProtocolHandler now returns an error if shutdown has started and the scheme is http or https
- nsHttpHandler::NewChannel now returns an error code if shutdown has started

An earlier version of this patch returned an error from NS_NewChannel when
called during shutdown, but this breaks tests that assume chrome:// channels
can be loaded during shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D200930
2024-02-14 10:20:30 +00:00
Jaydeep Das
95cda128bf Bug 328707 - Allow only valid IP/Hostname for Proxy Config, r=mconley,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D198425
2024-01-22 14:28:41 +00:00