Index: third_party/WebKit/LayoutTests/fast/files/url-null.html |
diff --git a/third_party/WebKit/LayoutTests/fast/files/url-null.html b/third_party/WebKit/LayoutTests/fast/files/url-null.html |
index 744a833a6d70633e205e5a795cafdaaf11b107ad..95dd3e06895388889915a8b2656cba9cd88a9baa 100644 |
--- a/third_party/WebKit/LayoutTests/fast/files/url-null.html |
+++ b/third_party/WebKit/LayoutTests/fast/files/url-null.html |
@@ -7,10 +7,12 @@ |
<div id="description"></div> |
<div id="console"></div> |
<script> |
-description("Test URL methods with null arguments."); |
+description("Test URL methods with null and undefined arguments."); |
-shouldBe("URL.createObjectURL(null)", "null"); |
-evalAndLog("URL.revokeObjectURL(null)"); |
+shouldThrow("URL.createObjectURL(null)"); |
+shouldThrow("URL.createObjectURL(undefined)"); |
+shouldNotThrow("URL.revokeObjectURL(null)"); |
+shouldNotThrow("URL.revokeObjectURL(undefined)"); |
var successfullyParsed = true; |
</script> |