Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(15)

Issue 1156273002: Add assert that updateLayoutTree clears dirty bits. (Closed)

Created:
4 years, 11 months ago by esprehn
Modified:
4 years, 10 months ago
Reviewers:
Timothy Loh, dglazkov, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add assert that updateLayoutTree clears dirty bits. We should never leave any dirty bits for style invalidation or style recalc after having run updateLayoutTree. This adds a tree walk that makes sure all bits are cleared. BUG=492730 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197435

Patch Set 1 #

Patch Set 2 : Clear more bits. #

Patch Set 3 : Better. #

Patch Set 4 : Try again. #

Patch Set 5 : Fix shadow roots. #

Patch Set 6 : Fix animations. #

Patch Set 7 : Change assert for documentElement. #

Patch Set 8 : Fix build and clean up. #

Patch Set 9 : Check the accept conditions for documents. #

Total comments: 1

Patch Set 10 : Just asserts?? #

Total comments: 1

Patch Set 11 : Add a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -0 lines) Patch
M Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (20 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/1
4 years, 11 months ago (2015-05-27 07:15:18 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63338)
4 years, 11 months ago (2015-05-27 07:47:25 UTC) #4
esprehn
Lots of unit test failures: [ RUN ] AffectedByFocusTest.AffectedByFocusUpdate ASSERTION FAILED: !node.childNeedsStyleRecalc() ../../third_party/WebKit/Source/core/dom/Document.cpp(1698) : void ...
4 years, 11 months ago (2015-05-27 07:52:39 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/40001
4 years, 11 months ago (2015-05-27 08:11:54 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63348)
4 years, 11 months ago (2015-05-27 08:51:35 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/60001
4 years, 11 months ago (2015-05-27 08:53:10 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63360)
4 years, 11 months ago (2015-05-27 11:08:56 UTC) #13
esprehn
Alright now up to layout tests: virtual/threaded/animations/display-none-cancels-nested-animations.html fast/parser/append-child-followed-by-document-write.html animations/display-none-cancels-nested-animations.html fast/dom/shadow/shadow-disable.html http/tests/serviceworker/skip-waiting-using-registration.html fast/animation/animation-without-parent-crash.html
4 years, 11 months ago (2015-05-27 15:32:34 UTC) #14
dglazkov
Is this part of a larger work or just a one-off thing? Sounds exciting, would ...
4 years, 11 months ago (2015-05-27 15:40:33 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/120001
4 years, 11 months ago (2015-05-27 23:52:41 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/56639)
4 years, 11 months ago (2015-05-28 00:04:08 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/140001
4 years, 11 months ago (2015-05-28 00:49:43 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63538)
4 years, 11 months ago (2015-05-28 02:59:30 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/160001
4 years, 11 months ago (2015-05-28 03:03:20 UTC) #25
kouhei (in TOK)
https://codereview.chromium.org/1156273002/diff/160001/Source/core/html/parser/HTMLConstructionSite.cpp File Source/core/html/parser/HTMLConstructionSite.cpp (right): https://codereview.chromium.org/1156273002/diff/160001/Source/core/html/parser/HTMLConstructionSite.cpp#newcode109 Source/core/html/parser/HTMLConstructionSite.cpp:109: } This change lg tm. Would you like to ...
4 years, 11 months ago (2015-05-28 03:54:53 UTC) #27
esprehn
Yup that's the plan. :) To unsubscribe from this group and stop receiving emails from ...
4 years, 11 months ago (2015-05-28 04:15:50 UTC) #28
esprehn
Okay next is inspector/elements/animation-timeline.html which fails with !node.needsDistributionRecalc(), but apparently not on mac??
4 years, 11 months ago (2015-05-28 04:33:15 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/63560)
4 years, 11 months ago (2015-05-28 05:07:40 UTC) #31
esprehn
I think it's only accessibility/add-to-menu-list-crashes.html now and that crashes only on windows and linux for ...
4 years, 11 months ago (2015-06-03 08:34:52 UTC) #33
esprehn
On 2015/06/03 at 08:34:52, esprehn wrote: > I think it's only accessibility/add-to-menu-list-crashes.html now and that ...
4 years, 10 months ago (2015-06-08 21:55:33 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/180001
4 years, 10 months ago (2015-06-19 02:19:25 UTC) #36
esprehn
4 years, 10 months ago (2015-06-19 03:02:14 UTC) #38
ojan
lgtm https://codereview.chromium.org/1156273002/diff/180001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1156273002/diff/180001/Source/core/dom/Document.cpp#newcode1691 Source/core/dom/Document.cpp:1691: // matter like Comment and ProcessingInstruction nodes. Add ...
4 years, 10 months ago (2015-06-19 03:05:45 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/200001
4 years, 10 months ago (2015-06-19 03:12:42 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/59686)
4 years, 10 months ago (2015-06-19 04:38:06 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156273002/200001
4 years, 10 months ago (2015-06-19 04:53:51 UTC) #46
commit-bot: I haz the power
4 years, 10 months ago (2015-06-19 06:03:17 UTC) #47
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197435

Powered by Google App Engine
This is Rietveld 408576698