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> |