fune/testing/web-platform/tests/shape-detection/idlharness.https.any.js
Stephen McGruer f7e7b01b26 Bug 1667083 [wpt PR 25769] - Rename text-detection-api.tentative.idl to text-detection-api.idl, a=testonly
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
2020-10-02 12:32:38 +00:00

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()'],
});
}
);