Revision 859e67ce666775ccd471e4693d85d4e90989e270 authored by Bernie Thompson on 29 March 2018, 17:39:39 UTC, committed by Chromium WPT Sync on 29 March 2018, 17:39:39 UTC
BUG=chromium:825100
TEST=None

This reverts commit f2d2fe87028de36a489f7db3f5fb28da2e9d9b2b.

Change-Id: I01e5962e0b52ad63feca36513db19253a5ade530
1 parent a149250
Raw File
opaque-origin.html
<!DOCTYPE html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
// Sandboxed iframe forwards messages from its worker, this translates those
// messages back to something fetch_tests_from_worker can parse.
const channel = new MessageChannel();
onmessage = e => {
  channel.port2.postMessage(e.data);
};
fetch_tests_from_worker(channel.port1);
</script>
<iframe sandbox="allow-scripts" src="support/sandboxed-tests.html?pipe=sub"></iframe>
</body>
back to top