| Index: third_party/WebKit/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html b/third_party/WebKit/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html
|
| index 11423ffb1415256b608815121b3320405c5d8a15..04cf68a8cfdb6d8190eb8559b10e6cc42542eb72 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html
|
| @@ -13,12 +13,12 @@ window.jsTestIsAsync = true;
|
|
|
| var timedOut = false;
|
| var connected = false;
|
| -var origin;
|
| +var wsOrigin;
|
|
|
| function endTest() {
|
| shouldBeFalse('timedOut');
|
| shouldBeFalse('connected');
|
| - shouldBeUndefined('origin');
|
| + shouldBeUndefined('wsOrigin');
|
| clearTimeout(timeoutID);
|
| finishJSTest();
|
| }
|
| @@ -34,8 +34,8 @@ ws.onopen = function()
|
|
|
| ws.onmessage = function(messageEvent)
|
| {
|
| - origin = messageEvent.data;
|
| - debug('origin = ' + origin);
|
| + wsOrigin = messageEvent.data;
|
| + debug('origin = ' + wsOrigin);
|
| ws.close();
|
| }
|
|
|
|
|