Bug 165970
| Summary: | Prevent WebKitTestRunner from crashing if a test is a bad actor and doesn't do HID events right | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Megan Gardner <megan_gardner> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, lforschler |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Megan Gardner
Currently, if a HID event is set up after notifyDone is called, then the test can cause the callbacks to be called after the script controller is dismantled. This causes a crash when running with address sanitizer, and no real help from the crash to tell the test writer that they've caused an issue. We should assert, or be more communicative about what has gone wrong.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |