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

Issue 2641803003: Introduce SynchronousMutationObserver::didChangeAttribute() (Closed)

Created:
3 years, 11 months ago by yosin_UTC9
Modified:
3 years, 11 months ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce SynchronousMutationObserver::didChangeAttribute() This patch introduces |SynchronousMutationObserver::didChangeAttribute()| to observe attribute changes in |Element| for a preparation of [1] which tracks attribute changes for invalidating cached |VisibleSelection|. [1] http://crrev.com/2637013002: Make FrameSelection to hold non-canonicalized positions BUG=682878 TEST=run_webkit_unitetests --gtest_filter=DocumentTest.SynchronousMutationNotifierChangeAttribute) Review-Url: https://codereview.chromium.org/2641803003 Cr-Commit-Position: refs/heads/master@{#445006} Committed: https://chromium.googlesource.com/chromium/src/+/f34f5cb8f4f2f4a54afe4094dc7933193220116e

Patch Set 1 : 2017-01-19T18:18:55 #

Patch Set 2 : 2017-01-20T13:51:02 Rebase #

Patch Set 3 : 2017-01-20T14:34:58 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
M third_party/WebKit/Source/core/dom/DocumentTest.cpp View 1 6 chunks +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/SynchronousMutationObserver.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/SynchronousMutationObserver.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 29 (20 generated)
yosin_UTC9
PTAL
3 years, 11 months ago (2017-01-19 09:34:39 UTC) #5
tkent
> attribute changes for invalidating cached |VisibleSelection|. In what case an attribute change affect VisibleSelection?
3 years, 11 months ago (2017-01-19 23:28:41 UTC) #10
yosin_UTC9
On 2017/01/19 at 23:28:41, tkent wrote: > > attribute changes for invalidating cached |VisibleSelection|. > ...
3 years, 11 months ago (2017-01-19 23:47:56 UTC) #12
tkent
lgtm. > TEST=n/a; no behavior changes This line isn't correct. This CL contains automated test.
3 years, 11 months ago (2017-01-19 23:51:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2641803003/40001
3 years, 11 months ago (2017-01-20 05:08:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/196931) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 11 months ago (2017-01-20 05:23:26 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2641803003/60001
3 years, 11 months ago (2017-01-20 05:36:25 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://chromium.googlesource.com/chromium/src/+/f34f5cb8f4f2f4a54afe4094dc7933193220116e
3 years, 11 months ago (2017-01-20 07:17:32 UTC) #28
yosin_UTC9
3 years, 11 months ago (2017-01-25 01:30:34 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:60001) has been created in
https://codereview.chromium.org/2650353002/ by yosin@chromium.org.

The reason for reverting is: Performance regression on blink_perf.dom:
modify-element-title/modify-element-title

http://crbug.com/684394.

Powered by Google App Engine
This is Rietveld 408576698