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

Unified Diff: LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html

Issue 60153008: Remove TreatNullAs=NullString for <base>, <body> and <br> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test Created 7 years, 1 month 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html
diff --git a/LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html b/LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html
index 7bf054c22e50f2ecb61108cab5cde4bcf82f4f3c..5739008dc273538074c85c7842ed26d7ed338f43 100644
--- a/LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html
+++ b/LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html
@@ -23,8 +23,7 @@ shouldBeTrue("endsWith(document.querySelector('base').href, 'foo/bar/')");
shouldBeFalse("endsWith(document.querySelector('base').href, 'foo/bar/foo/bar/')");
base.href = null;
-shouldBeFalse("document.querySelector('base').hasAttribute('href')");
-shouldBeTrue("endsWith(document.querySelector('base').href, '/href-attribute-resolves-with-respect-to-document.html')");
+shouldBeTrue("endsWith(document.querySelector('base').href, '/null')");
// When a document does not have a URL, base cannot be resolved
@@ -54,4 +53,4 @@ newWindow.close();
finishJSTest();
-</script>
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698