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 BiDi] script.realmCreated worker tests expect a script URL instead of a serialized origin #63009
The WebDriver BiDi script.realmCreated worker tests compare RealmInfo.origin with worker_url.
The inline() fixture returns a complete script URL containing a path and query string. However, the WebDriver BiDi specification defines RealmInfo.origin as the serialization of the worker environment settings object's origin.
For example, for a worker loaded from: https://example.test/path/worker.js?x=1
The tests should compare origin with the serialized origin derived from worker_url, for example using the existing get_origin_from_url helper.
The existing realm type, identifier, and owner checks should remain unchanged.
Context
This was exposed while implementing dedicated-worker realm support in WebKit: WebKit/WebKit#73149
Activity