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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/sandbox.html

Issue 2558423002: Import wpt/webmessaging tests (Closed)
Patch Set: rebase again Created 3 years, 11 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/sandbox.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/sandbox.html b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/sandbox.html
new file mode 100644
index 0000000000000000000000000000000000000000..aedf3c0d6fe64dca2b3a6058d69d7f3a7f70cc28
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/webmessaging/broadcastchannel/sandbox.html
@@ -0,0 +1,16 @@
+<!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>

Powered by Google App Engine
This is Rietveld 408576698