Closed Bug 1770489 Opened 7 months ago Closed 4 months ago

Add tests for Javascript errors handling in "script.callFunction" command

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 1750541 we will get basic support for script.callFunction. This bug covers the addition of handling Javascript errors and the creation of appropriate webdriver and maybe xpcshell tests.

See also bug 1770477 which the same request but for script.evaluate.

See Also: → 1608047

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

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Summary: Support handling of Javascript errors for "script.callFunction" command → Add tests for Javascript errors handling in "script.callFunction" command
Depends on: 1780760

PR synced, closing

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