Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: third_party/WebKit/LayoutTests/fast/files/url-null.html

Issue 1492093002: Drop [LegacyInterfaceTypeChecking] for URL.createObjectURL(blob) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/files/url-null-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/files/url-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698