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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js

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/fast/dom/Window/resources/window-property-collector.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
index bf28968a68f8b856c6e7c0dd9084843a375ec0ef..fd228a0a94ddf534a55eeb54a2f0000a00f6ff36 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
@@ -54,6 +54,9 @@ function emitExpectedResult(path, expected)
case "location.origin":
expected = "'null'";
break;
+ case "origin":
+ expected = "'file://'";
+ break;
case "location.pathname":
expected = "'blank'";
break;

Powered by Google App Engine
This is Rietveld 408576698