Closed Bug 1904164 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 46869 - [wptrunner] Fix additional issues with `WebDriverProtocol.is_alive()`

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 46869 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/46869
Details from upstream follow.

Jonathan Lee <jonathanjlee@google.com> wrote:

[wptrunner] Fix additional issues with WebDriverProtocol.is_alive()

  • It's possible for a thread spawned by WebDriverRun to outlive the runner process's main thread (https://crbug.com/348266194#comment3), in which case WebDriverProtocol.is_alive() may be called after the client is torn down and removed. Tolerate this case.
  • #22044 didn't actually wire up HTTPWireProtocol.send(timeout=...) to the underlying socket.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/04fa2a5b9020 [wpt PR 46869] - [wptrunner] Fix additional issues with `WebDriverProtocol.is_alive()`, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.