Closed Bug 1458443 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 10753 - [KeyboardLock] Ensure API is called from a top-level browsing context

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joe Downing <joedow@chromium.org> wrote:
>  [KeyboardLock] Ensure API is called from a top-level browsing context
>  
>  This change adds some checks to the keyboard lock API to ensure it was
>  called from within a supported context, otherwise it now rejects the
>  promise.
>  
>  BUG=680809
>  
>  Change-Id: I3d127422c640d16e43c22adb14755b65eb2cdc6a
>  Reviewed-on: https://chromium-review.googlesource.com/1038888
>  WPT-Export-Revision: 3691d2bcfdd63d5f59e4368526888aadad2e25cf
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Ran 1 tests
TIMEOUT: 1

New tests that have failures or other problems:
/keyboard-lock/navigator-keyboard-lock-blocked-from-iframe.https.html: TIMEOUT
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e35a7833e4af
[wpt PR 10753] - [KeyboardLock] Ensure API is called from a top-level browsing context, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/485c8206b47c
[wpt PR 10753] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/e35a7833e4af
https://hg.mozilla.org/mozilla-central/rev/485c8206b47c
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.