mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision ee82278e15570e573d87fb80179ff8231b6db61a
This commit is contained in:
parent
d23bc4f1a4
commit
83e2dc11b0
278 changed files with 13348 additions and 10515 deletions
|
@ -119,6 +119,21 @@
|
|||
}
|
||||
|
||||
return window.test_driver_internal.send_keys(element, keys);
|
||||
},
|
||||
|
||||
/**
|
||||
* Freeze the current page
|
||||
*
|
||||
* The freeze function transitions the page from the HIDDEN state to
|
||||
* the FROZEN state as described in {@link
|
||||
* https://github.com/WICG/page-lifecycle/blob/master/README.md|Lifecycle API
|
||||
* for Web Pages}
|
||||
*
|
||||
* @returns {Promise} fullfilled after the freeze request is sent, or rejected
|
||||
* in case the WebDriver command errors
|
||||
*/
|
||||
freeze: function() {
|
||||
return window.test_driver_internal.freeze();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -143,6 +158,16 @@
|
|||
*/
|
||||
send_keys: function(element, keys) {
|
||||
return Promise.reject(new Error("unimplemented"));
|
||||
},
|
||||
|
||||
/**
|
||||
* Freeze the current page
|
||||
*
|
||||
* @returns {Promise} fullfilled after freeze request is sent, otherwise
|
||||
* it gets rejected
|
||||
*/
|
||||
freeze: function() {
|
||||
return Promise.reject(new Error("unimplemented"));
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue