| Summary: | MockGamepadProvider is not robust enough and crashes when connection happens before monitoring | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chirag M Shah <chirag_m_shah> |
| Component: | Tools / Tests | Assignee: | Chirag M Shah <chirag_m_shah> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Pull request: https://github.com/WebKit/WebKit/pull/8648 Committed 259411@main (feab6de8fb5e): <https://commits.webkit.org/259411@main> Reviewed commits have been landed. Closing PR #8648 and removing active labels. |
<script> testRunner.setMockGamepadDetails(0); testRunner.connectMockGamepad(0); addEventListener('gamepadconnected', () => {}); </script> Crashes the test runner. We should add hardening against that.