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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/location-new-window-no-crash.html

Issue 2749803003: Initialize document m_URL, m_baseURL to blankURL. (Closed)
Patch Set: Rebased. Created 3 years, 9 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/location-new-window-no-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/location-new-window-no-crash.html b/third_party/WebKit/LayoutTests/fast/dom/location-new-window-no-crash.html
index d26ab8c6ba5d6979d06e1907cd626a380e2349a8..abe86e1c7ef709c4737623881e193367b914dc0a 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/location-new-window-no-crash.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/location-new-window-no-crash.html
@@ -41,15 +41,15 @@ shouldBe("testWindow.location.assign('data:text/plain,i')", "undefined");
shouldBe("testWindow.location.replace('data:text/plain,j')", "undefined");
shouldBe("testWindow.location.reload()", "undefined");
-shouldBe("testWindow.location.toString()", "'about:blank'");
-shouldBe("testWindow.location.href", "'about:blank'");
+shouldBe("testWindow.location.toString()", "'about:blank#h'");
+shouldBe("testWindow.location.href", "'about:blank#h'");
shouldBe("testWindow.location.protocol", "'about:'");
shouldBe("testWindow.location.host", "''"); // Firefox throws an exception
shouldBe("testWindow.location.hostname", "''"); // Firefox throws an exception
shouldBe("testWindow.location.port", "''");
shouldBe("testWindow.location.pathname", "'blank'"); // Firefox returns the empty string
shouldBe("testWindow.location.search", "''");
-shouldBe("testWindow.location.hash", "''");
+shouldBe("testWindow.location.hash", "'#h'");
testWindow.close();

Powered by Google App Engine
This is Rietveld 408576698