Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js

Issue 2167313002: ImageCapture: introduce image_capture Blob to allow move-only semantics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: foolip comments and rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
diff --git a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
index 9bb08e7d681c01f50a295619b3a0a15e1013a0f6..367e313ee180ceaadaba33e4fd041b1bf1a475c5 100644
--- a/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
+++ b/third_party/WebKit/LayoutTests/imagecapture/resources/mock-imagecapture.js
@@ -40,8 +40,8 @@ let mockImageCaptureReady = define(
}
takePhoto(source_id) {
- return Promise.resolve({ mime_type : 'image/cat',
- data : "(,,,)=(^.^)=(,,,)" });
+ return Promise.resolve({ blob : { mime_type : 'image/cat',
+ data : new Array(2) } });
}
capabilities() {
« no previous file with comments | « media/mojo/interfaces/image_capture.mojom ('k') | third_party/WebKit/LayoutTests/imagecapture/takephoto.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698