Bug 327241

Summary: [WebDriver][BiDi] browsingContext.create should create the page in the requested user context
Product: WebKit Reporter: Timothy Olusanya <seunxplicit>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bburg, rcaliman, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=286790
Bug Depends on:    
Bug Blocks: 286790    

Timothy Olusanya
Reported 2026-10-12 03:43:58 PDT
> browsingContext.create validates the userContext parameter but always creates the page in the default > user context: the page's storage is not partitioned, getTree and the browsingContext events report > "default", and browser.removeUserContext cannot close it. The reference navigable's user context is not > inherited either. Covered by WPT browsing_context/create/user_context.py, reference_context.py > (test_reference_context_with_no_user_context_set), context_created.py and context_destroyed.py > (test_new_user_context), browser/remove_user_context/user_context.py and > browser/create_user_context/create_user_context.py (test_storage_isolation). > Spec: https://w3c.github.io/webdriver-bidi/#command-browsingContext-create
Attachments
Radar WebKit Bug Importer
Comment 1 2026-10-19 03:44:14 PDT
Note You need to log in before you can comment on or make changes to this bug.