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..bbac020c9995bcc189a149ad6a1cbfdbcff6d330 100644 |
--- a/third_party/WebKit/LayoutTests/imagecapture/takephoto.html |
+++ b/third_party/WebKit/LayoutTests/imagecapture/takephoto.html |
@@ -29,7 +29,9 @@ async_test(function(t) { |
return capturer.takePhoto(); |
}) |
.then(blob => { |
- assert_true(blob.size > 0); |
+ // JS Blob is almost-opaque, can only check |type| and |size|. |
+ assert_equals(blob.type, 'image/cat'); |
+ assert_equals(blob.size, 2); |
t.done(); |
}) |
.catch(error => { |