Source code

Revision control

Copy as Markdown

Other Tools

import { insertCustomIframe, testSupportScript } from "./helpers.mjs";
import { testGetter } from "../../resources/helpers.mjs";
export default () => {
promise_setup(() => {
return insertCustomIframe(`data:text/html,${testSupportScript}`);
});
// The data: URL iframe has an opaque origin, so it should return true, since
// for them site === origin so they are always origin-keyed.
testGetter(0, true, "data: URL child");
};