зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1778976 - [bidi] Enable "script.evaluate", "script.callFunction" and "script.disown" on release channels. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D157091
This commit is contained in:
Родитель
35839c9a2f
Коммит
6ca2b6a083
|
@ -118,9 +118,6 @@ class ScriptModule extends Module {
|
|||
* If the target cannot be found.
|
||||
*/
|
||||
async callFunction(options = {}) {
|
||||
// TODO: Bug 1778976. Remove once command is fully supported.
|
||||
this.assertExperimentalCommandsEnabled("script.callFunction");
|
||||
|
||||
const {
|
||||
arguments: commandArguments = null,
|
||||
awaitPromise,
|
||||
|
@ -185,9 +182,6 @@ class ScriptModule extends Module {
|
|||
* a RealmTarget or for ContextTarget.
|
||||
*/
|
||||
async disown(options = {}) {
|
||||
// TODO: Bug 1778976. Remove once command is fully supported.
|
||||
this.assertExperimentalCommandsEnabled("script.disown");
|
||||
|
||||
const { handles, target = {} } = options;
|
||||
|
||||
lazy.assert.array(
|
||||
|
@ -243,9 +237,6 @@ class ScriptModule extends Module {
|
|||
* If the target cannot be found.
|
||||
*/
|
||||
async evaluate(options = {}) {
|
||||
// TODO: Bug 1778976. Remove once command is fully supported.
|
||||
this.assertExperimentalCommandsEnabled("script.evaluate");
|
||||
|
||||
const {
|
||||
awaitPromise,
|
||||
expression: source,
|
||||
|
|
Загрузка…
Ссылка в новой задаче