aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-03-06 08:19:18 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-03-06 13:37:34 +0000
commit5b34e16adaa781d90588a6e01dc75ca52fce111b (patch)
tree172a33e3f873db667fe98571794344a7b9bacd99 /tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl
parentca25e18791163de5c6af1267d876c7f5bb705f61 (diff)
downloadservo-5b34e16adaa781d90588a6e01dc75ca52fce111b.tar.gz
servo-5b34e16adaa781d90588a6e01dc75ca52fce111b.zip
Update web-platform-tests to revision 6d7f862e4afa43d45bb3f800c457e9f746cd8730
Diffstat (limited to 'tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl')
-rw-r--r--tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl22
1 files changed, 8 insertions, 14 deletions
diff --git a/tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl b/tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl
index 51c996959be..5b1c45a7739 100644
--- a/tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl
+++ b/tests/wpt/web-platform-tests/interfaces/shape-detection-api.idl
@@ -15,12 +15,9 @@ dictionary FaceDetectorOptions {
boolean fastMode;
};
-[Exposed=(Window,Worker),
- SecureContext,
- Serializable]
-interface DetectedFace {
- [SameObject] readonly attribute DOMRectReadOnly boundingBox;
- [SameObject] readonly attribute FrozenArray<Landmark>? landmarks;
+dictionary DetectedFace {
+ required DOMRectReadOnly boundingBox;
+ required FrozenArray<Landmark>? landmarks;
};
dictionary Landmark {
@@ -47,14 +44,11 @@ dictionary BarcodeDetectorOptions {
sequence<BarcodeFormat> formats;
};
-[Exposed=(Window,Worker),
- SecureContext,
- Serializable]
-interface DetectedBarcode {
- [SameObject] readonly attribute DOMRectReadOnly boundingBox;
- [SameObject] readonly attribute DOMString rawValue;
- [SameObject] readonly attribute BarcodeFormat format;
- [SameObject] readonly attribute FrozenArray<Point2D> cornerPoints;
+dictionary DetectedBarcode {
+ required DOMRectReadOnly boundingBox;
+ required DOMString rawValue;
+ required BarcodeFormat format;
+ required FrozenArray<Point2D> cornerPoints;
};
enum BarcodeFormat {