Closed Bug 1673596 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26304 - [WebOTP] Prototyping WebOTP support in cross-origin iframes

Categories

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

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

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

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

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

b'Yi Gu <yigu@chromium.org>' wrote:

[WebOTP] Prototyping WebOTP support in cross-origin iframes

Major changes:

  1. Adds a new feature policy "otp-credentials-get" to allow the iframe
    to get credentials from its parent frame.
  2. Supports parsing SMSes with format "@top.com #code @iframe.com"
  3. Passes along a list of origins in the system instead of a single
    origin previously.

More details at: go/webotp-in-iframe (Google internal)

Bug: 1136506
Change-Id: Ic458e51c33b721a80204abb490776b436086bff4

Reviewed-on: https://chromium-review.googlesource.com/2497992
WPT-Export-Revision: 91098bd0e20340cf3f6fa65b894952e36d35b6cb

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

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
PASS: 2
FAIL: 1

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/credential-management/otpcredential-iframe.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
Test OTPCredential enabled in same origin iframes: FAIL (Chrome: PASS, Safari: FAIL)
OTPCredential enabled in cross origin iframes with permissions policy: FAIL (Chrome: FAIL, Safari: FAIL)
OTPCredential disabled in cross origin iframes without permissions policy: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/credential-management/otpcredential-iframe.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b2e55f10180e
[wpt PR 26304] - [WebOTP] Prototyping WebOTP support in cross-origin iframes, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.