mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision f1e1bd6bfa544af8059ff8ef79d622281f9ec0a8
This commit is contained in:
parent
1b6715158d
commit
38ab56be1a
64 changed files with 5155 additions and 165 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue