RESOLVED FIXED303926
[WebDriver[[BiDi] Implement script.getRealms for main window contexts
https://bugs.webkit.org/show_bug.cgi?id=303926
Summary [WebDriver[[BiDi] Implement script.getRealms for main window contexts
Serge Deh
Reported 2025-12-10 08:53:22 PST
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
Alexey Proskuryakov
Comment 1 2025-12-15 14:20:33 PST
Radar WebKit Bug Importer
Comment 2 2025-12-17 08:54:13 PST
EWS
Comment 3 2025-12-19 19:07:08 PST
Committed 304800@main (44db1f726520): <https://commits.webkit.org/304800@main> Reviewed commits have been landed. Closing PR #55177 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.