Index: LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-search.js |
diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-search.js b/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-search.js |
index 4799fdc4dbd2782182548fd6204d5fc7d855a676..39370a109a3c4c0130b3c3677d92e8456631d5cf 100644 |
--- a/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-search.js |
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-search.js |
@@ -38,9 +38,9 @@ a.href = "https://www.mydomain.com/path/?key=value"; |
a.search = null; |
shouldBe("a.href", "'https://www.mydomain.com/path/?null'"); |
-// Firefox 3.5.2 Removes the '?', and it shouldn't, per |
-// http://dev.w3.org/html5/spec/infrastructure.html#url-decomposition-idl-attributes . |
+// Firefox 3.5.2 Removes the '?', and it should, per |
+// http://url.spec.whatwg.org/#dom-url-search |
debug("Set search to empty string"); |
a.href = "https://www.mydomain.com/path/?key=value"; |
a.search = ""; |
-shouldBe("a.href", "'https://www.mydomain.com/path/?'"); |
+shouldBe("a.href", "'https://www.mydomain.com/path/'"); |