Skip to content

fix(chromium): response.body() for worker main script#35692

Merged
dgozman merged 1 commit into
microsoft:mainfrom
dgozman:fix-cr-worker-main-script-response-body
Apr 23, 2025
Merged

fix(chromium): response.body() for worker main script#35692
dgozman merged 1 commit into
microsoft:mainfrom
dgozman:fix-cr-worker-main-script-response-body

Conversation

@dgozman

@dgozman dgozman commented Apr 22, 2025

Copy link
Copy Markdown
Collaborator

With PlzDedicatedWorker being the default, worker main script starts in the page target and finishes in the worker target.

To retrieve the response body, we should update request.session in the same way we do that for OOPIF main requests.

Fixes #35678.

@github-actions

This comment has been minimized.

With `PlzDedicatedWorker` being the default, worker main script
starts in the page target and finishes in the worker target.

To retrieve the response body, we should update `request.session`
in the same way we do that for OOPIF main requests.
@dgozman
dgozman force-pushed the fix-cr-worker-main-script-response-body branch from e5894b0 to 39c96cd Compare April 22, 2025 14:48
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 failed
❌ [webkit-library] › library/browsercontext-pages.spec.ts:82:3 › should click the button with offset with page scale @webkit-ubuntu-22.04-node18

4 flaky ⚠️ [chromium-library] › library/chromium/oopif.spec.ts:284:3 › should click @chromium-ubuntu-22.04-node22
⚠️ [firefox-page] › page/page-evaluate.spec.ts:424:3 › should throw for too deep reference chain @firefox-ubuntu-22.04-node18
⚠️ [webkit-page] › page/elementhandle-bounding-box.spec.ts:22:3 › should work @webkit-ubuntu-22.04-node18
⚠️ [webkit-page] › page/page-screenshot.spec.ts:345:5 › page screenshot › should work while navigating @webkit-ubuntu-22.04-node18

39048 passed, 803 skipped
✔️✔️✔️

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: await response.text() against worker request errors with "No resource with given identifier found"

3 participants