Valentin Gosu
056175d0a1
Bug 1677718 - Completely remove AppCache API implementation r=necko-reviewers,emilio,jesup
...
Depends on D179337
Differential Revision: https://phabricator.services.mozilla.com/D179420
2023-06-02 07:55:23 +00:00
Valentin Gosu
c018e8ad6c
Bug 1836249 - Make httpd.js::NodeServer bypassProxy and remove custom proxy rules r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D179669
2023-06-01 11:56:44 +00:00
Kershaw Chang
741281cc43
Bug 1543990 - Use origin attributes to start speculative connections for link header, r=necko-reviewers,timhuang,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D179068
2023-06-01 09:46:12 +00:00
Kershaw Chang
2e7f3943fb
Bug 1543990 - Introduce a new API to create speculative connection with the partition key in originAttributes, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D179067
2023-06-01 09:46:12 +00:00
Kershaw Chang
5149a41b0e
Bug 1543990 - Simplify nsISpeculativeConnect API, r=necko-reviewers,geckoview-reviewers,search-reviewers,valentin,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D179066
2023-06-01 09:46:12 +00:00
Manuel Bucher
95e14a9e9b
Bug 1815934 - Only allow correct ContentParent to connect to EarlyHintPreloader r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D179473
2023-06-01 09:46:04 +00:00
Cosmin Sabou
e678b16e56
Backed out 2 changesets (bug 1677718) for causing appcache wpt failures.
...
Backed out changeset 2b6b58a6fe2f (bug 1677718)
Backed out changeset d1cfc37a01b3 (bug 1677718)
2023-06-01 02:18:51 +03:00
Emilio Cobos Álvarez
c2f5a4ac7a
Bug 1835119 - Remove nsCOMPtr_base. r=xpcom-reviewers,kmag
...
It's not clear to me why specializing nsCOMPtr<nsISupports> is
particularly useful, and this removes a lot of code, bringing us closer
to unifying nsCOMPtr and RefPtr.
The changes in other places are needed because we used to allow
nsCOMPtr<nsISupports> to implicitly coerce to nsISupports even for
rvalue references.
0:47.88 /home/emilio/src/moz/gecko-4/netwerk/protocol/http/nsHttpActivityDistributor.cpp:121:11: error: conversion function from 'nsCOMPtr<nsISupports>' to 'nsISupports *' invokes a deleted function
0:47.88 nsCOMPtr<nsISupports>(do_QueryObject(channel)), aActivityType,
0:47.88 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0:47.88 /home/emilio/src/moz/gecko-4/obj-debug/dist/include/nsCOMPtr.h:764:3: note: 'operator nsISupports *' has been explicitly marked deleted here
0:47.88 operator T*() const&& = delete;
0:47.88 ^
0:47.88 /home/emilio/src/moz/gecko-4/netwerk/protocol/http/nsHttpActivityDistributor.cpp:29:57: note: passing argument to parameter 'aHttpChannel' here
0:47.88 nsHttpActivityDistributor::ObserveActivity(nsISupports* aHttpChannel,
0:47.88 ^
Which is not allowed for a good reason, generally.
Differential Revision: https://phabricator.services.mozilla.com/D179124
2023-05-31 21:58:43 +00:00
Andreas Farre
2680ac02eb
Bug 1834497 - Register ORB prefs in nimbus FeatureManifest. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D178916
2023-05-31 20:30:36 +00:00
Natalia Csoregi
448ccac0b9
Backed out changeset af645c9220f1 (bug 1835805) for causing bustage on DNSPacket.cpp. CLOSED TREE
2023-05-31 18:52:13 +03:00
Saira Abdulla
9691ab4a5f
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 15:27:03 +00:00
Valentin Gosu
7ba32109b0
Bug 1835805 - Remove odoh code r=necko-reviewers,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D179456
2023-05-31 15:05:06 +00:00
Kershaw Chang
8b42302fa6
Bug 1828861 - Test case, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D179539
2023-05-31 14:47:23 +00:00
Kershaw Chang
a55748b337
Bug 1828861 - Also check Alpn when selecting the next record for retrying, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D179442
2023-05-31 14:47:23 +00:00
Iulian Moraru
90b739a400
Backed out 2 changesets (bug 1824612) for causing dt failures on browser_dbg-features-source-tree.js. CLOSED TREE
...
Backed out changeset c3f38adc818e (bug 1824612)
Backed out changeset 58ba8bb3398a (bug 1824612)
2023-05-31 17:28:16 +03:00
Saira Abdulla
2e8db5969a
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 10:21:37 +00:00
Valentin Gosu
ffa99d7088
Bug 1677718 - Completely remove AppCache API implementation r=necko-reviewers,emilio,jesup
...
Depends on D179337
Differential Revision: https://phabricator.services.mozilla.com/D179420
2023-05-31 07:45:46 +00:00
Valentin Gosu
304d922abb
Bug 1818022 - Simplify the DoH native fallback warning detection and application r=acreskey,necko-reviewers,kershaw
...
This patch reverts the fallback warning behaviour when a canary heuristic
was tripped. Instead of enabling TRR and failing DNS resolves if skip reason
is a canary code, we now leave it disabled and instead fail DNS resolves
that would have otherwise used TRR if it had been enabled.
Differential Revision: https://phabricator.services.mozilla.com/D179057
2023-05-31 07:39:39 +00:00
dylan
aba5ef3467
Bug 1815925 - Removed second colon check in URL parser. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D178563
2023-05-30 22:10:01 +00:00
sunil mayya
6c88919a0b
Bug 1455614 - improve content-length header parsing. r=necko-reviewers,valentin
...
The change is intended to improve parsing of the content-length headers.
Specifically, it addresses the problem of handling multiple content-length values.
Differential Revision: https://phabricator.services.mozilla.com/D178370
2023-05-29 14:33:12 +00:00
sankalp1999
92e6376b0e
Bug 1831587 - add value arg to delete and has, working wpt, delete ini r=valentin,necko-reviewers,webidl,smaug,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D177957
2023-05-29 13:32:06 +00:00
Kris Maglione
32784b2883
Bug 1648545: Part 4 - Move ContentPage.spawn to use SpecialPowers rather than ContentTask. r=ahal,cookie-reviewers,anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D119451
2023-05-27 03:46:44 +00:00
Nika Layzell
c01652d59f
Bug 1834640 - Part 2: Properly shutdown nsSocketTransportService during xpcom-shutdown-threads, r=jesup,necko-reviewers
...
This also cleans up some of the unnecessary flags & memebrs which were held
during the changes in bug 1818998. mSelf was unncessary as the runnable
reference will be keeping the instance alive for the same lifetime, and
mSocketThreadShutDown was redundant with !mInitialized.
This change will also fix a potential issue where the socket thread was not
being shut down when switching the browser into an offline state from
`profile-change-net-teardown`, which could've lead to thread leaks when the
browser is returned to an online state. The restore codepath, however, has
been dead for a long time so this is unlikely to be a real issue in practice.
Depends on D178867
Differential Revision: https://phabricator.services.mozilla.com/D178868
2023-05-26 16:50:22 +00:00
Nika Layzell
12fd335873
Bug 1834640 - Part 1: Add threadsafety annotations to nsSocketTransportService, r=jesup,necko-reviewers
...
While looking at the relevant code, I noticed the unannotated mutex, and added
some annotations to it. The minor changes I had to do to keep the tree
building after the annotations shouldn't be actual threadsafety issues, as
most of it is either dead code, or exclusively called from the only mutating
thread.
Differential Revision: https://phabricator.services.mozilla.com/D178867
2023-05-26 16:50:22 +00:00
Mark Banner
8b4f426ecf
Bug 1834204 - Update more consumers to import ES modules directly. r=kpatenio,geckoview-reviewers,whimboo,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D178590
2023-05-26 11:36:33 +00:00
Harshit Sohaney
677b6a70ce
Bug 1826418 - Part 2: Added a clause to check for replaced shims scripts when classifying for other event types. r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D178853
2023-05-26 08:10:50 +00:00
Harshit Sohaney
817e228ec3
Bug 1826418 - Added a new event to categorize replaced shims scripts for fingerprinting. Replaced shims for fingerprinting are counted in about:protections too now. r=timhuang,anti-tracking-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D178324
2023-05-26 08:10:50 +00:00
Valentin Gosu
fae6be53bb
Bug 1835060 - Failed assertion in ChildDNSService::GetSingleton r=necko-reviewers,kershaw
...
Instead of instantiating a ChildDNSService, we should instantiate the correct
object for the current process, which may very well be the main process.
Differential Revision: https://phabricator.services.mozilla.com/D179093
2023-05-26 08:01:02 +00:00
Noemi Erli
06b68d0d45
Backed out 4 changesets (bug 1648545) for causing mass failures
...
Backed out changeset ac3d639547fa (bug 1648545)
Backed out changeset f63760c845f3 (bug 1648545)
Backed out changeset 652b48b10d37 (bug 1648545)
Backed out changeset 1ca7abd873d1 (bug 1648545)
2023-05-26 02:12:58 +03:00
Kris Maglione
f3218c1a70
Bug 1648545: Part 4 - Move ContentPage.spawn to use SpecialPowers rather than ContentTask. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D119451
2023-05-25 22:04:32 +00:00
Cristian Tuns
37fe791779
Backed out changeset 65db9227c38c (bug 1815925) for causing wpt failures in a-element-xhtml.xhtml CLOSED TREE
2023-05-25 13:54:43 -04:00
Kershaw Chang
6043d575b4
Bug 1687364 - Telemetry probe for the outcomes of Authorization header, r=freddyb,necko-reviewers,valentin
...
Depends on D178043
Differential Revision: https://phabricator.services.mozilla.com/D178151
2023-05-25 15:41:33 +00:00
Kershaw Chang
d8e56007c1
Bug 1687364 - Authorization header can't be wildcarded for Access-Control-Allow-Headers, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D102932
2023-05-25 15:41:33 +00:00
Mark Banner
45f372eae2
Bug 1834176 - Convert NetUtil.jsm to an ES module. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D178954
2023-05-25 14:12:12 +00:00
dylan
a7e60c4dc9
Bug 1815925 - Removed second colon check in URL parser. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D178563
2023-05-25 13:26:40 +00:00
Cosmin Sabou
bb4c6b6b81
Backed out 2 changesets (bug 1834176) for having an unreferenced file in NetUtil.sys.mjs. CLOSED TREE
...
Backed out changeset 2cc40181bae9 (bug 1834176)
Backed out changeset f17584d19ea7 (bug 1834176)
2023-05-24 19:47:31 +03:00
Mark Banner
01907192f7
Bug 1834176 - Convert NetUtil.jsm to an ES module. r=necko-reviewers,valentin
...
Depends on D178588
Differential Revision: https://phabricator.services.mozilla.com/D178954
2023-05-24 16:11:15 +00:00
Sean Feng
f5a6348688
Bug 1833216 - Add two more telemetry probes for ORB r=farre,necko-reviewers
...
Add `ORB_BLOCK_REASON` to learn more about the reasoning of orb blocking in the wild.
Add ORB_BLOCK_INITIATOR to learn about the initiators. We can add more probes in the future if we want to target a specific initiator.
Differential Revision: https://phabricator.services.mozilla.com/D178102
2023-05-23 20:42:35 +00:00
Natalia Csoregi
e87ecf485e
Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
...
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner
fbc15bdb60
Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli
aa2f146d78
Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
...
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner
e3e9a991b8
Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Nicklas Boman
b91ba7b84e
Bug 1833732 - Freebsd build error after wifi scanning refactor r=necko-reviewers,jesup DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D178375
2023-05-22 22:11:08 +00:00
Johannes J. Schmidt
bb1dbfa4c0
Bug 1832490 - make LoginManagerAuthPrompter promts async r=credential-management-reviewers,necko-reviewers,jesup,dimi
...
to use `addLoginAsync` instead of `addLogin`.
Differential Revision: https://phabricator.services.mozilla.com/D178285
2023-05-22 13:49:59 +00:00
Kershaw Chang
b7200927e2
Bug 1831635 - Check WebTransportSessionProxyState before creating stream, r=jesup,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D178219
2023-05-22 09:15:26 +00:00
Andreas Farre
58e35cde69
Bug 1833642 - Test that security headers are processed on onAuthCancelled. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D178319
2023-05-22 08:43:03 +00:00
Mark Banner
130a655906
Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503
Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Pushpanjali
235f25ea9c
Bug 1822010 - Convert toolkit/components/url-classifier to ES modules. r=perftest-reviewers,webcompat-reviewers,geckoview-reviewers,devtools-reviewers,twisniewski,valentin,m_kato,anti-tracking-reviewers,timhuang,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D173390
2023-05-18 12:21:12 +00:00
Kershaw Chang
86d59e6ff3
Bug 1828537 - Add assertion to check if HttpChannelChild is released on main thread, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D178159
2023-05-17 21:25:33 +00:00