Skip to content

Commit

Permalink
Bug 1734813 [wpt PR 31164] - Update Keyboard Lock IDL and test, a=tes…
Browse files Browse the repository at this point in the history
…tonly

Automatic update from web-platform-tests
Update Keyboard Lock IDL and tests

This change is extracted from
web-platform-tests/wpt#31151 and done
separately because dom.idl is needed for EventTarget.

--

wpt-commits: 0bfbf52dcbd2433cd42a7ca43ab57c5b3e6f93a0
wpt-pr: 31164
  • Loading branch information
foolip authored and moz-wptsync-bot committed Oct 14, 2021
1 parent 855f6cd commit e620127
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion testing/web-platform/tests/interfaces/keyboard-lock.idl
Expand Up @@ -7,7 +7,8 @@ partial interface Navigator {
[SecureContext, SameObject] readonly attribute Keyboard keyboard;
};

[SecureContext, Exposed=Window] interface Keyboard {
[SecureContext, Exposed=Window]
interface Keyboard : EventTarget {
Promise<undefined> lock(optional sequence<DOMString> keyCodes = []);
undefined unlock();
};
Expand Up @@ -8,7 +8,7 @@

idl_test(
['keyboard-lock'],
['html'],
['html', 'dom'],
idl_array => {
idl_array.add_objects({
Navigator: ['navigator'],
Expand Down
Expand Up @@ -7,7 +7,7 @@

idl_test(
['keyboard-map'],
['html', 'keyboard-lock'],
['keyboard-lock', 'html', 'dom'],
async idl_array => {
idl_array.add_objects({
Navigator: ['navigator'],
Expand Down

0 comments on commit e620127

Please sign in to comment.