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

Issue 2401713003: Turn on render throttling for iframes with pending sheets. (Closed)

Created:
4 years, 2 months ago by esprehn
Modified:
4 years, 1 month ago
Reviewers:
Sami, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, kinuko+watch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Turn on render throttling for iframes with pending sheets. This prevents us from doing layout, style, paint and requestAnimationFrame for frames that are waiting on pending stylesheets and are not actually painting. This puts the feature behind the --experimental-web-platform-features flag pending approval of the Intent to Ship. BUG=663193, 521692 Committed: https://crrev.com/1489b47d07ee66f530d0bb99fff53e0cdd84c8dd Cr-Commit-Position: refs/heads/master@{#430794}

Patch Set 1 #

Patch Set 2 : Update with new rendering throttling code. #

Patch Set 3 : Fix DeferredLoadingTest and add a DocumentLoadingRenderingTest. #

Patch Set 4 : fix debug. #

Total comments: 6

Patch Set 5 : ojan@ cr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -52 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 1 chunk +1 line, -11 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 6 chunks +45 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/DocumentLoadingRenderingTest.cpp View 1 2 3 4 4 chunks +65 lines, -25 lines 0 comments Download

Messages

Total messages: 33 (25 generated)
esprehn
4 years, 1 month ago (2016-11-08 21:16:20 UTC) #22
ojan
lgtm once the intent to ship is approved. https://codereview.chromium.org/2401713003/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2401713003/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode4461 third_party/WebKit/Source/core/frame/FrameView.cpp:4461: void ...
4 years, 1 month ago (2016-11-08 21:27:06 UTC) #24
esprehn
https://codereview.chromium.org/2401713003/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2401713003/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode4461 third_party/WebKit/Source/core/frame/FrameView.cpp:4461: void FrameView::maybeRecordLoadReason() { On 2016/11/08 at 21:27:06, ojan wrote: ...
4 years, 1 month ago (2016-11-08 22:18:35 UTC) #25
esprehn
On 2016/11/08 at 21:27:06, ojan wrote: > lgtm once the intent to ship is approved. ...
4 years, 1 month ago (2016-11-08 22:19:03 UTC) #26
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/2401713003/80001
4 years, 1 month ago (2016-11-08 22:20:04 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-09 00:34:30 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/1489b47d07ee66f530d0bb99fff53e0cdd84c8dd Cr-Commit-Position: refs/heads/master@{#430794}
4 years, 1 month ago (2016-11-09 00:40:58 UTC) #32
Sami
4 years, 1 month ago (2016-11-09 15:16:34 UTC) #33
Message was sent while issue was closed.
lgtm.

Powered by Google App Engine
This is Rietveld 408576698