New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 623610 link

Starred by 9 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Apr 2017
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Launch-OWP
Launch-Accessibility: NA
Launch-Exp-Leadership: ----
Launch-Leadership: ----
Launch-Legal: Yes
Launch-M-Approved: 53-Dev , 53-Beta , 53-Stable-Exp , 53-Stable
Launch-M-Target: 53-Dev , 53-Beta , 53-Stable-Exp , 53-Stable
Launch-Privacy: NA
Launch-Security: NA
Launch-Test: NA
Launch-UI: NA
Rollout-Type: ----

Blocked on:
issue 616519



Sign in to add a comment

OWP Launch bug: Throttle timers in out-of-view frames

Project Member Reported by skyos...@chromium.org, Jun 27 2016

Issue description

Change description:
As an intervention we want to limit the rate at which timers in out-of-view, cross-origin frames are able to fire.
 
Until very recently it wasn't possible for script authors to easily determine whether their content was visible to the user or not. A common pattern therefore is to use a continuous setTimeout() loop for driving animations without considering visibility, which can be very costly for performance.

Changes to API surface:
- setTimeout(), setInterval() callbacks will be aligned to a 1 Hz cadence in cross-origin, out-of-view iframes. The same intervention is already done when a tab goes into the background.

Links:
Public standards discussion: https://github.com/WICG/interventions/issues/9

Support in other browsers:
Edge: Public support (https://github.com/WICG/interventions/issues/9#issuecomment-228800016)
Firefox: In development (https://bugzilla.mozilla.org/show_bug.cgi?id=1145439)
Safari: Shipped in version 9 (https://bugs.webkit.org/show_bug.cgi?id=145465)

 
Owner: kenjibaheux@chromium.org
Let me take care of the process.
Last time we used an OWP launch, finch was complaining about it when we reached beta (it only works with a regular launch). We'll see...
Labels: -Launch-Privacy-NotReviewed -OWP-Design-No -Launch-Security-NotReviewed -Launch-Test-NotReviewed OWP-Design-Yes Launch-M-Target-53-Dev Launch-M-Target-53-Beta Launch-M-Target-53-Stable-Exp Launch-M-Target-53-Stable Launch-Privacy-NA Launch-Security-NA Launch-Status-Approval-Requested Launch-Test-NA
Flipping most of the bits to N/A.

Test: there is no need for manual testing so NA.

Privacy and Security: are N/A given that the change (throttling a web platform feature on a visibility condition) has no implications for these areas.

Flipping to OWP-Design-Yes based on the approvals we got on the intent to implement and ship thread: https://groups.google.com/a/chromium.org/d/msg/blink-dev/_Lhz8THHk2Q/f8j8E49rAgAJ

I'll reach out to Legal and L-R to get the remaining approvals.

Comment 3 by ew...@chromium.org, Jun 30 2016

Labels: -Launch-Status-Approval-Requested Launch-M-Approved-53-Dev Launch-M-Approved-53-Beta Launch-M-Approved-53-Stable-Exp Launch-M-Approved-53-Stable
Approved over email

Comment 4 by ctanaka@google.com, Jun 30 2016

Labels: -Launch-Legal-NotReviewed Launch-Legal-Yes
Status: Fixed (was: Assigned)

Sign in to add a comment