mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision b'79fa4cf76e0d39e3fc1b7ead85e067b0a064b892'
This commit is contained in:
parent
4a46a476d7
commit
31f9c69336
83 changed files with 2200 additions and 954 deletions
|
@ -19,14 +19,7 @@ async function keyPress(target, key) {
|
|||
code = KEY_CODE_MAP[key];
|
||||
|
||||
// First move pointer on target and click to ensure it receives the key.
|
||||
let actions = new test_driver.Actions()
|
||||
.pointerMove(0, 0, {origin: target})
|
||||
.pointerDown()
|
||||
.pointerUp()
|
||||
.keyDown(code)
|
||||
.keyUp(code);
|
||||
|
||||
return actions.send();
|
||||
return test_driver.send_keys(target, code);
|
||||
}
|
||||
|
||||
// Use rAF to wait for the value of the getter function passed to not change for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue