Use about:blank for browsingContext.create with type=window
Categories
(Remote Protocol :: WebDriver BiDi, defect)
Tracking
(Not tracked)
People
(Reporter: jdescottes, Unassigned)
References
Details
Spotted while working on Bug 1874918.
When using browsingContext.create with type=tab, we force the URL to about:blank.
However when using type=window, we rely on the default URL from BrowserWindowTracker.openWindow, which will either be:
- about:privatebrowsing if the window is in private browsing
- the default page for new windows defined is user preferences
Should we force about:blank for the initial tab of new windows as well? We could keep this specific to WebDriver BiDi if needed?
(In reply to Julian Descottes [:jdescottes] from comment #0)
Should we force about:blank for the initial tab of new windows as well? We could keep this specific to WebDriver BiDi if needed?
It shouldn't matter which kind of context we are trying to open here. So in short, yes we should do.
| Reporter | ||
Comment 2•2 years ago
|
||
Thanks for the feedback. I'll actually try to handle this in Bug 1875299 directly, to avoid having to duplicate the code generating the default URL from BrowserWindowTracker.
Description
•