ownedbywuigi
257ddfa48d
Enhance PDF handling by introducing DISPOSITION_FORCE_INLINE and updating content disposition logic
2026-03-31 11:46:59 +01:00
OwnedByWuigi
c875e8bdfd
Edge theme (WIP)
2026-02-28 16:46:59 +00:00
roytam1
50b6047c84
Merge remote-tracking branch 'origin/tracking' into custom
2025-09-26 23:16:18 +08:00
Moonchild
0d00c84033
Revert "Issue #2258 - Part 1: Support XCTO:nosniff when navigating."
...
This reverts commit f48c770701e62c382631620f4caa1fdc5ab1d7ae.
2025-09-26 23:15:31 +08:00
Moonchild
73c9c1dd73
Revert "Issue #2258 - Part 2: Move XCTO:nosniff check into sniffers."
...
This reverts commit 51e1650d42b2c033d5d55750b4ea497053524c93.
2025-09-26 23:15:12 +08:00
Moonchild
2d4d48db72
Revert "Issue #2258 - Part 3: Allow sniffing with XCTO:nosniff + empty MIME type."
...
This reverts commit a56f978f70e2d96ba501d6a944be33460afc481a.
2025-09-26 23:14:52 +08:00
roytam1
e4c5aafee9
Merge remote-tracking branch 'origin/tracking' into custom
2025-09-23 15:20:06 +08:00
Moonchild
1bcdad3ef1
Issue #2852 - Follow-up: Add comment and fix formatting.
2025-09-23 15:19:29 +08:00
Moonchild
16164b3d38
Issue #2852 - Parse full cache-control headers.
...
This makes sure we parse the merged/stored version of `cache-control`
instead of just the latest-received header.
`ResponseHead::ParseHeaderLine_locked` parses each header as it comes in.
It then updates its member variables based on that header.
For `cache-control`, it's important to reparse the merged (updated)
version of the header instead of the most recent one, otherwise we'll miss
directives present in previously received headers.
Resolves #2852
2025-09-23 15:18:48 +08:00
roytam1
75997f1917
Merge remote-tracking branch 'origin/tracking' into custom
2025-08-18 09:49:01 +08:00
Moonchild
707c3e3fa8
Issue #2258 - Part 3: Allow sniffing with XCTO:nosniff + empty MIME type.
...
This moves the checking code back to NS_SniffContent and specifically
checks requests for either:
- Empty `Content-type` header, OR
- A known JSON MIME type
If present, sniffing is allowed despite `nosniff` because in the first
case this is webmaster error (conflicting `nosniff` without MIME type
would always fail, so sniff it), and in the second case we need this
carveout or our json viewer will break.
2025-08-18 09:47:36 +08:00
Moonchild
cca20ae131
Issue #2258 - Part 2: Move XCTO:nosniff check into sniffers.
...
This fixes a regression for the JSON viewer from part 1 as it relies on
sniffing to prettify (and should carve out the exception even if `nosniff`
headers are sent).
No real functional changes otherwise. Just catering to a corner case.
2025-08-18 09:47:21 +08:00
Moonchild
e56e5d6cb1
Issue #2258 - Part 1: Support XCTO:nosniff when navigating.
2025-08-18 09:46:58 +08:00
roytam1
e72f8a3a81
Merge remote-tracking branch 'origin/tracking' into custom
2025-05-14 14:36:05 +08:00
Shadow
40e01c31e4
No Issue - Fix incorrectly written pref name
...
Bug 1481096
"spdy.default-hpack-buffer" was incorrectly written as "spdy.hpack-default-buffer".
2025-05-14 14:05:47 +08:00
roytam1
e2f07956fb
Merge remote-tracking branch 'origin/tracking' into custom
2025-03-23 12:27:56 +08:00
Shadow
8f2f4d8d3d
Issue #2703 - Part 4: Fix incorrect clang warning in nsCORSListenerProxy.
...
See BZ Bug 1444472
Resolves #2703
2025-03-23 12:27:29 +08:00
Shadow
fdfe81fe54
Issue #2703 - Part 3: Make cache entry request checking more readable.
2025-03-23 12:27:16 +08:00
Shadow
7854198085
Issue #2703 - Part 2: Don't repeatedly construct comparators when checking cache entries.
...
nsCaseInsensitiveCStringComparator ought to be cheap to construct, but
the object actually has a vtable to install and whatnot. So it's
beneficial to pull the construction of it outside of the headers loop.
2025-03-23 12:27:01 +08:00
Shadow
d678f508de
Issue #2703 - Part 1: micro-optimize purging expired preflight cache entries.
...
The entries in mMethods and mHeaders aren't sorted in any special way,
so we can remove expired entries using UnorderedRemoveElementAt, which
is faster than RemoveElementAt.
2025-03-23 12:26:44 +08:00
roytam1
2a53c574f6
Merge remote-tracking branch 'origin/tracking' into custom
2025-03-13 23:05:24 +08:00
Shadow
d9c27beb51
No Issue - Stop warning if a network request failed.
...
Bug 1286036
2025-03-13 23:04:39 +08:00
roytam1
904406a497
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-20 21:13:46 +08:00
Moonchild
624ff30bfc
[network] Don't try to use non-existing connections.
2025-01-18 10:31:13 +08:00
roytam1
44f397bea2
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-10 22:32:18 +08:00
Moonchild
024ab86be6
[network] Verify connection NPN against negotiated NPN.
2025-01-10 22:30:15 +08:00
roytam1
310c05b97a
Merge remote-tracking branch 'origin/tracking' into custom
2024-11-21 21:09:29 +08:00
Moonchild
ff89fee91d
Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup.
2024-11-21 21:09:05 +08:00
Moonchild
7b6e3a2d4a
Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
...
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-21 21:01:27 +08:00
Moonchild
7d978ccd71
Issue #2641 - Update Fetch to adhere to the updated spec (pass refpolicy)
...
Resolves #2641
2024-10-24 07:37:31 +08:00
roytam1
97fb5d7f9b
ported from mozilla: Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana. (763507de3e)
2024-10-03 07:35:53 +08:00
roytam1
1b648cc1d8
Merge remote-tracking branch 'origin/tracking' into custom
2024-09-13 10:04:42 +08:00
FranklinDM
2d60c54926
Issue #2578 - Part 2: Implement preference for disabling CORS preflight requests if CORS is disabled
2024-09-13 10:03:53 +08:00
roytam1
0d1cf674f0
Merge remote-tracking branch 'origin/tracking' into custom
2024-07-10 14:55:58 +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
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
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