|
| 1 | +2016-12-20 Megan Gardner < [email protected]> |
| 2 | + |
| 3 | + Throw Exception when test doesn't clean up HID Events properly |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=166271 |
| 5 | + |
| 6 | + Reviewed by Simon Fraser. |
| 7 | + |
| 8 | + Add in a check when UIScriptController is deleted to make sure that the HID event |
| 9 | + callback dictionary is empty. If it is not, and a HID event is hit, this will cause |
| 10 | + the program to crash without any good information. Crashes are race-y, and will still |
| 11 | + happen with malformed test, but the information will be much more helpful. |
| 12 | + |
| 13 | + * DumpRenderTree/ios/UIScriptControllerIOS.mm: |
| 14 | + (WTR::UIScriptController::checkForClean): |
| 15 | + * TestRunnerShared/UIScriptContext/UIScriptContext.cpp: |
| 16 | + (UIScriptContext::~UIScriptContext): |
| 17 | + * TestRunnerShared/UIScriptContext/UIScriptController.cpp: |
| 18 | + (WTR::UIScriptController::checkForClean): |
| 19 | + * TestRunnerShared/UIScriptContext/UIScriptController.h: |
| 20 | + * WebKitTestRunner/ios/HIDEventGenerator.h: |
| 21 | + * WebKitTestRunner/ios/HIDEventGenerator.mm: |
| 22 | + (-[HIDEventGenerator checkHIDCallbacksClear]): |
| 23 | + * WebKitTestRunner/ios/TestControllerIOS.mm: |
| 24 | + * WebKitTestRunner/ios/UIScriptControllerIOS.mm: |
| 25 | + (WTR::UIScriptController::checkForClean): |
| 26 | + |
1 | 27 | 2016-12-20 Andy Estes < [email protected]>
|
2 | 28 |
|
3 | 29 | [Cocoa] REGRESSION (r209558): Calling decisionHandler multiple times in webView:decidePolicyForNavigationAction:decisionHandler: leads to a crash
|
|
0 commit comments