We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dfd48 commit 8d0ae90Copy full SHA for 8d0ae90
testing/web-platform/tests/interfaces/shape-detection-api.idl
@@ -5,7 +5,7 @@
5
6
[Exposed=(Window,Worker),
7
SecureContext,
8
- Constructor(optional FaceDetectorOptions faceDetectorOptions)]
+ Constructor(optional FaceDetectorOptions faceDetectorOptions = {})]
9
interface FaceDetector {
10
Promise<sequence<DetectedFace>> detect(ImageBitmapSource image);
11
};
@@ -36,7 +36,7 @@ enum LandmarkType {
36
37
38
39
- Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions)]
+ Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {})]
40
interface BarcodeDetector {
41
static Promise<sequence<BarcodeFormat>> getSupportedFormats();
42
0 commit comments