Closed Bug 1770487 Opened 2 years ago Closed 2 years ago

Add tests for "awaitPromise" argument for "script.callFunction"

Categories

(Remote Protocol :: WebDriver BiDi, enhancement, P1)

enhancement
Points:
2

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: jdescottes)

References

()

Details

(Whiteboard: [webdriver:m4])

With bug 1770461 the relevant support for awaitPromise will be added for script.evaluate. As such this bug is just for adding support for this argument to script.callFunction and forwarding it appropriately. Further appropriate webdriver and maybe xpcshell tests need to be created.

This bug is also blocked on the basic implementation of the script.callFunction command (see bug 1750541).

Renaming. Since we relied on the same base implementation as script.evaluate, script.callFunction already supports awaitPromise. The only thing left here is to expand the wdspec tests to match script.evaluate's await_promise.py.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Summary: Add support for "awaitPromise" argument for "script.callFunction" → Add tests for "awaitPromise" argument for "script.callFunction"
Depends on: 1780836

PR synced, closing.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.