Index: third_party/WebKit/LayoutTests/fast/mediarecorder/BlobEvent-basic.html |
diff --git a/third_party/WebKit/LayoutTests/fast/mediarecorder/BlobEvent-basic.html b/third_party/WebKit/LayoutTests/fast/mediarecorder/BlobEvent-basic.html |
index b8c5059abf0de15939c99a12452c10fbafc16641..ea0b3775310795e102f233032e6a5c2f895ba50e 100644 |
--- a/third_party/WebKit/LayoutTests/fast/mediarecorder/BlobEvent-basic.html |
+++ b/third_party/WebKit/LayoutTests/fast/mediarecorder/BlobEvent-basic.html |
@@ -18,4 +18,16 @@ test(function() { |
}, 'check BlobEvent creation and content management'); |
+test(function() { |
+ assert_throws(null, |
+ function() { var blobEvent = new BlobEvent('BlobEvent'); }); |
+}, 'check BlobEvent needs two constructor parameters, type and BlobEventInit'); |
+ |
+test(function() { |
+ assert_throws(null, |
+ function() { |
+ var blobEvent = new BlobEvent('BlobEvent', {data : "blergh"}); |
+ }); |
+}, 'check BlobEvent needs the second constructor parameter to be a BlobEventInit'); |
+ |
</script> |