mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision 589d1d54b73d37f1efde64f75cc408bdd640b44a
This commit is contained in:
parent
8ab389c10c
commit
1c7e2d22cf
122 changed files with 1953 additions and 415 deletions
|
@ -65,6 +65,10 @@ setKeyboard: Set the current default key source
|
|||
addKeyboard: Add a new key input source with the given name
|
||||
```
|
||||
|
||||
This works with elements in other frames/windows as long as they are
|
||||
same-origin with the test, and the test does not depend on the
|
||||
window.name property remaining unset on the target window.
|
||||
|
||||
### bless
|
||||
|
||||
Usage: `test_driver.bless(intent, action)`
|
||||
|
@ -104,6 +108,10 @@ possible to click it. It returns a promise that resolves after the
|
|||
click has occurred or rejects if the element cannot be clicked (for
|
||||
example, it is obscured by an element on top of it).
|
||||
|
||||
This works with elements in other frames/windows as long as they are
|
||||
same-origin with the test, and the test does not depend on the
|
||||
window.name property remaining unset on the target window.
|
||||
|
||||
Note that if the element to be clicked does not have a unique ID, the
|
||||
document must not have any DOM mutations made between the function
|
||||
being called and the promise settling.
|
||||
|
@ -120,6 +128,10 @@ make it possible to send keys. It returns a promise that resolves
|
|||
after the keys have been sent, or rejects if the keys cannot be sent
|
||||
to the element.
|
||||
|
||||
This works with elements in other frames/windows as long as they are
|
||||
same-origin with the test, and the test does not depend on the
|
||||
window.name property remaining unset on the target window.
|
||||
|
||||
Note that if the element that the keys need to be sent to does not have
|
||||
a unique ID, the document must not have any DOM mutations made
|
||||
between the function being called and the promise settling.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue