Commit graph

409 commits

Author SHA1 Message Date
roytam1
e5ac12c311 Merge remote-tracking branch 'origin/tracking' into custom 2024-08-15 09:42:08 +08:00
Moonchild
dd4e060135 Issue #2554 - Follow-up: Also block [::] and [::0.0.0.0] IPv6 addresses. 2024-08-15 09:39:33 +08:00
Moonchild
fad481b612 Issue #2554 - Follow-up: Correct code comment (no functional changes) 2024-08-15 09:39:06 +08:00
Moonchild
d44b309966 Issue #2554 - Block access to 0.0.0.0 on non-Windows OSes.
Resolves #2554.
2024-08-15 09:38:35 +08:00
roytam1
0d1cf674f0 Merge remote-tracking branch 'origin/tracking' into custom 2024-07-10 14:55:58 +08:00
Moonchild
9759098329 [network] Add additional cookie setting checks.
Added checks for sub-document navigations from cross-site to same-site in
third-party checks when setting a cookie.
2024-07-10 14:54:46 +08:00
Moonchild
d9ff917f15 Issue #2542 - Part 9: Remove TODO comment.
From our understanding of the spec, our current implementation is
feature-complete.
2024-07-10 14:49:39 +08:00
Moonchild
fffe6c4996 Issue #2542 - Part 7: Move SecFetch.* to /netwerk where it belongs. 2024-07-10 14:49:06 +08:00
Moonchild
8076de8965 Issue #2542 - Part 2: Base implementation of Sec-Fetch-* header code.
Currently following Mozilla putting stuff in /dom for additional porting,
but it's actually the wrong location since it belongs in /netwerk with
the other code that deals with http headers.
2024-07-10 14:45:39 +08:00
roytam1
bf385f38eb UAO: add general.useragent.(change_)app_version 2024-07-09 17:02:32 +08:00
roytam1
f596e3d581 UAO: correct UA string rebuild code, add platform_version pref. 2024-07-09 14:08:03 +08:00
roytam1
f8c34e7c0a network: follow-up rev 914569c0b (rework) 2024-07-09 11:35:15 +08:00
roytam1
b5d57ea4e7 Revert "network: follow-up rev 914569c0b"
This reverts commit a50a1db5a7.
2024-07-09 11:27:32 +08:00
roytam1
a50a1db5a7 network: follow-up rev 914569c0b 2024-07-09 11:10:55 +08:00
roytam1
914569c0b9 network: UserAgent: add Platform Version override 2024-07-09 10:21:29 +08:00
roytam1
6d9126c486 Merge remote-tracking branch 'origin/tracking' into custom 2024-06-12 15:16:10 +08:00
Moonchild
bcdf7dc845 [network] Avoid accessing raw pointers in nsTransportEventSinkProxy. 2024-06-12 15:12:37 +08:00
Moonchild
bfb171c783 [network] Perform a case-insensitive match on special cookie prefixes. 2024-06-12 15:11:50 +08:00
roytam1
f8f3b3ee43 Merge remote-tracking branch 'origin/tracking' into custom 2024-05-22 15:26:11 +08:00
Moonchild
f3413e94b9 [network] Make http digest auth cnonce length configurable. 2024-05-22 15:20:46 +08:00
roytam1
552db66da0 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-19 09:37:04 +08:00
Moonchild
1ddd3ea76b [network] Keep track of and check HTTP/2 header sizes. 2024-04-19 09:34:14 +08:00
roytam1
a944026bae Merge remote-tracking branch 'origin/tracking' into custom 2024-04-02 22:57:21 +08:00
FranklinDM
656ee639c5 Issue #2112 - Part 1: Remove Stylo tests 2024-04-02 22:29:48 +08:00
roytam1
1804fcb5d1 Merge remote-tracking branch 'origin/tracking' into custom 2024-02-23 10:53:26 +08:00
Moonchild
9d320dac80 [network] Block set-cookie from multipart/x-mixed-replace 2024-02-23 10:53:04 +08:00
roytam1
b0345ff809 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-18 10:17:09 +08:00
Moonchild
79b4c36ef8 Issue #2451 - Send referrer headers with CORS preflight requests.
This is dependent on referrer policy.

Fixes #2451
2024-01-18 10:04:42 +08:00
roytam1
80c4f1d745 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-11 09:52:46 +08:00
Brian Smith
811bcbefd4 Issue #2402 - Optionally strictly enforce the MIME type of scripts loaded by importScripts(). https://bugzilla.mozilla.org/show_bug.cgi?id=1514680 This is default on in Firefox 67 but Moonchild requested it be set off by default. 2024-01-11 09:46:39 +08:00
roytam1
fa72b197d9 Merge remote-tracking branch 'origin/tracking' into custom 2024-01-05 10:11:42 +08:00
Martok
c451531d54 Issue #2430 - No longer force tcp send buffer size on HTTP/2 uploads > 128KB
With connection-level and stream-level flow control, it is not needed.
On fast connections with large-ish BWP, this can improve upload speed by > 5x
2024-01-05 10:11:19 +08:00
Martok
3e65ae353a Issue #2430 - Allow network.http.spdy.chunk-size to be larger than 16K
According to https://datatracker.ietf.org/doc/html/rfc7540#section-4.2    The size of a frame payload is limited by the maximum size that a
    receiver advertises in the SETTINGS_MAX_FRAME_SIZE setting. This
    setting can have any value between 2^14 (16,384) and 2^24-1
    (16,777,215) octets, inclusive.
2024-01-05 10:10:50 +08:00
roytam1
3039da2cb2 websocket: workaround of mSocketThread use-after-free when application is terminating 2023-12-27 19:18:18 +08:00
roytam1
a907bc3c17 Merge remote-tracking branch 'origin/tracking' into custom 2023-12-21 10:19:16 +08:00
Kershaw Chang
600142110d Bug 1736385 - Make sure thread is alive in CacheIOThread::ThreadFunc 2023-12-21 10:18:53 +08:00
roytam1
5a362aa15b Merge remote-tracking branch 'origin/tracking' into custom 2023-12-15 10:29:04 +08:00
Moonchild
f96001ba7c No issue - Allow redirects for requests that require preflight
Spec update, see Bug 1312864
2023-12-15 09:07:32 +08:00
roytam1
b47d46219f Merge remote-tracking branch 'origin/tracking' into custom 2023-11-24 17:07:26 +08:00
Moonchild
d55111c4fd [Network] Fix relative URL path starting with multiple slashes 2023-11-24 17:05:20 +08:00
roytam1
bac9ec9a84 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-26 10:55:31 +08:00
Moonchild
38f8fde3e3 [network] Block more invalid cookie name characters.
This blocks the following characters from use in the cookie name:
0x3B (semi-colon), 0x3D (equals) and 0x7F (del)
2023-10-26 10:51:50 +08:00
roytam1
ecd3cd8676 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-18 11:48:06 +08:00
Moonchild
50ad087351 Issue #1721 - Implement GlobalPrivacyControl
(and get rid of failed DoNotTrack)
2023-10-18 10:17:23 +08:00
roytam1
ca9d8d3960 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-18 10:03:32 +08:00
Moonchild
0315aeee73 Issue #1721 - Follow-up: Properly protect GPC header
Make it a singleton so it cannot be overwritten.
2023-10-18 09:54:42 +08:00
roytam1
7a3845abaf Merge remote-tracking branch 'origin/tracking' into custom 2023-09-29 10:05:50 +08:00
Basilisk-Dev
21c624222f Issue #2058 - add patches from dbsoft to fix Mac and FreeBSD builds 2023-09-29 09:41:03 +08:00
Basilisk-Dev
0e0bd83fe2 Issue #2058 - apply additional patches from dbsoft for OS defines 2023-09-29 09:28:49 +08:00
Basilisk-Dev
81d8af6565 Issue #2058 - Apply patches from dbsoft to fix Mac and FreeBSD builds 2023-09-29 09:28:21 +08:00