Bug 172884

Summary: UIScriptController: Synchronously calling the callback of an async task causes assertions and lots of trouble
Product: WebKit Reporter: Tim Horton <thorton>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, lforschler, megan_gardner, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test/repro none

Tim Horton
Reported 2017-06-02 17:50:58 PDT
Created attachment 311891 [details] test/repro I wrote a test in r217587 that is broken because the async task's completion block is called synchronously, and UIScriptController is just not designed to deal with that. I've attached a patch that adds a test that reproduces this, but don't really have a great plan to fix (I'm just going to paper over it in my test for now).
Attachments
test/repro (6.65 KB, patch)
2017-06-02 17:50 PDT, Tim Horton
no flags
Note You need to log in before you can comment on or make changes to this bug.