| Index: LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js
|
| diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js b/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js
|
| index 8b2fc81e2da4ca9fb74601d4d914866ccdd467c2..c20430f1619e1d73fa49a3123d9390e370954270 100644
|
| --- a/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js
|
| +++ b/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js
|
| @@ -45,13 +45,10 @@ a.href = "https://www.mydomain.com:8080/path/";
|
| a.host = "www.otherdomain.com:";
|
| shouldBe("a.href", "'https://www.otherdomain.com:0/path/'");
|
|
|
| -// IE8 converts null to "null", which is not the right thing to do.
|
| -// Firefox 3.5.2 allows setting the host to null, which it shouldn't per
|
| -// http://dev.w3.org/html5/spec/infrastructure.html#url-decomposition-idl-attributes .
|
| debug("Set host to null");
|
| a.href = "https://www.mydomain.com:8080/path/";
|
| a.host = null;
|
| -shouldBe("a.href", "'https://www.mydomain.com:8080/path/'");
|
| +shouldBe("a.href", "'https://null:8080/path/'");
|
|
|
| // Both IE8 and Firefox 3.5.2 allow setting the host to empty string, which they shouldn't, per
|
| // http://dev.w3.org/html5/spec/infrastructure.html#url-decomposition-idl-attributes .
|
|
|