| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..912c9f1707ad0657b68ba1c0f348b09b0b4f8bd6
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/files/blob-slice-type.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<title>Blob.slice() type argument</title>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script>
|
| +test(function() {
|
| + assert_equals(new Blob().slice(0, 0, null).type, "null");
|
| +}, 'Blob.slice() with type argument as null.');
|
| +
|
| +test(function() {
|
| + assert_equals(new Blob().slice(0, 0, undefined).type, "");
|
| +}, 'Blob.slice() with type argument as undefined.');
|
| +
|
| +test(function() {
|
| + assert_equals(new Blob().slice(0, 0).type, "");
|
| +}, 'Blob.slice() with no type argument passed.');
|
| +</script>
|
|
|