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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/postMessage_clone_port_error.htm

Issue 2418853003: Worker: Import "imported/wpt/workers" tests (Retry) (Closed)
Patch Set: rebase Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title> postMessage(): cloning source port </title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <script>
7 test(function() {
8 var channel = new MessageChannel();
9 channel.port1.start();
10 assert_throws("DataCloneError", function() {
11 channel.port1.postMessage("ports", [channel.port1]);
12 });
13 });
14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698