Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "from service worker" flag on network response events #846

Open
juliandescottes opened this issue Jan 8, 2025 · 0 comments
Open

Add "from service worker" flag on network response events #846

juliandescottes opened this issue Jan 8, 2025 · 0 comments
Labels
module-network Network module needs-discussion Issues to be discussed by the working group

Comments

@juliandescottes
Copy link
Contributor

CDP supports a boolean flag on network.Response called fromServiceWorker, which indicates if the request was handled by a service worker.

There are tests for this in both puppeteer and playwright test suites, so it might be worth adding to WebDriver BiDi?

I don't think the current initiatorType and destination can be used to workaround this. There is a "serviceworker" destination in the spec, but it's only used when loading a worker script to be used as a service worker.

@juliandescottes juliandescottes added needs-discussion Issues to be discussed by the working group module-network Network module labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module-network Network module needs-discussion Issues to be discussed by the working group
Projects
None yet
Development

No branches or pull requests

1 participant