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

Issue 1039523003: MutationObserver: add a check that iterating registration still exists in original set (Closed)

Created:
5 years, 9 months ago by kouhei (in TOK)
Modified:
5 years, 9 months ago
Reviewers:
haraken, adamk
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

MutationObserver: add a check that iterating registration still exists in original set The MutationObserver registration may be unregistered from the original set while iterating on the cloned set. Add a check so that it would only call unregister() on active registrations. BUG=453279 TEST=manually tested from fuzzer repro case :( Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192655

Patch Set 1 #

Total comments: 1

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M Source/core/dom/MutationObserver.cpp View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
kouhei (in TOK)
PTAL
5 years, 9 months ago (2015-03-27 02:30:58 UTC) #2
haraken
Thanks for the quick fix! Can we add a test? https://codereview.chromium.org/1039523003/diff/1/Source/core/dom/MutationObserver.cpp File Source/core/dom/MutationObserver.cpp (right): https://codereview.chromium.org/1039523003/diff/1/Source/core/dom/MutationObserver.cpp#newcode160 ...
5 years, 9 months ago (2015-03-27 02:40:10 UTC) #3
kouhei (in TOK)
On 2015/03/27 02:40:10, haraken wrote: > Thanks for the quick fix! > > Can we ...
5 years, 9 months ago (2015-03-27 03:34:12 UTC) #4
haraken
LGTM
5 years, 9 months ago (2015-03-27 03:40:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039523003/20001
5 years, 9 months ago (2015-03-27 03:44:07 UTC) #7
commit-bot: I haz the power
5 years, 9 months ago (2015-03-27 07:16:47 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192655

Powered by Google App Engine
This is Rietveld 408576698