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

Issue 1962053002: Allow expensive task blocking if there is pending iframe navigation (Closed)

Created:
4 years, 7 months ago by alex clarke (OOO till 29th)
Modified:
4 years, 7 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, jam, Nate Chapin, kinuko+watch, loading-reviews_chromium.org, scheduler-bugs_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow expensive task blocking if there is pending iframe navigation The motivation for this patch is to gain the benefits of the expensive task blocking intervention even if an iframe is navigating. This should help improve touch responsiveness on ad heavy pages. We still prevent expensive task blocking when there is a pending main frame navigation. BUG=600202 Committed: https://crrev.com/bb4be51059b55cd04c329d2d296ebcc7e808b215 Cr-Commit-Position: refs/heads/master@{#392583}

Patch Set 1 #

Total comments: 4

Patch Set 2 : use an enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -47 lines) Patch
M components/scheduler/child/web_scheduler_impl.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler.h View 1 2 chunks +9 lines, -5 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.cc View 1 1 chunk +12 lines, -6 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl_unittest.cc View 1 5 chunks +32 lines, -8 lines 0 comments Download
M components/scheduler/renderer/renderer_web_scheduler_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/scheduler/renderer/renderer_web_scheduler_impl.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M content/test/fake_renderer_scheduler.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/test/fake_renderer_scheduler.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/NavigationScheduler.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/NavigationScheduler.cpp View 1 5 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/TimerTest.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebScheduler.h View 1 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (9 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/1962053002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1962053002/1
4 years, 7 months ago (2016-05-09 16:17:53 UTC) #2
alex clarke (OOO till 29th)
4 years, 7 months ago (2016-05-09 16:18:36 UTC) #4
Sami
https://codereview.chromium.org/1962053002/diff/1/components/scheduler/child/web_scheduler_impl.h File components/scheduler/child/web_scheduler_impl.h (right): https://codereview.chromium.org/1962053002/diff/1/components/scheduler/child/web_scheduler_impl.h#newcode47 components/scheduler/child/web_scheduler_impl.h:47: void addPendingNavigation(bool main_frame_navigating) override {} camelCase at this layer ...
4 years, 7 months ago (2016-05-09 16:45:21 UTC) #5
alex clarke (OOO till 29th)
https://codereview.chromium.org/1962053002/diff/1/components/scheduler/child/web_scheduler_impl.h File components/scheduler/child/web_scheduler_impl.h (right): https://codereview.chromium.org/1962053002/diff/1/components/scheduler/child/web_scheduler_impl.h#newcode47 components/scheduler/child/web_scheduler_impl.h:47: void addPendingNavigation(bool main_frame_navigating) override {} On 2016/05/09 16:45:21, Sami ...
4 years, 7 months ago (2016-05-09 17:08:09 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1962053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1962053002/20001
4 years, 7 months ago (2016-05-09 17:08:50 UTC) #8
Sami
lgtm
4 years, 7 months ago (2016-05-09 17:50:01 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-09 18:15:24 UTC) #13
jochen (gone - plz use gerrit)
lgtm
4 years, 7 months ago (2016-05-10 11:53:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1962053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1962053002/20001
4 years, 7 months ago (2016-05-10 12:13:21 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-10 12:16:50 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 12:18:09 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bb4be51059b55cd04c329d2d296ebcc7e808b215
Cr-Commit-Position: refs/heads/master@{#392583}

Powered by Google App Engine
This is Rietveld 408576698