Status: Available
Owner: ----
Labels: Type-Bug Priority-Medium Harmony
New issue 4341 by [email protected]: Add "constructor" check in
Promise.resolve
https://code.google.com/p/v8/issues/detail?id=4341
The definition of Promise.resolve
http://www.ecma-international.org/ecma-262/6.0/#sec-promise.resolve returns
the given promise *only* if the [[Get]] "constructor" is the same as the
receiver. I believe this was introduced in response to SES concerns
https://github.com/rwaldron/tc39-notes/blob/master/es6/2015-05/may-29.md#relaxed-semantics-for-promiseresolve-nominal-check-mm .
This cause a test262 test to fail:
built-ins/Promise/resolve/arg-uniq-ctor
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.