Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/opaque-origin.html

Issue 2572333003: Import wpt@4970d7334aaf8977c5b617075aa48be1b6e482c7 (Closed)
Patch Set: Update TestExpectations Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset=utf-8>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <body>
6 <script>
7 // Sandboxed iframe forwards messages from its worker, this translates those
8 // messages back to something fetch_tests_from_worker can parse.
9 const channel = new MessageChannel();
10 onmessage = e => {
11 channel.port2.postMessage(e.data);
12 };
13 fetch_tests_from_worker(channel.port1);
14 </script>
15 <iframe sandbox="allow-scripts" src="support/sandboxed-tests.html?pipe=sub"></if rame>
16 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698