webdriver icon indicating copy to clipboard operation
webdriver copied to clipboard

Replace usage of "browsing contexts" in favor of "navigable"

Open domenic opened this issue 3 years ago • 2 comments

In https://github.com/whatwg/html/pull/6315, HTML created an new concept, "navigable", which is almost certainly the correct thing for this specification to target, instead of browsing contexts.

In particular, a navigable stays the same even across browsing context swaps such as those induced by cross-origin opener policy. So for example, all the navigation-related stuff in WebDriver was previously broken in COOP cases, as the browsing context would be left untouched by the navigation and a new second browsing context, which WebDriver wasn't tracking, would be created. Now, by having WebDriver interface with the navigable, this problem can be avoided.

This will probably need some pretty extensive surgery. I am happy to help advise as needed.

/cc @marcoscaceres

domenic avatar Nov 16 '22 02:11 domenic

Tiny start to addressing some of this: https://github.com/w3c/webdriver/pull/1694

marcoscaceres avatar Nov 16 '22 06:11 marcoscaceres

Please also see https://github.com/w3c/webdriver-bidi/issues/91 which is for WebDriver BiDi.

whimboo avatar Nov 22 '22 19:11 whimboo