зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1575762 [wpt PR 18606] - Update interfaces/shape-detection-api.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/shape-detection-api.idl (#18606) Source: https://github.com/tidoust/reffy-reports/blob/d705188/whatwg/idl/shape-detection-api.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/575189906 -- wpt-commits: 2ac3724aeddf43352e94f08b512ac93d6f35eebc wpt-pr: 18606
This commit is contained in:
Родитель
8a66efaeb2
Коммит
8459f4dace
|
@ -5,7 +5,7 @@
|
|||
|
||||
[Exposed=(Window,Worker),
|
||||
SecureContext,
|
||||
Constructor(optional FaceDetectorOptions faceDetectorOptions)]
|
||||
Constructor(optional FaceDetectorOptions faceDetectorOptions = {})]
|
||||
interface FaceDetector {
|
||||
Promise<sequence<DetectedFace>> detect(ImageBitmapSource image);
|
||||
};
|
||||
|
@ -36,7 +36,7 @@ enum LandmarkType {
|
|||
|
||||
[Exposed=(Window,Worker),
|
||||
SecureContext,
|
||||
Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions)]
|
||||
Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {})]
|
||||
interface BarcodeDetector {
|
||||
static Promise<sequence<BarcodeFormat>> getSupportedFormats();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче