Index: third_party/WebKit/LayoutTests/imagecapture/takephoto.html |
diff --git a/third_party/WebKit/LayoutTests/imagecapture/takephoto.html b/third_party/WebKit/LayoutTests/imagecapture/takephoto.html |
index fce83373bc2809b728dfcbec66a67c7e87ee6392..8b7c6252ebd251c185b768e0af2209aeb6ed73a1 100644 |
--- a/third_party/WebKit/LayoutTests/imagecapture/takephoto.html |
+++ b/third_party/WebKit/LayoutTests/imagecapture/takephoto.html |
@@ -29,6 +29,8 @@ async_test(function(t) { |
return capturer.takePhoto(); |
}) |
.then(blob => { |
+ // JS Blob is almost-opaque, can only check |type| and |size|. |
+ assert_true('image/cat' === blob.type); |
foolip
2016/07/22 23:35:18
assert_equals(blob.type, 'image/cat') for better e
mcasas
2016/07/23 02:58:09
Done.
|
assert_true(blob.size > 0); |
foolip
2016/07/22 23:35:18
assert_equals(blob.size, 2)
mcasas
2016/07/23 02:58:09
Done.
|
t.done(); |
}) |