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 / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, lforschler
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Megan Gardner
Reported 2016-12-16 14:29:21 PST
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
Note You need to log in before you can comment on or make changes to this bug.