Bug 241952

Summary: Feature Policy was renamed to Permissions Policy
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: New BugsAssignee: Anne van Kesteren <annevk>
Status: RESOLVED FIXED    
Severity: Normal CC: annevk, cdumez, marcosc, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=253126
Bug Depends on: 245757, 245765    
Bug Blocks:    

Description Marcos Caceres 2022-06-23 18:41:46 PDT
The Feature Policy was renamed Permissions Policy, which also has the implication that:
 
 * the HTTP header was renamed to Permissions-Policy
 * all the interfaces and related WebIDL parts got renamed

Additionally, there is a new policy parser, which WebKit doesn't support yet (maybe better as a separate bug, but thought I'd mention it here).

Given that Feature-Policy header has been out for a while, we might need to come up with a transitional strategy, whereby we support both Permissions-Policy and Feature-Policy for a while, but also start notifying sites (via web inspector) that they should move to using the new header.
Comment 1 Radar WebKit Bug Importer 2022-06-30 18:42:17 PDT
<rdar://problem/96260775>
Comment 2 Anne van Kesteren 2024-03-15 06:24:37 PDT
We don't support the header currently, that's bug 253126.

I don't think we should support the API in its current state.

Let's repurpose this bug for renaming our existing data structures.
Comment 3 Anne van Kesteren 2024-03-15 06:54:40 PDT
Pull request: https://github.com/WebKit/WebKit/pull/25942
Comment 4 EWS 2024-03-15 10:56:03 PDT
Committed 276174@main (be2c477e5584): <https://commits.webkit.org/276174@main>

Reviewed commits have been landed. Closing PR #25942 and removing active labels.