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

Issue 2859543003: Don't run IntersectionObserver lifecycle in frames with dirty layout. (Closed)

Created:
3 years, 7 months ago by szager1
Modified:
3 years, 7 months ago
Reviewers:
dgrogan, eae
CC:
chromium-reviews, blink-reviews, blink-reviews-frames_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't run IntersectionObserver lifecycle in frames with dirty layout. IntersectionObserver calls into layout geometry code, and it's bogus to run that code while layout is dirty. BUG=682307 Review-Url: https://codereview.chromium.org/2859543003 Cr-Commit-Position: refs/heads/master@{#469124} Committed: https://chromium.googlesource.com/chromium/src/+/edf83955248f5f88792cec8a4e2618e2670a33cc

Patch Set 1 #

Patch Set 2 : Skip IO algorithm for dirty frames. #

Patch Set 3 : test expectation #

Total comments: 1

Patch Set 4 : Run RecordDeferredLoadingStats even if layout is dirty. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 31 (23 generated)
eae
LGTM
3 years, 7 months ago (2017-05-02 19:51:29 UTC) #5
szager1
PTAL: rather than setting a cap on the target_state, simply skip running IO lifecycle for ...
3 years, 7 months ago (2017-05-03 12:36:47 UTC) #17
dgrogan
It's actually the opposite: setting iframe to display:none DOES cause additional hypothetical loading activity. See ...
3 years, 7 months ago (2017-05-03 15:46:20 UTC) #18
szager1
PTAL: I changed it to run the deferred loading code even when layout is dirty.
3 years, 7 months ago (2017-05-03 19:24:06 UTC) #21
dgrogan
lgtm This makes way more sense than changing the meaning of the histogram values.
3 years, 7 months ago (2017-05-03 19:45:02 UTC) #23
dgrogan
lgtm This makes way more sense than changing the meaning of the histogram values.
3 years, 7 months ago (2017-05-03 19:45:03 UTC) #24
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/2859543003/60001
3 years, 7 months ago (2017-05-03 21:05:05 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 21:12:41 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/edf83955248f5f88792cec8a4e26...

Powered by Google App Engine
This is Rietveld 408576698