Repository navigation
Bug 2100702 - [firefox-mcp] Wait up to 30 seconds for the BiDi WebSocket to open - #264
Closed
juliandescottes wants to merge 1 commit into
Closed
juliandescottes wants to merge 1 commit into
juliandescottes wants to merge 1 commit into
Conversation
…ket to open The first BiDi command opens the WebSocket. On Windows CI, opening it after a slow Firefox startup sometimes took more than the 5 second limit, and the connection failed with "Timeout waiting for WebSocket to open". Measured on Windows CI: median 187 ms, 90% under 1.4 s, maximum over 5 s. No test: a real Firefox cannot be made to open the WebSocket slowly on demand.
Collaborator
Author
|
Superseded by #265, which includes this commit and the test timeout changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug 2100702
The first BiDi command after connecting opens the WebSocket.
waitForWebSocketOpengave up after 5 seconds. On Windows CI, after a slow Firefox startup, opening the WebSocket sometimes took longer, and the connection failed withTimeout waiting for WebSocket to open.Timings from the diagnostic run on PR 263 (88 connections on Windows): median 187 ms, 90% under 1.4 s, maximum over 5 s.
This PR raises the limit to 30 seconds.
No test: a real Firefox cannot be made to open the WebSocket slowly on demand.