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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/websocket/handshake-fail-by-prepended-null.html

Issue 2706013002: Added support for self.origin in Window and WorkerGlobalScope (Closed)
Patch Set: rebase-update after manifest.json changes Created 3 years, 10 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698