Changeset 253908 in webkit
- Timestamp:
- Dec 25, 2019 5:09:04 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r253899 r253908 1 2019-12-25 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 REGRESSION (r253282): Tests that use applyAutocorrection assert in UIScriptContext::requestUIScriptCompletion 4 https://bugs.webkit.org/show_bug.cgi?id=205588 5 <rdar://problem/58109942> 6 7 Reviewed by Tim Horton. 8 9 The change made in r253282 intended to defer completing the async task prepared in 10 UIScriptController::applyAutocorrection until after the current runloop; however, it ended up keeping the 11 synchronous call to asyncTaskComplete. Fix this by removing this code, so that we instead wait for the 12 dispatch_async block to invoke asyncTaskComplete. 13 14 * WebKitTestRunner/ios/UIScriptControllerIOS.mm: 15 (WTR::UIScriptControllerIOS::applyAutocorrection): 16 1 17 2019-12-24 Youenn Fablet <youenn@apple.com> 2 18 -
trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm
r253465 r253908 666 666 m_context->asyncTaskComplete(callbackID); 667 667 }).get()); 668 if (!m_context)669 return;670 m_context->asyncTaskComplete(callbackID);671 668 }).get()]; 672 669 }
Note: See TracChangeset
for help on using the changeset viewer.