summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shape-detection/idlharness.https.any.js
blob: 33b5f88f75b8052f202394c4f53bcc2770631202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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()'],
    });
  }
);