Google Chrome V8 AwaitedPromise Update Bug

Discussion in 'News Aggregator' started by Packet Storm, 27 Apr 2018.

  1. Packet Storm

    Packet Storm Guest

    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.

    Continue reading...
     

Share This Page

Loading...