DescriptionAnother patch http://crrev.com/443103002 fixed this.
Make Range::insertNode to validate new end boundary point before using it
In |Range::insertNode()|, we use |EventQueueScope| to postpone execution of
event handler during DOM mutation. But, "load" event handler for capturing
phase is executed after |ContainerNode::insertNode| or
|ContainerNode::appendChild| call.
This patch makes |Range::insertNode()| to validate new end boundary point,
which can be modified during |ContainerNode::insertNode| call by event handler,
before using it.
BUG=353329
TEST=LayoutTests/fast/dom/Range/surroundContents-iframe-crash.html
Patch Set 1 #
Total comments: 6
Patch Set 2 : 2014-07-04T05:04:32 #
Messages
Total messages: 5 (0 generated)
|