[wpt-sync] Sync PR 15993 - Barcode Detection Mac: Accept barcode format hint in detector constructor.
Categories
(Testing :: web-platform-tests, enhancement, P4)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 15993 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/15993
Details from upstream follow.
Jao-ke Chin-Lee <jchinlee@chromium.org> wrote:
Barcode Detection Mac: Accept barcode format hint in detector constructor.
A user may specify barcode formats to which to restrict detection, which
are converted internally to all known related variants.For Mac, this is done by setting the "symbologies" property of a Vision
API request. This request created and performs detection in util functions,
and otherwise is handled in wrapped form, so introduce two callbacks:
- SetupCallback in detection_utils_mac.h, which operates on a request
- SetupOptionsCallback in barcode_detection_impl_mac_vision.h, which
becomes a SetupCallback by specifying how a request processes
BarcodeDetectorOptions.Change-Id: Ia12d250f9a753187c47c85b0fbc0765840e865ab
Reviewed-on: https://chromium-review.googlesource.com/1530190
WPT-Export-Revision: 40f31844009084ac8b59200650a6e7a1f2a78d85
Assignee | ||
Comment 1•5 years ago
|
||
PR 15993 applied with additional changes from upstream: 7183ea12000b9edaac650b1211c35aa6e0abba88
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=17ac21334a57817b41cfdf1c5ab49573af339816
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b9152374641a0b9c0d80f5e5387e13ca36c86942
Assignee | ||
Comment 4•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=981966e254e683bcc0a0bf0d2177064af5941adb
Assignee | ||
Comment 5•5 years ago
|
||
Failed to get results from try push
Assignee | ||
Comment 6•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=52531be3d088d5c25dbd1d0f70b0cd489fa5d621
Assignee | ||
Comment 7•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=34c1a9cf5a596692faeadd6fe05353384241f535
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/d479242a0510 [wpt PR 15993] - Barcode Detection Mac: Accept barcode format hint in detector constructor., a=testonly
Comment 9•5 years ago
|
||
bugherder |
Description
•