[Webkit-unassigned] [Bug 135866] Built-in Promise API does not work with headless JSContexts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 11 03:41:56 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=135866

ide+webkit at outlook.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from ide+webkit at outlook.com ---
This appears to have been fixed in iOS 10.0. The original sample code behaves as expected and also doesn't print an error message.

In iOS 10.3, async functions work too:
[_context evaluateScript:@"(async () => 42)().then(result => { /*...*/ })"];

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170711/be9c1351/attachment.html>


More information about the webkit-unassigned mailing list