chromium/third_party/blink/web_tests/external/wpt/html/browsers/origin/origin-keyed-agent-clusters/getter-special-cases/resources/data-url-test.mjs

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");
};