Bug 303926
| Summary: | [WebDriver[[BiDi] Implement script.getRealms for main window contexts | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Serge Deh <serge.deh> |
| Component: | WebDriver | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | a_panta, bburg, lmoura, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Serge Deh
WebDriver BiDi specification requires the script.getRealms command to enumerate JavaScript realms in browsing contexts.
This bug tracks the implementation of script.getRealms for main window contexts.
Specification:
https://w3c.github.io/webdriver-bidi/#command-script-getRealms
WPT tests:
https://github.com/web-platform-tests/wpt/tree/master/webdriver/tests/bidi/script/get_realms
Current Status:
- WebKit does not implement script.getRealms
- Tests in webdriver/tests/bidi/script/get_realms/ are not passing
The script.getRealms command allows WebDriver BiDi clients to:
- Enumerate all JavaScript realms in a page
- Filter realms by browsing context
- Filter realms by type (window, worker, worklet, etc.)
The initial implementation will focus on window realms (main frames), with other realms support in follow-up bugs.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
PR is in https://github.com/WebKit/WebKit/pull/55177
Radar WebKit Bug Importer
<rdar://problem/166710532>
EWS
Committed 304800@main (44db1f726520): <https://commits.webkit.org/304800@main>
Reviewed commits have been landed. Closing PR #55177 and removing active labels.