Bug 1585112 [wpt PR 19406] - Update interfaces/shape-detection-api.idl, a=testonly

Automatic update from web-platform-tests
Update interfaces/shape-detection-api.idl (#19406)

Source: https://github.com/tidoust/reffy-reports/blob/8c9e1c6/ed/idl/shape-detection-api.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/591638139
--

wpt-commits: 20116628d6fa6ac2ecb2fea3d0c8dfaab777c852
wpt-pr: 19406
This commit is contained in:
autofoolip 2019-10-03 09:54:26 +00:00 committed by moz-wptsync-bot
parent e40d5df72a
commit a9a82c6d3d

View File

@ -4,9 +4,9 @@
// Source: Accelerated Shape Detection in Images (https://wicg.github.io/shape-detection-api/)
[Exposed=(Window,Worker),
SecureContext,
Constructor(optional FaceDetectorOptions faceDetectorOptions = {})]
SecureContext]
interface FaceDetector {
constructor(optional FaceDetectorOptions faceDetectorOptions = {});
Promise<sequence<DetectedFace>> detect(ImageBitmapSource image);
};
@ -35,9 +35,9 @@ enum LandmarkType {
};
[Exposed=(Window,Worker),
SecureContext,
Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {})]
SecureContext]
interface BarcodeDetector {
constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {});
static Promise<sequence<BarcodeFormat>> getSupportedFormats();
Promise<sequence<DetectedBarcode>> detect(ImageBitmapSource image);