Closed
Bug 1453039
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 10400 - [KeyboardLock] Updating API to reject the first promise if lock is called twice
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 10400 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10400 Details from upstream follow. Joe Downing <joedow@chromium.org> wrote: > [KeyboardLock] Updating API to reject the first promise if lock is called twice > > Per the W3C spec, when navigator.keyboard.lock() is called a second time (or > more), any previous, pending promises should be rejected. The old behavior > of the API was to reject the newest promise which is not correct. > > As part of this cleanup, I am also using DomExceptions instead of raw strings > for the rejection. This allows us to clean up the test code (which fails if > a raw string is returned in the reject call). > > BUG=680809 > > Change-Id: Ic4f2563a6ccc22a434f8e6079f1995d9e584f9aa > Reviewed-on: https://chromium-review.googlesource.com/1003472 > WPT-Export-Revision: 0e1c522dfe1f220ff9e9366b5073db61e182d82d
Reporter | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Reporter | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Reporter | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=38ade79f14da7a7120eb9d3d45c3df7b51054270
Reporter | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Reporter | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ac5fb666b2436ad0740102dd8108afcfd5bbf8fd
Reporter | ||
Comment 3•6 years ago
|
||
Ran 3 tests and 3 subtests OK : 3 FAIL : 3
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/7cd755133c0b [wpt PR 10400] - [KeyboardLock] Updating API to reject the first promise if lock is called twice, a=testonly
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7cd755133c0b
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•