DescriptionPrevent the in-process PDF plugin re-entering into JS during blink layout
Layout changes trigger view changes which get sent to the plugin. With the
in process plugin (PDF), the plugin is notified synchronously of the view
change. It then might execute scripts synchronously in the plugin but
scripts are not meant to be executed during layout changes. This change
runs the scripts asynchronously. I tested print preview to ensure that it
still works correctly.
Note that once we remove in-process plugins this won't be an issue because
view changes happen asynchronously out of process (besides the fact that
synchronous script execution is limited to private plugins).
BUG=351636
Committed: https://crrev.com/8410df4f4a7c54f2d669b6cc717ec9a09b76ad79
Cr-Commit-Position: refs/heads/master@{#293256}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|