DescriptionPromiseCoerce should ignore primitive values.
PromiseCource(x) should return "not a thenable" if Type(x) is not Object
even if x.then exists.
BUG=347095
LOG=Y
R=rossberg@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=19788
Patch Set 1 #Patch Set 2 : Replacing (typeof x === 'object') with IS_SPEC_OBJECT(x). #Messages
Total messages: 4 (0 generated)
|