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

Side by Side Diff: LayoutTests/http/tests/websocket/workers/close-before-open.html

Issue 211093005: [WebSocket] Add close-before-open layout test for workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed #2 Created 6 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/websocket/workers/close-before-open-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="/js-test-resources/testharness.js"></script>
5 <script src="/js-test-resources/testharnessreport.js"></script>
6 <script type="text/javascript">
7
8 var test = async_test("Test that an error is shown on the console when close() i s called on a WebSocket synchronously right after it's constructed.");
9 test.step(function()
10 {
11 var worker = new Worker("resources/close-before-open.js");
12 worker.onmessage = test.step_func(function(evt)
13 {
14 assert_equals(evt.data, "DONE", "evt.data");
15 test.done();
16 });
17 });
18
19 </script>
20 </head>
21 <body>
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/websocket/workers/close-before-open-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698