Index: LayoutTests/fast/dom/location-hash.html |
diff --git a/LayoutTests/fast/dom/location-hash.html b/LayoutTests/fast/dom/location-hash.html |
index 15aa107572ac4eff889b746733b03e1b05aee3ce..a6018ad84ba7ba2c084f9fe97817f4fb7e9026e3 100644 |
--- a/LayoutTests/fast/dom/location-hash.html |
+++ b/LayoutTests/fast/dom/location-hash.html |
@@ -79,6 +79,11 @@ |
shouldBe('window.location.hash', '#foo'); |
shouldBe("window.location == originalLocation + '#foo'", true); |
window.location.hash = ''; |
+ shouldBe('window.location.hash', ''); |
+ shouldBe("window.location == originalLocation + '#'", true); |
+ window.location.hash = '#'; |
+ shouldBe('window.location.hash', ''); |
+ shouldBe("window.location == originalLocation + '#'", true); |
if (numErrors == 0) |
print("SUCCESS!", "green") |
else |