Skip to content

Conversation

@sadym-chromium
Copy link
Contributor

@sadym-chromium sadym-chromium commented Aug 22, 2025

If WebDriver BiDi emulated network offline condition, fail any outgoing fetch.

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

sadym-chromium added a commit to w3c/webdriver-bidi that referenced this pull request Oct 7, 2025
First step addressing #776.
* Fail all the intercepted requests, WebSocket and WebTransport.
* Html spec: whatwg/html#11575
* Fetch spec: whatwg/fetch#1852
@sadym-chromium sadym-chromium marked this pull request as ready for review October 8, 2025 12:05
fetch.bs Outdated
</ol>
</div>

<p>A <dfn export>user agent is offline</dfn> when the user agent assumes it do not have network
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@annevk is it what you meant in whatwg/html#11575 (comment)?

@sadym-chromium sadym-chromium force-pushed the sadym/emulation.setNetworkConditions branch from 9669497 to 324a0cc Compare October 10, 2025 08:30
@sadym-chromium
Copy link
Contributor Author

@annevk could you please merge if you don't have any no other concerns?

@sadym-chromium sadym-chromium requested a review from annevk October 10, 2025 09:23
sadym-chromium and others added 3 commits October 10, 2025 16:00
Co-authored-by: Anne van Kesteren <[email protected]>
Co-authored-by: Anne van Kesteren <[email protected]>
Co-authored-by: Anne van Kesteren <[email protected]>
@annevk annevk merged commit 0e72db8 into whatwg:main Oct 10, 2025
2 checks passed
@annevk
Copy link
Member

annevk commented Oct 10, 2025

Thanks @sadym-chromium!

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants