Closed Bug 1625229 Opened 5 months ago Closed 4 months ago

[wpt-sync] Sync PR 22474 - WebOTP: Re-Add WPT from SMS Receiver API

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Ayu Ishii <ayui@chromium.org> wrote:

WebOTP: Re-Add WPT from SMS Receiver API

This change re-adds wpt tests[1] from the former API iteration,
SMS Receiver API, to the new OTP Credential API version.
They were once deleted here[2], when cleaning up the previous
API interface.

[1]https://chromium.googlesource.com/chromium/src/+/26d14ef58e85c3826d4ca5cc0607efc49300b993/third_party/blink/web_tests/external/wpt/sms/interceptor.https.html
[2]https://chromium-review.googlesource.com/c/chromium/src/+/2097041

Change-Id: Ic1755c0a6fab4764bd3b0ab06c688f1cd4001d3a

Reviewed-on: https://chromium-review.googlesource.com/2121466
WPT-Export-Revision: 0532a05affb4b5b29c83febfca2fe986e442dfb9

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 2 subtests

Status Summary

Firefox

OK : 2
FAIL : 7

Chrome

OK : 1
PASS : 1
FAIL : 4
TIMEOUT: 2
NOTRUN : 1

Safari

OK : 2
PASS : 1
FAIL : 6

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/credential-management/otpcredential-get-basics.https.html
Should abort request: FAIL

New Tests That Don't Pass

/credential-management/otpcredential-get-basics.https.html
Handle multiple requests in different order.: FAIL (Chrome: FAIL, Safari: FAIL)
Should abort request: FAIL (Chrome: PASS, Safari: PASS)
Handle multiple requests with success and error.: FAIL (Chrome: FAIL, Safari: FAIL)
Basic usage: FAIL (Chrome: FAIL, Safari: FAIL)
Deal with cancelled requests: FAIL (Chrome: FAIL, Safari: FAIL)
/credential-management/otpcredential-iframe.https.html
Test OTPCredential disabled in cross origin iframes: FAIL (Chrome: NOTRUN, Safari: FAIL)
Test OTPCredential enabled in same origin iframes: FAIL (Chrome: TIMEOUT, Safari: FAIL)

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ace73d0fbe22
[wpt PR 22474] - WebOTP: Re-Add WPT from SMS Receiver API, a=testonly
https://hg.mozilla.org/integration/autoland/rev/a0f329c45933
[wpt PR 22474] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.