Implement "browser.getClientWindows" command
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox134 fixed)
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: whimboo, Assigned: temidayoazeez032)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [webdriver:m13][webdriver:external][wptsync upstream][webdriver:relnote])
Attachments
(2 files)
Reporter | ||
Comment 1•2 years ago
|
||
The WebDriver BiDi spec is not done yet. As such we cannot implement it for M9. Lets push onto the backlog for now.
Reporter | ||
Updated•10 months ago
|
Reporter | ||
Updated•10 months ago
|
@whimboo following the link you provided. It appears this issue is now completed, and the specification for browser.ClientWindows
is ready. I will take a stab at it.
Updated•10 months ago
|
Okay, I am looking to work on this issue of implementing browser.getClientWindows
for Webdriver Bidi (https://bugzilla.mozilla.org/show_bug.cgi?id=1855025).
From the W3C specification, implementing this command requires access to window state. Now, from checking the code base, I discovered that while WindowState
is available under Marionette, it is not available in the remote/shared
. The WindowState
implementation is contained in the browser module (https://searchfox.org/mozilla-central/source/remote/marionette/browser.sys.mjs) under Marionette.
I would think implementing this command would require moving the browser module in Marionette to the shared directory. Is that right?
Comment 4•10 months ago
|
||
As mentioned on Matrix, the WindowState object is a very simple helper to translate from https://searchfox.org/mozilla-central/rev/b784b4ed27d0fc41a9bbce7d666e1cfcac4778be/dom/webidl/Window.webidl#592
readonly attribute unsigned short windowState;
to a string.
WebDriver and WebDriver BiDi happen to use the same strings for the window state, so I think it's fine to move just this helper to remote/shared and then use it from both Marionette and BiDi?
(In reply to Julian Descottes [:jdescottes] from comment #4)
As mentioned on Matrix, the WindowState object is a very simple helper to translate from https://searchfox.org/mozilla-central/rev/b784b4ed27d0fc41a9bbce7d666e1cfcac4778be/dom/webidl/Window.webidl#592
readonly attribute unsigned short windowState;
to a string.
WebDriver and WebDriver BiDi happen to use the same strings for the window state, so I think it's fine to move just this helper to remote/shared and then use it from both Marionette and BiDi?
Yes, absolutely. I will move it.
Updated•10 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Reporter | ||
Comment 8•9 months ago
|
||
Hello Dan. I wanted to check back with you if you may have the time to apply the remaining review comments to the patch? It would be great to get this new feature landed. Thanks a lot.
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #8)
Hello Dan. I wanted to check back with you if you may have the time to apply the remaining review comments to the patch? It would be great to get this new feature landed. Thanks a lot.
I just did. I didn't mark the comments as done.
Comment 10•9 months ago
|
||
Comment 12•9 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/abb59e0c8fc9
https://hg.mozilla.org/mozilla-central/rev/346312f12562
Reporter | ||
Updated•9 months ago
|
Reporter | ||
Updated•8 months ago
|
Reporter | ||
Updated•7 months ago
|
Description
•