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

Issue 2334123006: scheduler: Don't throttle 0x0 frames (Closed)

Created:
4 years, 3 months ago by Sami
Modified:
4 years, 3 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2840
Project:
chromium
Visibility:
Public.

Description

scheduler: Don't throttle 0x0 frames This patch avoids throttling requestAnimationFrame and timers inside 0x0 frames. The reason is that some websites (e.g., GMail) use cross origin 0x0 frames to drive UI logic and throttling these frames causes breakage. This change also makes us match Safari's behavior. This patch also removes the test for throttling out-of-process iframes, because it turns out the viewport intersection code is not able to compute intersections across process boundaries. This capability will be restored when IntersectionObserver gains support for out-of-process iframes. BUG=644217 Review-Url: https://codereview.chromium.org/2333653002 Cr-Commit-Position: refs/heads/master@{#418174} (cherry picked from commit b83d755a52a7fe9792af9ee360e551c157ad576e) Committed: https://chromium.googlesource.com/chromium/src/+/4703ea9efd84b2cadb8d7cf15951d7d65da1b641

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -66 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp View 3 chunks +28 lines, -64 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
Sami
4 years, 3 months ago (2016-09-15 11:37:44 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
4703ea9efd84b2cadb8d7cf15951d7d65da1b641.

Powered by Google App Engine
This is Rietveld 408576698