1
0
Fork 0
firefox/testing/web-platform/tests/webmessaging/broadcastchannel/sandbox.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
445 B
HTML

<!DOCTYPE html>
<meta charset=utf-8>
<title>Creating BroadcastChannel in an opaque origin</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
async_test(t => {
self.onmessage = t.step_func(e => {
assert_equals(e.data, 'Created');
t.done();
});
});
</script>
<iframe sandbox="allow-scripts" src="resources/sandboxed.html"></iframe>
</body>