Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Issue 45733007: Do not dispatch events in Document::nodeChildrenWillBeRemoved(). (Closed)

Created:
7 years, 1 month ago by tkent
Modified:
7 years, 1 month ago
Reviewers:
Hajime Morrita
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Do not dispatch events in Document::nodeChildrenWillBeRemoved(). FrameSelection::nodeWillBeRemoved() can dispatch 'beforeload' events for plugin elements. Avoid it by wrapping Document:: nodeChildrenWillBeRemoved() call with RenderWidget::UpdateSuspendScope. BUG=312639 TEST=automated R=morrita@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160918

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M LayoutTests/TestExpectations View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/ContainerNode.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tkent
Morita-san, would you review this please?
7 years, 1 month ago (2013-10-30 06:45:30 UTC) #1
Hajime Morrita
lgtm.
7 years, 1 month ago (2013-10-30 08:49:01 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/45733007/80001
7 years, 1 month ago (2013-10-30 08:50:38 UTC) #3
commit-bot: I haz the power
7 years, 1 month ago (2013-10-30 10:11:23 UTC) #4
Message was sent while issue was closed.
Change committed as 160918

Powered by Google App Engine
This is Rietveld 408576698