Bug 235994 - CSP3: Implement navigate-to directive
Summary: CSP3: Implement navigate-to directive
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kate Cheney
URL:
Keywords: InRadar
Depends on: 127676
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-01 18:02 PST by Kate Cheney
Modified: 2022-10-14 08:41 PDT (History)
12 users (show)

See Also:


Attachments
WIP patch (38.75 KB, patch)
2022-02-01 18:10 PST, Kate Cheney
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kate Cheney 2022-02-01 18:02:56 PST
CSP3: Implement navigate-to directive
Comment 1 Kate Cheney 2022-02-01 18:10:57 PST
Created attachment 450600 [details]
WIP patch
Comment 2 Kate Cheney 2022-02-01 18:11:16 PST
major WIP patch, trying to implement https://www.w3.org/TR/CSP3/#directive-navigate-to. I think I implemented the pre-navigation check properly but haven’t found the best place for the navigation response check yet. It doesn’t help that we can't run a lot of navigate-to WPT tests due to https://bugs.webkit.org/show_bug.cgi?id=127676.
Comment 3 Radar WebKit Bug Importer 2022-02-08 18:03:16 PST
<rdar://problem/88663536>
Comment 4 Ryan Reno 2022-10-14 08:12:27 PDT
This directive was removed from the editor's draft a few weeks ago. It didn't have much vendor support beyond Chrome implementing behind a flag and they wanted it gone too.

https://github.com/w3c/webappsec-csp/pull/564
Comment 5 Brent Fulgham 2022-10-14 08:41:59 PDT
Let’s WONTFIX this, then.