Send requests with new fetch destination
Categories
(Core :: DOM: Credential Management, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: bvandersloot, Assigned: bvandersloot)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
After much deliberation, the standard seems to be settling on using a new Sec-Fetch-Dest value, rather than a custom protected header.
Deliberation: https://github.com/fedidcg/FedCM/issues/320
Merge into Fetch: https://github.com/whatwg/fetch/pull/1495
| Assignee | ||
Comment 1•3 years ago
|
||
This is to keep up with WHATWG Fetch https://github.com/whatwg/fetch/pull/1495 .
I added an element to nsIContentPolicy::nsContentPolicyType as my starting point and
proceeded from there, following the instructions at the end of the enum.
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
InternalRequest::OverrideContentPolicyType was literally built for this.
I just had to call it while building requests and start checking for it in all of the relevant tests.
I know, code duplication is bad, but I think it is easier to see what a test is doing without helpers and they aren't hard to update entirely by hand yet.
Depends on D158657
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6a74cdaf71bb
https://hg.mozilla.org/mozilla-central/rev/9a6fed87ccdb
Description
•