Closed Bug 1517517 Opened 10 months ago Closed 8 months ago

[wpt-sync] Sync PR 14702 - Fix Mojo detection in bluetooth-helpers.js

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Robert Ma <robertma@chromium.org> wrote:
>  Fix Mojo detection in bluetooth-helpers.js
>  
>  Avoid throwing a reference error when Mojo is not defined.
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 153 tests and 154 subtests
OK     : 141
FAIL   : 142
TIMEOUT: 12
ERROR  : 12

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/bluetooth/requestDevice/canonicalizeFilter/empty-filter.https.html: ERROR
    A filter must restrict the devices in some way.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.https.html: ERROR
    An empty |filters| member should result in a TypeError: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.https.html: ERROR
    requestDevice with empty namePrefix. Should reject with TypeError.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.https.html: ERROR
    Services member must contain at least one service.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.https.html: ERROR
    RequestDeviceOptions should have exactly one of 'filters' or 'acceptAllDevices:true'. Reject with TypeError if not.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name-unicode.https.html: ERROR
    Unicode string with utf8 representation longer than 248 bytes in 'name' must throw TypeError.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name.https.html: ERROR
    A device name longer than 248 must reject.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix-unicode.https.html: ERROR
    Unicode string with utf8 representation longer than 248 bytes in 'namePrefix' must throw NotFoundError.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix.https.html: ERROR
    A device name prefix longer than 248 must reject.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.https.html: ERROR
    Invalid optional service must reject the promise.: TIMEOUT
/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.https.html: ERROR
    Invalid service must reject the promise.: TIMEOUT
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a6367766d91e
[wpt PR 14702] - Fix Mojo detection in bluetooth-helpers.js, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/79754828b060
[wpt PR 14702] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1b22d48a609c
[wpt PR 14702] - Fix Mojo detection in bluetooth-helpers.js, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/467e3fe98449
[wpt PR 14702] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.