You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebDriver: Should Set Permission apply to future browsing contexts? #437
While adding support for the automation over WebDriver BiDi, I have noticed that Set a permission specifies that the permissions should be changed for only currently existing browsing contexts (unless I am misinterpreting?):
It does sound like if a new browsing context (and IIUC a new context would have a new environment settings object) with a previously configured origin gets created, it should not inherit the previously set permissions. I think that current implementation in Chrome does propagate previously set permissions to new contexts and I think this is what would be expected because the origin (and not a context) is an input for the method.
Activity
whimboo commentedon Apr 17, 2025
In the current Permission spec the
setPermissionscommand has an optionaluserContextargument.We are currently updating existing commands to use a
userContextsargument, which can not only be used for the currently open user contexts but also to pre-configure settings for future user contexts as opened via thebrowser.createUserContextcommand.lutien commentedon May 7, 2025
Hey, @OrKoN, we actually discussed internally and were wondering if this issue is still relevant?
OrKoN commentedon May 7, 2025
Yes, I think there is still a spec issue here.