Commit fa7109df authored by Arthur Hemery's avatar Arthur Hemery Committed by Commit Bot

[crossOriginIsolated] Enable crossOriginIsolated by default.

The crossOriginIsolated boolean is now implemented and we are enabling
it by default.

Intent to ship thread:
https://groups.google.com/a/chromium.org/g/blink-dev/c/ZzngHwf2qyQ

BUG=1018680

Change-Id: I6215a33bf90ae64ce89ac852309f99315d1a8fcc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424091Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
Reviewed-by: default avatarYoav Weiss <yoavweiss@chromium.org>
Commit-Queue: Arthur Hemery <ahemery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812181}
parent 8fade486
...@@ -105,7 +105,7 @@ const base::Feature kCrossOriginEmbedderPolicy{ ...@@ -105,7 +105,7 @@ const base::Feature kCrossOriginEmbedderPolicy{
// Enables the most recent developments on the crossOriginIsolated property. // Enables the most recent developments on the crossOriginIsolated property.
// https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/crossOriginIsolated // https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/crossOriginIsolated
const base::Feature kCrossOriginIsolated{"CrossOriginIsolated", const base::Feature kCrossOriginIsolated{"CrossOriginIsolated",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_ENABLED_BY_DEFAULT};
// Enables or defaults splittup up server (not proxy) entries in the // Enables or defaults splittup up server (not proxy) entries in the
// HttpAuthCache. // HttpAuthCache.
......
...@@ -401,7 +401,7 @@ ...@@ -401,7 +401,7 @@
}, },
{ {
name: "CrossOriginIsolation", name: "CrossOriginIsolation",
status: "experimental", status: "stable",
}, },
{ {
name: "CrossOriginOpenerPolicyReporting", name: "CrossOriginOpenerPolicyReporting",
......
...@@ -5,6 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ...@@ -5,6 +5,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS oldChildWindow.closed is newChildWindow.closed PASS oldChildWindow.closed is newChildWindow.closed
PASS oldChildWindow.cookieStore.onchange is newChildWindow.cookieStore.onchange PASS oldChildWindow.cookieStore.onchange is newChildWindow.cookieStore.onchange
PASS oldChildWindow.crossOriginIsolated is newChildWindow.crossOriginIsolated
PASS oldChildWindow.defaultStatus is newChildWindow.defaultStatus PASS oldChildWindow.defaultStatus is newChildWindow.defaultStatus
PASS oldChildWindow.defaultstatus is newChildWindow.defaultstatus PASS oldChildWindow.defaultstatus is newChildWindow.defaultstatus
PASS oldChildWindow.devicePixelRatio is newChildWindow.devicePixelRatio PASS oldChildWindow.devicePixelRatio is newChildWindow.devicePixelRatio
......
...@@ -4,6 +4,7 @@ Tests property access on a cached DOMWindow after the associated frame is remove ...@@ -4,6 +4,7 @@ Tests property access on a cached DOMWindow after the associated frame is remove
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS childWindow.closed is true PASS childWindow.closed is true
PASS childWindow.crossOriginIsolated is false
PASS childWindow.defaultStatus is '' PASS childWindow.defaultStatus is ''
PASS childWindow.defaultstatus is '' PASS childWindow.defaultstatus is ''
PASS childWindow.devicePixelRatio is 0 PASS childWindow.devicePixelRatio is 0
......
...@@ -4,6 +4,7 @@ Tests property access on a cached DOMWindow after the associated frame is no lon ...@@ -4,6 +4,7 @@ Tests property access on a cached DOMWindow after the associated frame is no lon
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS childWindow.closed is true PASS childWindow.closed is true
PASS childWindow.crossOriginIsolated is false
PASS childWindow.defaultStatus is '' PASS childWindow.defaultStatus is ''
PASS childWindow.defaultstatus is '' PASS childWindow.defaultstatus is ''
PASS childWindow.devicePixelRatio is 0 PASS childWindow.devicePixelRatio is 0
......
...@@ -2663,6 +2663,7 @@ interface WindowClient : Client ...@@ -2663,6 +2663,7 @@ interface WindowClient : Client
interface WorkerGlobalScope : EventTarget interface WorkerGlobalScope : EventTarget
attribute @@toStringTag attribute @@toStringTag
getter caches getter caches
getter crossOriginIsolated
getter crypto getter crypto
getter fonts getter fonts
getter indexedDB getter indexedDB
......
...@@ -21,6 +21,7 @@ ch-viewport-width ...@@ -21,6 +21,7 @@ ch-viewport-width
ch-width ch-width
clipboard-read clipboard-read
clipboard-write clipboard-write
cross-origin-isolated
document-domain document-domain
encrypted-media encrypted-media
fullscreen fullscreen
......
...@@ -2659,6 +2659,7 @@ Starting worker: resources/global-interface-listing-worker.js ...@@ -2659,6 +2659,7 @@ Starting worker: resources/global-interface-listing-worker.js
[Worker] interface WorkerGlobalScope : EventTarget [Worker] interface WorkerGlobalScope : EventTarget
[Worker] attribute @@toStringTag [Worker] attribute @@toStringTag
[Worker] getter caches [Worker] getter caches
[Worker] getter crossOriginIsolated
[Worker] getter crypto [Worker] getter crypto
[Worker] getter fonts [Worker] getter fonts
[Worker] getter indexedDB [Worker] getter indexedDB
......
...@@ -9566,6 +9566,7 @@ interface webkitURL ...@@ -9566,6 +9566,7 @@ interface webkitURL
getter clientInformation getter clientInformation
getter closed getter closed
getter cookieStore getter cookieStore
getter crossOriginIsolated
getter crypto getter crypto
getter customElements getter customElements
getter defaultStatus getter defaultStatus
......
...@@ -2546,6 +2546,7 @@ Starting worker: resources/global-interface-listing-worker.js ...@@ -2546,6 +2546,7 @@ Starting worker: resources/global-interface-listing-worker.js
[Worker] interface WorkerGlobalScope : EventTarget [Worker] interface WorkerGlobalScope : EventTarget
[Worker] attribute @@toStringTag [Worker] attribute @@toStringTag
[Worker] getter caches [Worker] getter caches
[Worker] getter crossOriginIsolated
[Worker] getter crypto [Worker] getter crypto
[Worker] getter fonts [Worker] getter fonts
[Worker] getter indexedDB [Worker] getter indexedDB
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment