Update web-platform-tests to revision ee82278e15570e573d87fb80179ff8231b6db61a

This commit is contained in:
WPT Sync Bot 2018-06-03 21:07:04 -04:00
parent d23bc4f1a4
commit 83e2dc11b0
278 changed files with 13348 additions and 10515 deletions

View file

@ -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"));
}
};
})();