Bug 1601594 - P4 - Changes on window-similar-but-cross-origin-success.https.sub.html; r=annevk

We have window-domain-failure.https.sub.html so we don't need this test.

Github issue: https://github.com/whatwg/html/pull/4734

Differential Revision: https://phabricator.services.mozilla.com/D70350
This commit is contained in:
Tom Tung 2020-05-18 11:44:27 +00:00
Родитель 3ed464473c
Коммит 858e3093fb
2 изменённых файлов: 0 добавлений и 28 удалений

Просмотреть файл

@ -1,26 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Structured cloning of SharedArrayBuffers to similar-origin, but not same-origin, windows</title>
<link rel="help" href="https://html.spec.whatwg.org/multipage/#structuredserialize">
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/test-incrementer.js"></script>
<div id="log"></div>
<script>
"use strict";
document.domain = "{{host}}";
promise_test(t => {
return new Promise(resolve => {
const iframe = document.createElement("iframe");
iframe.onload = t.step_func(() => {
resolve(testSharingViaIncrementerScript(t, window, "window", iframe.contentWindow, "iframe", "*"));
});
iframe.src = "//{{domains[www1]}}:{{location[port]}}/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/resources/incrementer-iframe.html";
document.body.appendChild(iframe);
});
}, "postMessaging to a not same-origin-domain, but similar origin, iframe allows them to see each others' modifications");
</script>

Просмотреть файл

@ -1,2 +0,0 @@
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp