Bug 85693 - Add new Setting/Preference to disable requestAnimationFrame
Summary: Add new Setting/Preference to disable requestAnimationFrame
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
Keywords: InRadar
Depends on:
Reported: 2012-05-04 19:51 PDT by Dean Jackson
Modified: 2012-05-07 12:51 PDT (History)
2 users (show)

See Also:

Patch (29.38 KB, patch)
2012-05-04 20:08 PDT, Dean Jackson
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2012-05-04 19:51:58 PDT
There are some rare applications that need to disable requestAnimationFrame, such as offline renderers or archivers. Add a new Preference so that these applications can turn off the rAF machinery.

For some background, the issue we hit is setting up the link to the display timer. We don't actually want to delete the feature - we want the page to still think rAF is there, just make sure that the animation is never serviced.
Comment 1 Dean Jackson 2012-05-04 20:02:48 PDT
Comment 2 Dean Jackson 2012-05-04 20:08:01 PDT
Created attachment 140377 [details]
Comment 3 Dean Jackson 2012-05-05 14:39:11 PDT
Committed r116230: <http://trac.webkit.org/changeset/116230>
Comment 4 James Robinson 2012-05-07 12:51:09 PDT
Sounds like what you really want is a setting/preference to disable the display link mechanism.