Google Chrome V8 AwaitedPromise Update Bug
Posted by deepcore on April 27, 2018 – 8:44 am
Google Chrome V8 Await methods call ResolveNativePromise which calls InternalResolvePromise which can invoke a user JavaScript code through a “then” getter. If the AwaitedPromise is replaced by the user script, the AwaitedPromise will be immediately overwritten after the call to Await, this may lead the generator to an incorrect state.
Post a reply
You must be logged in to post a comment.