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:
Alexandra Borovova 2022-09-20 09:12:51 +00:00
Родитель 35839c9a2f
Коммит 6ca2b6a083
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -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,