chromium-bidi icon indicating copy to clipboard operation
chromium-bidi copied to clipboard

Extend `AddPreloadScript` with `ContextId` parameter

Open sadym-chromium opened this issue 2 years ago • 1 comments

The parameter was added in https://github.com/w3c/webdriver-bidi/pull/517 needs to be implemented, so it can be used in Puppeteer.

WPT tests will be added in https://github.com/web-platform-tests/wpt/pull/41932.

  • [X] Invalid inputs
  • [X] PreloadScripts are ran supplied Contexts
  • [X] PreloadScripts are not ran for newly created BrowsingContexts creation (via browsingContext.create)
  • [ ] PreloadScripts are ran for Workers, fenced frames (Connected Contexts but separate CDP targets)

sadym-chromium avatar Sep 28 '23 08:09 sadym-chromium

cc @Lightning00Blade

thiagowfx avatar Sep 28 '23 18:09 thiagowfx