Moonchild
53149ed646
Issue #2542 - Part 6: Add Sec-Fetch-User header for all requests that are the direct result of a system principal request.
...
This means navigation resulting from interaction with the browser UI
should result in a -user header (address bar navigation, bookmarks, etc.)
2024-07-10 14:48:35 +08:00
Moonchild
0ef8b05101
Issue #2542 - Part 5: Assume browser-initiated requests for unspecified content types to always be user-triggered.
2024-07-10 14:48:15 +08:00
Moonchild
9846090a38
Issue #2542 - Part 4b: Fix pointer mess-up.
2024-07-10 14:47:58 +08:00
Moonchild
65a588ba17
Issue #2542 - Part 4: Use BasePrincipal's IsSameOrigin() in SecFetch.
2024-07-10 14:47:20 +08:00
Moonchild
8ee9e3bc52
Issue #2542 - Part 2b: Fix typo in pref check
2024-07-10 14:46:36 +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