[wpt-sync] Sync PR 20808 - Use [RaisesException] for immediate promise rejections in bluetooth
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 20808 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/20808
Details from upstream follow.
Julie Jeongeun Kim <jkim@igalia.com> wrote:
Use [RaisesException] for immediate promise rejections in bluetooth
This is a part of effort for using [RaisesException] when synchronously
rejecting a promise.It uses [RaisesException] for
//third_party/blink/renderer/modules/bluetooth.Bug: 1001114
Change-Id: Iddb31cbbf71637ae989ea634f78207dfd9289c43
Reviewed-on: https://chromium-review.googlesource.com/1971049
WPT-Export-Revision: 4aa69539ed135c93cba9de9532d7d33decc9a041
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0170cb90903ecb14173031ca35ecced1496661c8
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 10 tests and 1 subtests
Status Summary
Firefox
OK : 10
FAIL: 10
Chrome
OK : 10
FAIL: 10
Safari
OK : 10
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/requestDevice/not-processing-user-gesture.https.html
Requires a user gesture.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnected-device.https.window.html
getPrimaryService called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryService. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 10 tests and 1 subtests
Status Summary
Firefox
OK : 10
FAIL: 10
Chrome
OK : 10
FAIL: 10
Safari
OK : 10
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/requestDevice/not-processing-user-gesture.https.html
Requires a user gesture.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnected-device.https.window.html
getPrimaryService called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryService. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
Assignee | ||
Comment 4•4 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 10 tests and 1 subtests
Status Summary
Firefox
OK : 10
FAIL: 10
Chrome
OK : 10
FAIL: 10
Safari
OK : 10
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/requestDevice/not-processing-user-gesture.https.html
Requires a user gesture.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnected-device.https.window.html
getPrimaryService called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryService. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dba8a8565df0 [wpt PR 20808] - Use [RaisesException] for immediate promise rejections in bluetooth, a=testonly
Assignee | ||
Comment 6•4 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 10 tests and 1 subtests
Status Summary
Firefox
OK : 10
FAIL: 10
Chrome
OK : 10
FAIL: 10
Safari
OK : 10
FAIL: 10
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/requestDevice/not-processing-user-gesture.https.html
Requires a user gesture.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnected-device.https.window.html
getPrimaryService called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.window.html
disconnect() called before getPrimaryServices. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.window.html
getPrimaryServices called before connecting. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.window.html
disconnect() called before getPrimaryService. Reject with NetworkError.: FAIL (Chrome: FAIL, Safari: FAIL)
/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.window.html
Calls on services after we disconnect and connect again. Should reject with InvalidStateError.: FAIL (Chrome: FAIL, Safari: FAIL)
Assignee | ||
Comment 7•4 years ago
|
||
Test result changes from PR not available.
Comment 8•4 years ago
|
||
bugherder |
Description
•