Skip to content

Commit 05fdf81

Browse files
GrapeGreenchromium-wpt-export-bot
authored andcommitted
Make //content have no baseline permissions policy for isolated apps
Baseline permissions policy (aka high-watermark permissions policy) is strictly an Isolated Web Apps concept for the //chrome layer -- it's not exactly spec-ed and isn't a hard requirement for other embedders. Allowing it to be optional outside of //chrome (and falling back to how regular pages behave) eliminates the need to define approximate baseline policies in WPTs and //content browser tests. In addition this CL opts WPTs relying on isolated-context-origins into proper process-level isolation instead of pretending that they're running in embedder-defined IsolatedContext. Bug: 340886976 Change-Id: Ia893e61efb372088228bd9bed3da2be4a7d2e17f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7594805 Reviewed-by: Zgroza (Luke) Klimek <zgroza@chromium.org> Reviewed-by: Camille Lamy <clamy@chromium.org> Commit-Queue: Andrew Rayskiy <greengrape@google.com> Auto-Submit: Andrew Rayskiy <greengrape@google.com> Cr-Commit-Position: refs/heads/main@{#1594940}
1 parent f7a2add commit 05fdf81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Cross-Origin-Opener-Policy: same-origin
22
Cross-Origin-Embedder-Policy: require-corp
3-
Permissions-Policy: direct-sockets=(self)
3+
Permissions-Policy: cross-origin-isolated=(self), direct-sockets=(self)
44
Origin-Agent-Cluster: ?0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Cross-Origin-Opener-Policy: same-origin
22
Cross-Origin-Embedder-Policy: require-corp
3-
Permissions-Policy: direct-sockets=(self)
3+
Permissions-Policy: cross-origin-isolated=(self), direct-sockets=(self)
44
Origin-Agent-Cluster: ?0

0 commit comments

Comments
 (0)