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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/websocket/iframe-sandbox.html

Issue 2706013002: Added support for self.origin in Window and WorkerGlobalScope (Closed)
Patch Set: Fixed websocket tests. Added [Replaceable] to the origin in *.idl 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/iframe-sandbox.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/websocket/iframe-sandbox.html b/third_party/WebKit/LayoutTests/http/tests/websocket/iframe-sandbox.html
index 76657ddc0569f7dfb2f3ca3d2035b4b0f0fd955e..003768b55f8fa2d40e5584728f376178e1a24cff 100644
--- a/third_party/WebKit/LayoutTests/http/tests/websocket/iframe-sandbox.html
+++ b/third_party/WebKit/LayoutTests/http/tests/websocket/iframe-sandbox.html
@@ -7,12 +7,12 @@ window.jsTestIsAsync = true;
window.addEventListener("message", receiveMessage, false);
-var origin;
+var wsOrigin;
function receiveMessage(event)
{
- origin = event.data;
- shouldBeEqualToString("origin", "null");
+ wsOrigin = event.data;
+ shouldBeEqualToString("wsOrigin", "null");
finishJSTest();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698