Commit 8c8dcd60 authored by Domenic Denicola's avatar Domenic Denicola Committed by Commit Bot

Origin isolation: remove originIsolationRestricted alias

Fixed: 1103866
Change-Id: Id72de11128df96f28895460ae468ca7307c84e9f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367740Reviewed-by: default avatarNate Chapin <japhet@chromium.org>
Reviewed-by: default avatarJames MacLean <wjmaclean@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803876}
parent 52be4945
...@@ -73,12 +73,9 @@ ...@@ -73,12 +73,9 @@
[Custom, NotEnumerable, CrossOrigin] getter object (DOMString name); [Custom, NotEnumerable, CrossOrigin] getter object (DOMString name);
// the user agent // the user agent
// includes an older version of originIsolated (originIsolationRestricted) to avoid breakage during origin trial
// TODO(https://crbug.com/1103866): remove the originIsolationRestricted alias before shipping
[Affects=Nothing, LogActivity=GetterOnly] readonly attribute Navigator navigator; [Affects=Nothing, LogActivity=GetterOnly] readonly attribute Navigator navigator;
[LogActivity=GetterOnly, SecureContext, RuntimeEnabled=AppCache] readonly attribute ApplicationCache applicationCache; [LogActivity=GetterOnly, SecureContext, RuntimeEnabled=AppCache] readonly attribute ApplicationCache applicationCache;
[RuntimeEnabled=OriginIsolationHeader] readonly attribute boolean originIsolated; [RuntimeEnabled=OriginIsolationHeader] readonly attribute boolean originIsolated;
[RuntimeEnabled=OriginIsolationHeader, ImplementedAs=originIsolated] readonly attribute boolean originIsolationRestricted;
// user prompts // user prompts
[Measure, CallWith=ScriptState] void alert(); [Measure, CallWith=ScriptState] void alert();
......
...@@ -190,7 +190,6 @@ PASS oldChildWindow.onwheel is newChildWindow.onwheel ...@@ -190,7 +190,6 @@ PASS oldChildWindow.onwheel is newChildWindow.onwheel
PASS oldChildWindow.opener is newChildWindow.opener PASS oldChildWindow.opener is newChildWindow.opener
PASS oldChildWindow.origin is newChildWindow.origin PASS oldChildWindow.origin is newChildWindow.origin
PASS oldChildWindow.originIsolated is newChildWindow.originIsolated PASS oldChildWindow.originIsolated is newChildWindow.originIsolated
PASS oldChildWindow.originIsolationRestricted is newChildWindow.originIsolationRestricted
PASS oldChildWindow.outerHeight is newChildWindow.outerHeight PASS oldChildWindow.outerHeight is newChildWindow.outerHeight
PASS oldChildWindow.outerWidth is newChildWindow.outerWidth PASS oldChildWindow.outerWidth is newChildWindow.outerWidth
PASS oldChildWindow.pageXOffset is newChildWindow.pageXOffset PASS oldChildWindow.pageXOffset is newChildWindow.pageXOffset
......
...@@ -155,7 +155,6 @@ PASS childWindow.onwheel is null ...@@ -155,7 +155,6 @@ PASS childWindow.onwheel is null
PASS childWindow.opener is null PASS childWindow.opener is null
PASS childWindow.origin is 'file://' PASS childWindow.origin is 'file://'
PASS childWindow.originIsolated is false PASS childWindow.originIsolated is false
PASS childWindow.originIsolationRestricted is false
PASS childWindow.outerHeight is 0 PASS childWindow.outerHeight is 0
PASS childWindow.outerWidth is 0 PASS childWindow.outerWidth is 0
PASS childWindow.pageXOffset is 0 PASS childWindow.pageXOffset is 0
......
...@@ -155,7 +155,6 @@ PASS childWindow.onwheel is null ...@@ -155,7 +155,6 @@ PASS childWindow.onwheel is null
PASS childWindow.opener is null PASS childWindow.opener is null
PASS childWindow.origin is 'file://' PASS childWindow.origin is 'file://'
PASS childWindow.originIsolated is false PASS childWindow.originIsolated is false
PASS childWindow.originIsolationRestricted is false
PASS childWindow.outerHeight is 0 PASS childWindow.outerHeight is 0
PASS childWindow.outerWidth is 0 PASS childWindow.outerWidth is 0
PASS childWindow.pageXOffset is 0 PASS childWindow.pageXOffset is 0
......
...@@ -11949,7 +11949,6 @@ interface webkitURL ...@@ -11949,7 +11949,6 @@ interface webkitURL
getter opener getter opener
getter origin getter origin
getter originIsolated getter originIsolated
getter originIsolationRestricted
getter originPolicyIds getter originPolicyIds
getter outerHeight getter outerHeight
getter outerWidth getter outerWidth
......
<!DOCTYPE html>
<meta charset="utf-8">
<title>The legacy originIsolationRestricted getter still exists for now</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<!--
We're keeping originIsolationRestricted as an alias to originIsolated for
the duration of the origin trial, to avoid breaking any code that depends on it.
This test can be deleted when we finish off https://crbug.com/1103866 by
removing the alias.
-->
<script type="module">
test(() => {
assert_equals(window.originIsolationRestricted, window.originIsolated,
"legacy getter value must equal the new getter value");
assert_equals(window.originIsolationRestricted, true,
"the getters must return true for this very simple isolation case");
});
</script>
Origin-Trial: AkwBfk9Djiu2sKAuVhMLUQ3ldCM8nF0QD6eQpx7wWSnmhMs7udZelhv2iJfIjYuj5j77L3htLCv/dAuv/ttfUQEAAABmeyJvcmlnaW4iOiAiaHR0cHM6Ly93ZWItcGxhdGZvcm0udGVzdDo4NDQ0IiwgImZlYXR1cmUiOiAiT3JpZ2luSXNvbGF0aW9uSGVhZGVyIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9
Origin-Isolation: ?1
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