Index: third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html |
diff --git a/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html b/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html |
index 912c9f1707ad0657b68ba1c0f348b09b0b4f8bd6..b981861dd1ceec1a13a2cff17ebe7d1c8387980d 100644 |
--- a/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html |
+++ b/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html |
@@ -12,6 +12,15 @@ test(function() { |
}, 'Blob.slice() with type argument as undefined.'); |
test(function() { |
+ assert_equals(new Blob().slice(0, 0, 'hello\u0100').type, ""); |
+}, 'Blob.slice() with non-ASCII type.'); |
+ |
+test(function() { |
+ assert_equals(new Blob().slice(0, 0, 'hello\u001F').type, ""); |
+ assert_equals(new Blob().slice(0, 0, 'hello\u00FF').type, ""); |
+}, 'Blob.slice() with non-printable-ASCII type.'); |
+ |
+test(function() { |
assert_equals(new Blob().slice(0, 0).type, ""); |
}, 'Blob.slice() with no type argument passed.'); |
</script> |