Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/files/blob-slice-type-test.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/files/blob-slice-type-test.html b/third_party/WebKit/LayoutTests/fast/files/blob-slice-type-test.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..38f7919590304ae4ff221a274494c9c338f9fd41 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/files/blob-slice-type-test.html |
| @@ -0,0 +1,11 @@ |
| +<!DOCTYPE html> |
| +<title>Blob.slice() type argument</title> |
| +<script src="../../resources/testharness.js"></script> |
| +<script src="../../resources/testharnessreport.js"></script> |
| +<script> |
| +test(function() { |
| + var b = new Blob([1,2,3,4]); |
| + var c = b.slice(1,3, null); |
| + assert_equals(c.type, "null"); |
| +}, 'Blob.slice() argument "type" should be nullable.'); |
|
foolip
2016/11/17 19:48:16
Oops, it should *not* be nullable. But even better
lunalu1
2016/11/17 20:03:01
Done.
|
| +</script> |