Valentin Gosu
6e44a3e179
Bug 1553105
- Make URL.origin return "null" if protocol doesn't have the URI_HAS_WEB_EXPOSED_ORIGIN flag r=nika,necko-reviewers,kershaw
...
CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D188720
2023-09-27 10:29:17 +00:00
Cosmin Sabou
f9a78f449a
Backed out changeset c4a317778310 (bug 1553105
) for causing build bustages on nsContentUtils.cpp. CLOSED TREE
2023-09-27 13:25:14 +03:00
Valentin Gosu
2a9f09daff
Bug 1553105
- Make URL.origin return "null" if protocol doesn't have the URI_HAS_WEB_EXPOSED_ORIGIN flag r=nika,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D188720
2023-09-27 09:55:57 +00:00
Jake Senne
9cd4a028b6
Bug 1840882 - Remove unused code nsNetworkInfoService r=necko-reviewers,kershaw,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D182285
2023-06-30 12:04:25 +00:00
Andrew McCreight
c8c32ddc29
Bug 1760018 - Clean up networking registrars earlier to avoid leaks. r=necko-reviewers,kershaw
...
These registrars can hold channels alive, which can hold listeners alive,
which can hold cycle collected things alive. By clearing the registrars
before the final CC instead of after the final CC, we can avoid spurious
leaks.
It would make more logical sense to do this earlier, at net teardown,
but I've made the minimal change to try to avoid stirring up weird
shutdown issues.
Differential Revision: https://phabricator.services.mozilla.com/D177182
2023-05-05 15:04:46 +00:00
Valentin Gosu
401d933a4f
Bug 1827504 - Remove last files of netwerk/cache/ r=sunil,geckoview-reviewers,zeid,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D175177
2023-04-13 09:04:24 +00:00
Valentin Gosu
df13492ee4
Bug 1596845
- Make DNSServices available as `Services.dns` r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 09:26:17 +00:00
Marian-Vasile Laza
56b22ee0ba
Backed out 9 changesets (bug 1596845
) for causing xpcshell failures on test_trr_enterprise_policy.js. CLOSED TREE
...
Backed out changeset 231acfc052bb (bug 1596845
)
Backed out changeset 7d02dad4d720 (bug 1596845
)
Backed out changeset b0449eec2671 (bug 1596845
)
Backed out changeset 5cd033c9ef7c (bug 1596845
)
Backed out changeset 98d583f1d19e (bug 1596845
)
Backed out changeset b78bc0049605 (bug 1596845
)
Backed out changeset 88919aaff89b (bug 1596845
)
Backed out changeset f4adb3e7b8e1 (bug 1596845
)
Backed out changeset b171f7ac0b40 (bug 1596845
)
2022-12-23 09:21:39 +02:00
Valentin Gosu
6ca2987fe1
Bug 1596845
- Make DNSServices available as `Services.dns` r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-23 01:20:03 +00:00
Sandor Molnar
56d5efdcae
Backed out 9 changesets (bug 1596845
) for causing mochitest failures in browser/base/content/test/about/browser_aboutCertError_telemetry.js
...
Backed out changeset eb1e34c3041f (bug 1596845
)
Backed out changeset af6d41439c60 (bug 1596845
)
Backed out changeset f1447dd8df04 (bug 1596845
)
Backed out changeset a383f2bbcaae (bug 1596845
)
Backed out changeset 950c66dd6133 (bug 1596845
)
Backed out changeset ab300239fd69 (bug 1596845
)
Backed out changeset 8e1fe024b680 (bug 1596845
)
Backed out changeset 80e5048d1f35 (bug 1596845
)
Backed out changeset b14a4910d73b (bug 1596845
)
2022-12-23 00:56:35 +02:00
Valentin Gosu
ff04cde9bd
Bug 1596845
- Make DNSServices available as `Services.dns` r=necko-reviewers,webdriver-reviewers,kershaw
...
Depends on D164347
Differential Revision: https://phabricator.services.mozilla.com/D164856
2022-12-22 21:16:07 +00:00
Nika Layzell
bca0a6965b
Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag
...
This adds a new set of options to static components.conf files to allow
specifying the protocol flags and default ports of a protocol handler, and
generates a separate table just for this purpose.
This will be used in the next part as part of replacing the existing protocol
handler lookup infrastructure.
Differential Revision: https://phabricator.services.mozilla.com/D162803
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
90f7562d95
Bug 1793463 - Part 4: Generate static components entries for protocols, r=necko-reviewers,xpcom-reviewers,valentin,kmag
...
This adds a new set of options to static components.conf files to allow
specifying the protocol flags and default ports of a protocol handler, and
generates a separate table just for this purpose.
This will be used in the next part as part of replacing the existing protocol
handler lookup infrastructure.
Differential Revision: https://phabricator.services.mozilla.com/D162803
2022-11-30 18:13:42 +00:00
Jan Varga
4612934b65
Bug 1791723 - Rename FileStream to FileRandomAccessStream; r=necko-reviewers,dom-storage-reviewers,dragana,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D157787
2022-10-12 01:56:16 +00:00
Valentin Gosu
aaeda3ef3b
Bug 1705676 - Add CachePurgeLock to lock access to the purged cache directory r=nalexander,necko-reviewers,dragana
...
Depends on D132595
Differential Revision: https://phabricator.services.mozilla.com/D132164
2022-08-15 07:07:45 +00:00
Kris Maglione
197caa5c79
Bug 1773770: Part 5 - Migrate necko category entries to static registration. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D149433
2022-06-30 09:12:17 +00:00
Noemi Erli
ff26b8a5d0
Backed out 11 changesets (bug 1773770) because shouldn't have been landed during a soft freeze CLOSED TREE
...
Backed out changeset ede55d570d1e (bug 1773770)
Backed out changeset d5374ef362c2 (bug 1773770)
Backed out changeset 26e47956508b (bug 1773770)
Backed out changeset c78f0c4c8f3f (bug 1773770)
Backed out changeset 9089a97bcb26 (bug 1773770)
Backed out changeset 17894f5b3b41 (bug 1773770)
Backed out changeset 986a64a9e6b4 (bug 1773770)
Backed out changeset 7a63d8676bf0 (bug 1773770)
Backed out changeset 38e7b99ffbed (bug 1773770)
Backed out changeset e9ad07c96ab2 (bug 1773770)
Backed out changeset 2a8f65417b66 (bug 1773770)
2022-06-24 20:03:43 +03:00
Kris Maglione
04a1bd3551
Bug 1773770: Part 5 - Migrate necko category entries to static registration. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D149433
2022-06-24 07:10:17 +00:00
criss
6abc242b8d
Backed out 11 changesets (bug 1773770) for causing mochitest failures on test_bug466599.xhtml. CLOSED TREE
...
Backed out changeset d35762c3242d (bug 1773770)
Backed out changeset 0501c85d3f58 (bug 1773770)
Backed out changeset cdd28e0e3434 (bug 1773770)
Backed out changeset a48829529dd0 (bug 1773770)
Backed out changeset c3fcdd7e88e5 (bug 1773770)
Backed out changeset 8f334c5dc0cd (bug 1773770)
Backed out changeset 337e76b67647 (bug 1773770)
Backed out changeset 71f539b482ba (bug 1773770)
Backed out changeset b996cbbbc2f5 (bug 1773770)
Backed out changeset a6ddc3cdc9ba (bug 1773770)
Backed out changeset c8d7da3cf2ac (bug 1773770)
2022-06-24 08:12:40 +03:00
Kris Maglione
3d617d9036
Bug 1773770: Part 5 - Migrate necko category entries to static registration. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D149433
2022-06-24 00:47:44 +00:00
Marian-Vasile Laza
7dd26a3f65
Backed out 11 changesets (bug 1773770) for causing bc failures on browser_xpcom_graph_wait.js. CLOSED TREE
...
Backed out changeset 72ace9ee39ae (bug 1773770)
Backed out changeset e8a3a040b4c4 (bug 1773770)
Backed out changeset 4ff5f4f0f5d1 (bug 1773770)
Backed out changeset f96e9664168d (bug 1773770)
Backed out changeset b6a696897ca8 (bug 1773770)
Backed out changeset 1b8ad6be2dce (bug 1773770)
Backed out changeset 7e3a1a32a88d (bug 1773770)
Backed out changeset 6dbe5fa1ad4f (bug 1773770)
Backed out changeset 86e09dcdadde (bug 1773770)
Backed out changeset 1ee8d852d9d5 (bug 1773770)
Backed out changeset c99e93023059 (bug 1773770)
2022-06-24 03:25:34 +03:00
Kris Maglione
d8b52db8c7
Bug 1773770: Part 5 - Migrate necko category entries to static registration. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D149433
2022-06-23 23:05:35 +00:00
Marian-Vasile Laza
969bcd8dfe
Backed out 11 changesets (bug 1773770) for causing bustages on nsComponentManager.obj.
...
Backed out changeset 3538e99dd668 (bug 1773770)
Backed out changeset 0862b3275742 (bug 1773770)
Backed out changeset 45dbd95d94bb (bug 1773770)
Backed out changeset 1d079a6ae89c (bug 1773770)
Backed out changeset ac4c4a143ff7 (bug 1773770)
Backed out changeset 0e3233868101 (bug 1773770)
Backed out changeset ac727812fd06 (bug 1773770)
Backed out changeset fe46df06e31a (bug 1773770)
Backed out changeset 51b89b344d7f (bug 1773770)
Backed out changeset 62e49ca3f288 (bug 1773770)
Backed out changeset 6df39588ec9a (bug 1773770)
2022-06-24 01:16:58 +03:00
Kris Maglione
5c8f3b9df7
Bug 1773770: Part 5 - Migrate necko category entries to static registration. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D149433
2022-06-23 20:13:09 +00:00
Mark Banner
b813d15395
Bug 1766228 - Add nsICookieService as an acceptable interface for Services.cookies. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D149392
2022-06-16 21:11:24 +00:00
Norisz Fay
7cd43cc697
Backed out 5 changesets (bug 1766228) for causing lint failures on test_restrequest.js CLOSED TREE
...
Backed out changeset 5ff1634cfe18 (bug 1766228)
Backed out changeset 01642c97e7a5 (bug 1766228)
Backed out changeset cbba28151712 (bug 1766228)
Backed out changeset 76a32127865d (bug 1766228)
Backed out changeset 2c7ef1ad380a (bug 1766228)
2022-06-16 16:36:44 +03:00
Mark Banner
eac3f080b3
Bug 1766228 - Add nsICookieService as an acceptable interface for Services.cookies. r=kmag
...
Depends on D149391
Differential Revision: https://phabricator.services.mozilla.com/D149392
2022-06-16 12:09:27 +00:00
Andrew McCreight
fa8bfd1245
Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D146457
2022-05-17 20:24:19 +00:00
Dana Keeler
fb67326470
Bug 1768047 - introduce HMAC C++ helper and remove nsICryptoHMAC r=jschanck,necko-reviewers,kershaw,padenot
...
This patch removes the redundant nsICryptoHMAC interface and implementation,
updates front-end code to use WebCrypto, and changes back-end code to use the
helper class HMAC introduced by this patch.
This also removes the last uses of nsIKeyObject and nsIKeyObjectFactory, and
thus those interfaces and implementations as well.
Differential Revision: https://phabricator.services.mozilla.com/D145656
2022-05-12 22:24:29 +00:00
Horst
fd10e741c8
Bug 1503350 - fix compile error when using --disable-negotiateauth r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D107131
2021-12-15 01:13:11 +00:00
Jan Varga
d730017508
Bug 1722668 - Expose nsFileStream via the component manager; r=necko-reviewers,dragana,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D123773
2021-09-04 21:54:53 +00:00
Csoregi Natalia
03b44ad93d
Backed out 3 changesets (bug 1722668) for failures on test_unsetLastAccessTime.js. CLOSED TREE
...
Backed out changeset db05822c64ff (bug 1722668)
Backed out changeset c9f100cb3f86 (bug 1722668)
Backed out changeset a7179b67eb1a (bug 1722668)
2021-09-05 00:22:49 +03:00
Jan Varga
1e06353298
Bug 1722668 - Expose nsFileStream via the component manager; r=necko-reviewers,dragana,jari
...
Differential Revision: https://phabricator.services.mozilla.com/D123773
2021-09-04 20:10:12 +00:00
Valentin Gosu
d595491cc7
Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D116701
2021-06-04 12:35:16 +00:00
Butkovits Atila
692bda1ca1
Backed out changeset c4b44c4ef15b (bug 1714307) for causing build bustages on nsHTTPCompressConv.h. CLOSED TREE
2021-06-04 13:53:37 +03:00
Valentin Gosu
98146ae90b
Bug 1714307 - Autofix static-analysis warnings in netwerk/ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D116701
2021-06-04 10:00:55 +00:00
Valentin Gosu
9e4bdb9c25
Bug 1694662 - Remove old cache implementation r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D106456
2021-04-30 07:20:24 +00:00
Valentin Gosu
125e29a561
Bug 1694662 - Remove nsApplicationCacheService component r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D106452
2021-04-30 07:20:23 +00:00
Valentin Gosu
ec5835855a
Bug 1707036 - Remove nsFTPDirListingConv r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D113788
2021-04-30 06:50:14 +00:00
Valentin Gosu
b6c4d8cd4d
Bug 1574475 - Stop compiling FTP code r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D111245
2021-04-28 09:33:45 +00:00
Narcis Beleuzu
33cc31099d
Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
...
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu
a6cb0bf452
Bug 1574475 - Stop compiling FTP code r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D111245
2021-04-22 13:41:32 +00:00
Tom Tung
57e6375fc2
Bug 1696111 - Use sniffers in the requested category; r=necko-reviewers,valentin
...
After applying D102448,
uriloader/exthandler/tests/mochitest/test_nullCharFile.xhtml starts to fail.
The reason is that it adds image sniffer into net-content-sniffers which is not
expected.
Such that, this patch
- adds two other sniffers category:
- orb-content-sniffers
- The sniffers that are needed in ORB.
- net-and-orb-content-sniffers
- The sniffers that are in either orb-content-sniffers or net-content-sniffers.
- changes the way to ensure we only use the sniffers in the
requested category.
Differential Revision: https://phabricator.services.mozilla.com/D107207
2021-03-30 00:52:32 +00:00
Tim Huang
eec2a9b646
Bug 1695050 - Part 2: Modify CookieJarSettings::Create() to be able to creat cookieJarSettings according to the browsing mode. r=dimi,preferences-reviewers
...
This patch modifies the current CookieJarSettings::Create() function.
It removes the current function and adds two variants. One takes the
nsIPrincipal as input and another takes the enum value. The new
functions will test if the input is for the private browsing window to
create the corresponding cookieJarSettings.
Differential Revision: https://phabricator.services.mozilla.com/D109045
2021-03-29 11:01:51 +00:00
Butkovits Atila
ad9b1ed9d7
Backed out 12 changesets (bug 1683131, bug 1696111, bug 1695987) for causing crashes(Bug 1701151). a=backout
...
Backed out changeset 8ffef57e27d2 (bug 1683131)
Backed out changeset c02d5dc72abb (bug 1695987)
Backed out changeset 276f016ddc67 (bug 1683131)
Backed out changeset 2c7a45e20b50 (bug 1683131)
Backed out changeset 11fdb503d537 (bug 1696111)
Backed out changeset 2946eff1e9c8 (bug 1696111)
Backed out changeset e4d01b88e517 (bug 1696111)
Backed out changeset fab7f4cd445d (bug 1696111)
Backed out changeset d60c38f8939a (bug 1696111)
Backed out changeset 3fdc8089a46f (bug 1696111)
Backed out changeset 51a16dfabc98 (bug 1696111)
Backed out changeset 642bdd52fd57 (bug 1696111)
2021-03-26 11:30:28 +02:00
Tom Tung
02e26e0a82
Bug 1696111 - Use sniffers in the requested category; r=necko-reviewers,valentin
...
After applying D102448,
uriloader/exthandler/tests/mochitest/test_nullCharFile.xhtml starts to fail.
The reason is that it adds image sniffer into net-content-sniffers which is not
expected.
Such that, this patch
- adds two other sniffers category:
- orb-content-sniffers
- The sniffers that are needed in ORB.
- net-and-orb-content-sniffers
- The sniffers that are in either orb-content-sniffers or net-content-sniffers.
- changes the way to ensure we only use the sniffers in the
requested category.
Differential Revision: https://phabricator.services.mozilla.com/D107207
2021-03-25 12:09:41 +00:00
Kershaw Chang
02a4432e92
Bug 1698015 - Add another way to download ODoHConfigs via https r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D108174
2021-03-19 08:29:14 +00:00
Dragana Damjanovic
909e83ac11
Bug 1689554 - Enable UDPSocket on the socket process and fix a test r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D106506
2021-02-26 08:42:50 +00:00
Alexis Beingessner
92afde7986
Bug 1686616 - register all Services.py services with components.conf. r=kmag,necko-reviewers,valentin
...
These services had their name added to components.conf:
* GfxInfo
* ThirdPartyUtil
* History
* HttpActivityDistributor
* UUIDGenerator
* ServiceWorkerManager
* PermissionManager
These services were added to componenets.conf under a different name:
* DirectoryService => Directory
* IOService => IO
* StringBundleService => StringBundle
* CacheStorageService => CacheStorage
* StreamTransportService => StreamTransport
* SocketTransportService => SocketTransport
These services weren't migrated to components.conf because only Rust
code uses them:
* RemoteAgent
* XULRuntime
* PrefService
These services weren't migrated to components.conf because they're unused:
* ToolkitChromeRegistry (used as ChromeRegistry)
* XULChromeRegistry (used as ChromeRegistry)
* Bits (completely unused)
These services were already available in components.conf but are still
used by rust code:
* URIFixup
These services weren't migrated because they will be handled in
subsequent patchsets:
* ObserverService
For the record, the following Services are being used by Rust code
and must remain until a Rust version of Components.h is written:
* RemoteAgent
* XULRuntime
* PrefService
* URIFixup
* ObserverService
* DirectoryService
* ThirdPartyUtil
Also the cocoa GfxInfo service was changed to use components.conf instead
of registering it at runtime, as all the other widgets were already doing
it this way.
Differential Revision: https://phabricator.services.mozilla.com/D105521
2021-02-18 13:26:28 +00:00