| Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fdef3f3a155ebd6df32a6e51ff588b456aaffabb
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<title>Feature-Policy Fullscreen Relocated</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script>
|
| +promise_test(function(t) {
|
| + document.location = "http://localhost:8000/feature-policy/resources/feature-policy-fullscreen.html";
|
| + return new Promise(function(resolve, reject) {
|
| + window.addEventListener('message', function(e) {
|
| + resolve(e.data);
|
| + }, { once: true });
|
| + }).then(function(data) {
|
| + parent.postMessage(data, '*');
|
| + });
|
| +}, 'Chaning document.location without changing iframe.src should not update the container policy.');
|
| +</script>
|
|
|