Skip to content

Commit 8d0ae90

Browse files
committed
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 UltraBlame original commit: 6bbe67151608e241b3310716ecd508360d680dc1
1 parent 28dfd48 commit 8d0ae90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/web-platform/tests/interfaces/shape-detection-api.idl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[Exposed=(Window,Worker),
77
SecureContext,
8-
Constructor(optional FaceDetectorOptions faceDetectorOptions)]
8+
Constructor(optional FaceDetectorOptions faceDetectorOptions = {})]
99
interface FaceDetector {
1010
Promise<sequence<DetectedFace>> detect(ImageBitmapSource image);
1111
};
@@ -36,7 +36,7 @@ enum LandmarkType {
3636

3737
[Exposed=(Window,Worker),
3838
SecureContext,
39-
Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions)]
39+
Constructor(optional BarcodeDetectorOptions barcodeDetectorOptions = {})]
4040
interface BarcodeDetector {
4141
static Promise<sequence<BarcodeFormat>> getSupportedFormats();
4242

0 commit comments

Comments
 (0)