Bug 241952 - Feature Policy was renamed to Permissions Policy
Summary: Feature Policy was renamed to Permissions Policy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anne van Kesteren
URL:
Keywords: InRadar
Depends on: 245757 245765
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-23 18:41 PDT by Marcos Caceres
Modified: 2024-03-15 10:56 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.