forked from mirrors/gecko-dev
Automatic update from web-platform-tests Rename text-detection-api.tentative.idl to text-detection-api.idl (#25769) Closes https://github.com/web-platform-tests/wpt/pull/25753 -- wpt-commits: 14d4862beeb02904dc6712d62a36c04474bacf12 wpt-pr: 25769
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()'],
|
|
});
|
|
}
|
|
);
|