DescriptionAdd a scoping object to help block scripting during plugin destruction.
This doesn't block all scripting in plugin destruction: apparently,
being able to script the DOM in an inconsistent state is a "feature" of
Flash.
Instead, the blocks are scoped to instances where the Frame/Document
will be destroyed or replaced shortly afterwards: this is an extension
of the earlier efforts to block synchronous scripting by plugins in
frame detach. The eventual goal is to remove the need to run a nested
message loop in these circumstances, so that the frame navigation and
detach logic can be rewritten to be much easier to reason about.
BUG=498088
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196832
Patch Set 1 #
Total comments: 5
Patch Set 2 : Reentrant -> Plugin #
Total comments: 2
Patch Set 3 : Rename static counter #
Messages
Total messages: 13 (4 generated)
|