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

Side by Side Diff: LayoutTests/fast/events/message-port-clone.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 description("Tests various use cases when cloning MessagePorts."); 7 description("Tests various use cases when cloning MessagePorts.");
8 window.jsTestIsAsync = true; 8 window.jsTestIsAsync = true;
9 9
10 var channel = new MessageChannel; 10 var channel = new MessageChannel;
11 channel.port1.onmessage = channel.port2.onmessage = function(evt) { 11 channel.port1.onmessage = channel.port2.onmessage = function(evt) {
12 testFailed("Should not have received message: " + evt.data); 12 testFailed("Should not have received message: " + evt.data);
13 } 13 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 shouldNotBe("testEvent.ports", "null"); 86 shouldNotBe("testEvent.ports", "null");
87 shouldBe("testEvent.ports.length", "1"); 87 shouldBe("testEvent.ports.length", "1");
88 shouldBe("testEvent.data", "'closed'"); 88 shouldBe("testEvent.data", "'closed'");
89 89
90 finishJSTest(); 90 finishJSTest();
91 } 91 }
92 } 92 }
93 </script> 93 </script>
94 </body> 94 </body>
95 </html> 95 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/keydown-leftright-keys.html ('k') | LayoutTests/fast/events/mouse-click-events.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698