Bug 250605
| 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 | ||
Chirag M Shah
<script>
testRunner.setMockGamepadDetails(0);
testRunner.connectMockGamepad(0);
addEventListener('gamepadconnected', () => {});
</script>
Crashes the test runner. We should add hardening against that.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chirag M Shah
rdar://104165858
Chirag M Shah
Pull request: https://github.com/WebKit/WebKit/pull/8648
EWS
Committed 259411@main (feab6de8fb5e): <https://commits.webkit.org/259411@main>
Reviewed commits have been landed. Closing PR #8648 and removing active labels.