| Index: LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-pathname.js
|
| diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-pathname.js b/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-pathname.js
|
| index 7ff0b3f54b6b92ded7f555d042e35df61db7e41c..44412f1ca5dfb3ce16aee2190fc0aafb7824184b 100644
|
| --- a/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-pathname.js
|
| +++ b/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-pathname.js
|
| @@ -32,11 +32,10 @@ a.href = "https://www.mydomain.com/path/testurl.html?key=value";
|
| a.pathname = "/it/../path";
|
| shouldBe("a.href", "'https://www.mydomain.com/path?key=value'");
|
|
|
| -// IE8 converts null to "null", which is not the right thing to do.
|
| debug("Set pathname to null");
|
| a.href = "https://www.mydomain.com/path/testurl.html?key=value";
|
| a.pathname = null;
|
| -shouldBe("a.href", "'https://www.mydomain.com/?key=value'");
|
| +shouldBe("a.href", "'https://www.mydomain.com/null?key=value'");
|
|
|
| debug("Set pathname to empty string");
|
| a.href = "https://www.mydomain.com/?key=value";
|
|
|