Index: LayoutTests/fast/domurl/url-search.html |
diff --git a/LayoutTests/fast/domurl/url-search.html b/LayoutTests/fast/domurl/url-search.html |
index 9aeb0c580c81e89ceada1249ed885c33ebc43096..88e2f441b62263e902a5268edd8820929818855d 100644 |
--- a/LayoutTests/fast/domurl/url-search.html |
+++ b/LayoutTests/fast/domurl/url-search.html |
@@ -3,7 +3,6 @@ |
<script src="../../resources/testharness.js"></script> |
<script src="../../resources/testharnessreport.js"></script> |
<script> |
- |
test(function() { |
var url = new URL('http://www.domain.com/'); |
assert_equals(url.search, ''); |
@@ -23,8 +22,8 @@ test(function() { |
url.search = 'a'; |
assert_equals(url.search, '?a'); |
- url.search = '?a'; |
- assert_equals(url.search, '?a'); |
+ url.search = '?b'; |
+ assert_equals(url.search, '?b'); |
url.search = 'a#b'; |
assert_equals(url.search, '?a%23b'); |
@@ -50,5 +49,4 @@ test(function() { |
assert_equals(url.search, ''); |
assert_equals(url.href, 'invalid'); |
}, 'search property invalid URL'); |
- |
</script> |