Index: LayoutTests/fast/domurl/url-href.html |
diff --git a/LayoutTests/fast/domurl/url-href.html b/LayoutTests/fast/domurl/url-href.html |
index 984087b9f7fde95c33eec04962d27b25578fba02..f5056af6e89058f698b96c14b98895ddb91fe023 100644 |
--- a/LayoutTests/fast/domurl/url-href.html |
+++ b/LayoutTests/fast/domurl/url-href.html |
@@ -20,4 +20,10 @@ test(function() { |
assert_equals(url.href, 'invalid'); |
}, 'setting href to an invalid URL'); |
+test(function() { |
+ var url = new URL('http://domain.com/'); |
+ url.href = null; |
+ assert_equals(url.href, 'null'); |
+}, 'setting href to null'); |
+ |
</script> |