mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
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
This commit is contained in:
parent
5a7a08eb0d
commit
f7e7b01b26
@ -1,13 +1,13 @@
|
||||
// Content was manually copied April 1 2020
|
||||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into webref
|
||||
// (https://github.com/w3c/webref)
|
||||
// Source: Accelerated Text Detection in Images (https://wicg.github.io/shape-detection-api/text.html)
|
||||
// This is currently a sister informative spec of Shape Detection API,
|
||||
// so it could not be merged into /interfaces/shape-detection-api.idl
|
||||
|
||||
[
|
||||
Constructor,
|
||||
Exposed=(Window,Worker),
|
||||
SecureContext
|
||||
] interface TextDetector {
|
||||
constructor();
|
||||
Promise<sequence<DetectedText>> detect(ImageBitmapSource image);
|
||||
};
|
||||
|
||||
@ -15,4 +15,4 @@ dictionary DetectedText {
|
||||
required DOMRectReadOnly boundingBox;
|
||||
required DOMString rawValue;
|
||||
required FrozenArray<Point2D> cornerPoints;
|
||||
};
|
||||
};
|
@ -7,7 +7,7 @@
|
||||
'use strict';
|
||||
|
||||
idl_test(
|
||||
['shape-detection-api', 'text-detection-api.tentative'],
|
||||
['shape-detection-api', 'text-detection-api'],
|
||||
['dom', 'geometry'],
|
||||
async idl_array => {
|
||||
idl_array.add_objects({
|
||||
|
Loading…
Reference in New Issue
Block a user