DescriptionChange V8VarConverter::FromV8Value to complete synchronously if possible
Previously V8VarConverter::FromV8Value would always complete asynchronously
(we would always post a task to the message loop to run the callback). However,
this adds latency to the transmission of postMessage'd messages. It also has
the unfortunate consequence that posted messages can arrive out of order with
other messages (such as view changes). We should attempt to convert
synchronously if possible and only resort to asynchronous conversion
if needed.
BUG=367896
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277374
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Messages
Total messages: 6 (0 generated)
|