Closed Bug 1626538 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 22596 - [shapedetection] Upstream TextDetection tests to WPT

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22596 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22596
Details from upstream follow.

Wanming Lin <wanming.lin@intel.com> wrote:

[shapedetection] Upstream TextDetection tests to WPT

This CL upstreams the reset of shapedetection tests(mainly
TextDetection tests) to WPT.

  • Moves tests under
    third_party/blink/web_tests/shapedetection/,
    third_party/blink/web_tests/fast/shapedetection/,
    third_party/blink/web_tests/http/tests/shapedetection/,
    to third_party/blink/web_tests/external/wpt/shape-detection.
  • Moves third_party/blink/web_tests/shapedetection/resources/mock-textdetection.js
    to third_party/blink/web_tests/external/wpt/resources/chromium/.
  • Removes third_party/blink/web_tests/fast/shapedetection/shapedetection-creation.html
    as which should be covered in idlharness tests.
  • Introduces simulateClosedPipe() to MockBarcodeDetectionProvider to simulate
    'no implementation available' case for
    third_party/blink/web_tests/external/wpt/shape-detection/detection-getSupportedFormats.https.html
  • Improves third_party/blink/web_tests/external/wpt/shape-detection/detection-options.https.html
    by using assert_throws_js BTW.

Bug: 932382
Change-Id: I2f795e4fa4f23b33c49b7924cdbcbccde5ac6ed4

Reviewed-on: https://chromium-review.googlesource.com/2131154
WPT-Export-Revision: bd0c038ba912d732e04687e56720f315721018ad

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f5c51c366de1 [wpt PR 22596] - [shapedetection] Upstream TextDetection tests to WPT, a=testonly https://hg.mozilla.org/integration/autoland/rev/476146f4c0d2 [wpt PR 22596] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.