mirror of
https://github.com/servo/servo.git
synced 2025-06-26 01:54:33 +01:00
19 lines
469 B
JavaScript
19 lines
469 B
JavaScript
// META: global=window,worker
|
|
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
// See: https://wicg.github.io/shape-detection-api/
|
|
|
|
'use strict';
|
|
|
|
idl_test(
|
|
['shape-detection-api', 'text-detection-api'],
|
|
['dom', 'geometry'],
|
|
async idl_array => {
|
|
idl_array.add_objects({
|
|
FaceDetector: ['new FaceDetector()'],
|
|
BarcodeDetector: ['new BarcodeDetector()'],
|
|
TextDetector: ['new TextDetector()'],
|
|
});
|
|
}
|
|
);
|