Bug 126506

Summary: [JS] Implement Promise.race()
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo, oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch oliver: review+

Description Sam Weinig 2014-01-05 14:56:57 PST
[JS] Implement Promise.race()
Comment 1 Sam Weinig 2014-01-05 15:00:45 PST
Created attachment 220404 [details]
Patch
Comment 2 Oliver Hunt 2014-01-05 19:42:23 PST
Comment on attachment 220404 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=220404&action=review

> Source/JavaScriptCore/runtime/JSPromiseConstructor.cpp:383
> +        if (JSValue::strictEqual(exec, next, vm.iterationTerminator.get()))

should just do a value compare here
Comment 3 Sam Weinig 2014-01-05 20:14:44 PST
Committed r161330: <http://trac.webkit.org/changeset/161330>