Bug 291047
| Summary: | REGRESSION(293103@main) [WebDriver] injected evaluateJavaScriptFunction fails with wrong argument in resultCallback | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | WebDriver | Assignee: | Lauro Moura <lmoura> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bburg, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Lauro Moura
Example console error when evaluating JS code after 293103@main:
DEBUG:selenium.webdriver.remote.websocket_connection:<- {'params': {'type': 'javascript', 'level': 'error', 'text': "Unhandled Promise Rejection: TypeError: resultCallback is not a function. (In 'resultCallback(frameID,processID,callbackID,error)', 'resultCallback' is -1)", 'timestamp': 1743726431781.3389, 's
This is happening because the injected code in `WebAutomationSessionProxy.js` still expects the removed `processID` parameter, alongside related C++ indexes in evaluateJavaScriptCallback in WebAutomationSessionProxy.cpp
Patch incoming.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/43614
EWS
Committed 293236@main (9a60ab27161a): <https://commits.webkit.org/293236@main>
Reviewed commits have been landed. Closing PR #43614 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/148590339>