Bug 327875
| Summary: | [WebDriver][BiDi] script.callFunction: deserialize arguments in the target realm and resolve SharedReference arguments | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Razvan Caliman <rcaliman> |
| Component: | WebDriver | Assignee: | Razvan Caliman <rcaliman> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bburg, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=323423 https://bugs.webkit.org/show_bug.cgi?id=288057 https://bugs.webkit.org/show_bug.cgi?id=288058 https://bugs.webkit.org/show_bug.cgi?id=288060 |
||
| Bug Depends on: | |||
| Bug Blocks: | 281949 | ||
Razvan Caliman
WebDriver BiDi clients identify DOM nodes by a `script.SharedId`. `script.evaluate` and `script.callFunction` return a node as a `NodeRemoteValue` with a `sharedId`, and the client passes it back as a `script.SharedReference`.
That can go to `script.callFunction`, or serve as the element for `input.performActions` origins, `input.setFiles`, `browsingContext.captureScreenshot` clips or `browsingContext.locateNodes`.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/190256161>
Razvan Caliman
Pull request: https://github.com/WebKit/WebKit/pull/77323