Bug 326991

Summary: [WebDriver BiDi] browsingContext.create should validate referenceContext and return the user context
Product: WebKit Reporter: Timothy Olusanya <seunxplicit>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bburg, 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-09 05:42:44 PDT
> browsingContext.create ignores the referenceContext parameter: an unknown handle or a child-frame handle > is accepted instead of returning "no such frame" / "invalid argument", and the reference's user context is > not inherited. The result also lacks the userContext field required by browsingContext.CreateResult. > Covered by WPT browsing_context/create/invalid.py (reference_context tests) and reference_context.py. > Spec: https://w3c.github.io/webdriver-bidi/#command-browsingContext-create
Attachments
Radar WebKit Bug Importer
Comment 1 2026-10-16 05:43:13 PDT
Note You need to log in before you can comment on or make changes to this bug.