blob: d6227ee47eba274f1fdd3481db89759fd803447f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// META: script=../helpers.js
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
'use strict';
// This expects to be run in an iframe that is cross-site to the top-level frame.
(async function() {
// Create a test with a single-child iframe that is same-site to the top-level frame but cross-site to the iframe
// that is being created here, for the purpose of testing hasStorageAccess in an A(B(A)) frame tree setting.
RunTestsInIFrame("https://{{host}}:{{ports[https][0]}}/storage-access-api/resources/hasStorageAccess-iframe.https.html?testCase=ABA");
})();
|