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

Issue 2651933002: scheduler: Make DOM window event tasks unthrottled (Closed)

Created:
3 years, 11 months ago by Sami
Modified:
3 years, 11 months ago
Reviewers:
haraken, altimin, dcheng
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

scheduler: Make DOM window event tasks unthrottled This patch avoids throttling events that are routed via DOMWindowEventQueue. This affects a handful of window-related events, the most important ones being IndexedDB events. It turns out many web pages (e.g., Google Docs) rely on IndexedDB transactions to be relatively fast and start encountering errors if they are throttled too aggressively while a tab is in the background. BUG=675372 Review-Url: https://codereview.chromium.org/2651933002 Cr-Commit-Position: refs/heads/master@{#446000} Committed: https://chromium.googlesource.com/chromium/src/+/05a13309259dd16f38eef41adc7cce55e3d15a05

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M third_party/WebKit/Source/core/events/DOMWindowEventQueue.cpp View 1 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimer.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/SuspendableTimer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/SuspendableTimer.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (14 generated)
Sami
PTAL, thanks! FYI, decided against adding a layout test because we don't have a good ...
3 years, 11 months ago (2017-01-24 12:16:55 UTC) #8
altimin
lgtm
3 years, 11 months ago (2017-01-24 12:19:13 UTC) #9
Sami
Ah, I think Kentaro is on a plane right now. Daniel, could you take a ...
3 years, 11 months ago (2017-01-24 16:05:24 UTC) #11
Sami
3 years, 11 months ago (2017-01-24 16:05:29 UTC) #12
dcheng
LGTM
3 years, 11 months ago (2017-01-24 16:15:51 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/2651933002/1
3 years, 11 months ago (2017-01-24 16:22:44 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/297058)
3 years, 11 months ago (2017-01-24 16:30:48 UTC) #17
dcheng
On 2017/01/24 16:22:44, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 11 months ago (2017-01-24 16:31:33 UTC) #18
haraken
LGTM Just to confirm: There is no option to unthrottle only Indexed DB events because ...
3 years, 11 months ago (2017-01-24 21:53:29 UTC) #19
Sami
On 2017/01/24 21:53:29, haraken wrote: > LGTM > > Just to confirm: There is no ...
3 years, 11 months ago (2017-01-25 10:29:30 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/2651933002/20001
3 years, 11 months ago (2017-01-25 10:29:58 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 12:09:36 UTC) #26
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/05a13309259dd16f38eef41adc7c...

Powered by Google App Engine
This is Rietveld 408576698