[Webkit-unassigned] [Bug 147933] New: Promise callbacks should be called at microtask checkpoints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 04:49:47 PDT 2015


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

            Bug ID: 147933
           Summary: Promise callbacks should be called at microtask
                    checkpoints
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jaffathecake at gmail.com

Here is a demo of the issue: http://jsbin.com/kaqume/1/edit?js,console,output

Click the blue square. The `promise` logs should appear before the `mutate` logs. The correct ordering is:

"click"
"promise"
"mutate"
"click"
"promise"
"mutate"
"timeout"
"timeout"

The microtask queue should be emptied once a listener callback has finished, before returning to spec prose. Promise callbacks seem to run on a different queue in WebKit.

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


More information about the webkit-unassigned mailing list