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
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
Tim Huang
6aa1aec225
Bug 1940905 - Introduce a pref to control whether only classify top-level context for the Safe Browsing. r=dimi,necko-reviewers,kershaw
...
Google's SafeBrowsing database is currently optimized for top-level
loads. They no longer suggest running SafeBrowsing protocol on
subresource loads.
In this patch we introduce a pref to contorl the SafeBrowsing behavior
on subresource loads. The propose is to follow the suggestion from
Google to only run SafeBrowsing protocoal for top-level loads.
Differential Revision: https://phabricator.services.mozilla.com/D236156
2025-02-20 16:16:06 +00:00
Yoshi Cheng-Hao Huang
c19ee9601b
Bug 1940382 - Part 3: Don't preload json modules. r=dom-core,necko-reviewers,valentin,farre
...
Implement https://github.com/whatwg/html/pull/10212
Disallow preloading for "json".
https://html.spec.whatwg.org/#translate-a-preload-destination
And add mime-type check for JSON files.
Differential Revision: https://phabricator.services.mozilla.com/D234849
2025-02-10 13:00:38 +00:00
Yoshi Cheng-Hao Huang
9434107eb2
Bug 1940382 - Part 2: Support "json" in the 'as' attribute in HTMLLinkElement. r=dom-core,necko-reviewers,farre,kershaw
...
* https://html.spec.whatwg.org/#attr-link-as
The as attribute specifies the [potential destination](https://fetch.spec.whatwg.org/#concept-potential-destination ) for a preload request for the resource given by the href attribute.
* https://fetch.spec.whatwg.org/#concept-potential-destination
A potential destination is "fetch" or a [destination](https://fetch.spec.whatwg.org/#concept-request-destination
) which is not the empty string.
* https://fetch.spec.whatwg.org/#concept-request-destination
A request has an associated destination, which is the ..., "json", ...
Differential Revision: https://phabricator.services.mozilla.com/D234848
2025-02-10 13:00:38 +00:00
Yoshi Cheng-Hao Huang
bbdb6ec70e
Bug 1940382 - Part 1: Update ScriptLikeOrInvalid for type json. r=dom-core,necko-reviewers,kershaw,farre
...
https://fetch.spec.whatwg.org/#request-destination-script-like
Currently "json" is not treated as script-like destination.
Add "json" to the IsScriptLikeOrInvalid function to ensure it returns false for
"json".
Differential Revision: https://phabricator.services.mozilla.com/D234847
2025-02-10 13:00:38 +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
Simon Friedberger
4fcd691190
Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 17:15:57 +00:00
Sandor Molnar
9e0c14a80e
Backed out changeset c4dfee1f9194 (bug 1919544) for causing bc failures @ browser_UrlbarInput_formatValue.js CLOSED TREE
2024-11-13 15:20:39 +02:00
Simon Friedberger
8eafd874fe
Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 11:44:43 +00:00
Andreas Farre
f5d70ba842
Bug 1724924 - Disallow displaying PDFs in sandboxed iframes. r=dom-core,sefeng
...
Differential Revision: https://phabricator.services.mozilla.com/D227826
2024-11-13 09:42:06 +00:00
Kershaw Chang
bf78339b45
Bug 1929368 - Part1: Revert changes done in bug 1925014, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D228087
2024-11-06 13:34:39 +00:00
Nick Alexander
27cb632c76
Bug 1918194 - Part 1: Add background task extras to nsIIncrementalDownload MAR GETs. r=bytesized,bhearsum,necko-reviewers,application-update-reviewers,csadilek,jesup
...
This adds extra headers and query parameters to identify MAR GET
requests as originating from browsing profiles or background task
profiles.
This extracts a simple existing function for setting headers and then
makes it available to `nsIIncrementalDownload`. The existing function
is not the most pleasant API, but it exists and is much easier than
working through the details of storing header name-value pairs until
they are ready to be used. It's also the same API exposed by Windows
BITS, so there's no additional manipulation required to support BITS.
Differential Revision: https://phabricator.services.mozilla.com/D221860
2024-10-31 21:26:35 +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
Kershaw Chang
d36877b5d8
Bug 1925014 - Disallow HTTP/3 when third party root is found, r=necko-reviewers,keeler,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D225788
2024-10-18 15:58:13 +00:00
Adi
4a82ac2ee8
Backed out 3 changesets (bug 1925014) for causing xpcshell fails @ test_http3.js. CLOSED TREE
...
Backed out changeset e09635a1801e (bug 1925014)
Backed out changeset 15c56a7463ec (bug 1925014)
Backed out changeset 5df6b73dcb6c (bug 1925014)
2024-10-18 15:52:59 +03:00
Kershaw Chang
123c98eba4
Bug 1925014 - Disallow HTTP/3 when third party root is found, r=necko-reviewers,keeler,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D225788
2024-10-18 08:11:35 +00:00
Kershaw Chang
e18114dcf7
Bug 1922559 - Make it possible to skip HTTPS upgrade for TURN requests, r=bwc,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D226051
2024-10-18 07:52:58 +00:00
Sandor Molnar
c4a30164f5
Backed out 2 changesets (bug 1925014) for causing perma android xpc failures @ test_http3.js CLOSED TREE
...
Backed out changeset 197f9b5798d6 (bug 1925014)
Backed out changeset 548b916ef37d (bug 1925014)
2024-10-17 22:49:58 +03:00
Kershaw Chang
44819005c5
Bug 1925014 - Disallow HTTP/3 when third party root is found, r=necko-reviewers,keeler,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D225788
2024-10-16 22:03:50 +00:00
Sean
c0a08061ba
Bug 1883033 - Fix Scheme ws/wss/ssh url query-encoding wpt failures r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D225007
2024-10-10 13:36:13 +00:00
Tamas Szentpeteri
8285dfaab8
Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp.
2024-10-08 23:27:18 +03:00
serge-sans-paille
1966f9a43c
Bug 1920718 - Annotate all global variable with runtime initialization as MOZ_RUNINIT r=application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh
...
This annotation is only understood by our clang-tidy plugin. It has no
effect on regular compilation.
Differential Revision: https://phabricator.services.mozilla.com/D223341
2024-10-08 16:49:51 +00:00
tannal
4cf3378e09
Bug 1916102 - Remove network.url.strict_protocol_setter pref r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D221410
2024-09-08 17:40:37 +00:00
Masatoshi Kimura
e697accc65
Bug 1914286 - Remove NS_RelaxStrictFileOriginPolicy. r=smaug,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D219921
2024-08-23 10:13:35 +00:00
Emilio Cobos Álvarez
77c40caac6
Bug 1910698 - Remove nsIScriptError.sourceLine. r=smaug,devtools-reviewers,webdriver-reviewers,necko-reviewers,nchevobbe,kershaw,jdescottes,credential-management-reviewers,dimi
...
Afaict the source lines are not exposed anywhere in the UI.
Differential Revision: https://phabricator.services.mozilla.com/D218115
2024-08-01 17:12:48 +00:00
Emilio Cobos Álvarez
a44b49af0b
Bug 1910698 - Add a struct to represent JS caller location and more general warning source location. r=smaug,necko-reviewers,anti-tracking-reviewers,dom-storage-reviewers,pbz,kershaw,janv
...
Use it liberally across the tree. This could be cleaned up even more in the future.
Differential Revision: https://phabricator.services.mozilla.com/D218114
2024-08-01 17:12:48 +00:00
Christoph Kerschbaumer
3a801e6bc8
Bug 1910082: Further improve HTTPS Telemetry, r=kershaw,necko-reviewers,simonf
...
Differential Revision: https://phabricator.services.mozilla.com/D217815
2024-07-30 16:20:25 +00:00
Henri Sivonen
7d94c50478
Bug 1753352 - Inherit principal into about:blank with query string. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D212093
2024-07-17 16:12:53 +00:00
Henri Sivonen
41b363d50d
Bug 1889536 - Migrate IDNA handling to ICU4X. r=necko-reviewers,geckoview-reviewers,credential-management-reviewers,home-newtab-reviewers,valentin,owlish,dimi,thecount,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D206579
2024-07-09 11:26:43 +00:00
Tamas Szentpeteri
c1ca326517
Backed out 2 changesets (bug 1889536) for causing bpnu bustages on nsIDNService.cpp. CLOSED TREE
...
Backed out changeset 87d0e483dd8c (bug 1889536)
Backed out changeset c3d6429d8a59 (bug 1889536)
2024-07-09 14:08:25 +03:00
Henri Sivonen
057d6de297
Bug 1889536 - Migrate IDNA handling to ICU4X. r=necko-reviewers,geckoview-reviewers,credential-management-reviewers,home-newtab-reviewers,valentin,owlish,dimi,thecount,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D206579
2024-07-09 09:50:38 +00:00
Andrew McCreight
5e220527ac
Bug 1860915, part 1 - Implement part of Document Policy for force-load-at-top. r=necko-reviewers,smaug,kershaw
...
This adds support for a piece of the Document Policy header parsing we need for
force-load-at-top, and sets a bit on Document if text fragments are enabled,
but this patch does not actually check the bit. That is done in the next
patch.
Differential Revision: https://phabricator.services.mozilla.com/D191798
2024-07-01 19:24:38 +00:00
Christoph Kerschbaumer
324401239b
Bug 1883954: Update, improve and unify HTTPS Telemetry, r=freddyb,kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D212661
2024-06-24 12:56:31 +00:00
Tom Schuster
feaa0c77a1
Bug 1904004 - Use OriginAttributes::IsPrivateBrowsing instead of open coding PBM checks. r=timhuang,cookie-reviewers,anti-tracking-reviewers,profiler-reviewers,necko-reviewers,kershaw,dom-storage-reviewers,janv,canaltinova,dom-worker-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D214532
2024-06-24 11:06:18 +00:00
Sebastian Hengst
560cc55d72
Backed out 2 changesets (bug 1860915) for blocking the backout of bug 1888756
...
Backed out changeset 2c0b981cfd34 (bug 1860915)
Backed out changeset c93c2e13371c (bug 1860915)
2024-06-21 12:04:54 +02:00
Andrew McCreight
e9a8459886
Bug 1860915, part 1 - Implement part of Document Policy for force-load-at-top. r=necko-reviewers,smaug,kershaw
...
This adds support for a piece of the Document Policy header parsing we need for
force-load-at-top, and sets a bit on Document if text fragments are enabled,
but this patch does not actually check the bit. That is done in the next
patch.
Differential Revision: https://phabricator.services.mozilla.com/D191798
2024-06-20 23:09:24 +00:00
Stanca Serban
5e33a12913
Backed out 2 changesets (bug 1883954) for causing mochitests failures in browser_schemeless.js. CLOSED TREE
...
Backed out changeset 790cb078bb3b (bug 1883954)
Backed out changeset 6d1d98d0e69c (bug 1883954)
2024-06-20 12:23:53 +03:00
Christoph Kerschbaumer
61c47ec4a0
Bug 1883954: Update, improve and unify HTTPS Telemetry, r=freddyb,kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D212661
2024-06-20 07:12:47 +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
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
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
Emilio Cobos Álvarez
de09ab0dd6
Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen
...
Sorry for the massive patch but I found it hard to split without
introducing a bunch of copies around...
This mostly makes necko and DOM agree on which strings to use, which
should result on less copies and conversions.
Differential Revision: https://phabricator.services.mozilla.com/D205601
2024-04-04 11:49:57 +00:00
Henri Sivonen
980f566ee3
Bug 1886953 - Introduce deCOMtaminated IDNA functions and benchmark them r=necko-reviewers,valentin
...
The plan is to replace the implementations of these functions with an
ICU4X/Rust back end and then make the XPCOM versions call into these.
Migrating existing C++ callers is out of scope for this changeset.
Differential Revision: https://phabricator.services.mozilla.com/D205420
2024-04-03 06:43:28 +00:00
Cristian Tuns
d3eef14487
Backed out changeset 870a2b89741b (bug 1886953) for causing gtest failures in nsStringIterator.h CLOSED TREE
2024-03-25 14:23:34 -04:00
Henri Sivonen
3ec5e07f9c
Bug 1886953 - Introduce deCOMtaminated IDNA functions and benchmark them r=necko-reviewers,valentin
...
The plan is to replace the implementations of these functions with an
ICU4X/Rust back end and then make the XPCOM versions call into these.
Migrating existing C++ callers is out of scope for this changeset.
Differential Revision: https://phabricator.services.mozilla.com/D205420
2024-03-25 14:57:53 +00:00