diff options
author | James Simonsen <simonjam@chromium.org> | 2013-04-08 10:36:11 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-08 21:04:58 +0200 |
commit | 57992527bde37706ebfc4ed4940bc20a0784eb0c (patch) | |
tree | 1bf10bee5f2201c7a0eef60604cdafa64f896a2f /Source/JavaScriptCore/debugger/Debugger.cpp | |
parent | 7e9bbda3e9bfbe90ca0b017ec1f8b1b1efd746c4 (diff) | |
download | qtwebkit-57992527bde37706ebfc4ed4940bc20a0784eb0c.tar.gz |
Restore old semantics to webkitRequestAnimationFrame callbacks
https://bugs.webkit.org/show_bug.cgi?id=106697
MERGE NOTE: Fixes regression from r131131, webkit bug #66683
Reviewed by James Robinson.
Source/WebCore:
Sites that use GWT <= 2.4 are buggy and rely on Date.now()-like callback values.
We'll restore that behavior to the prefixed version of webkitRequestAnimationFrame.
requestAnimationFrame will continue to follow the spec.
Test: fast/animation/request-animation-frame-prefix.html
* dom/RequestAnimationFrameCallback.h:
(RequestAnimationFrameCallback):
* dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::serviceScriptedAnimations):
* page/DOMWindow.cpp:
(WebCore::DOMWindow::requestAnimationFrame):
(WebCore):
(WebCore::DOMWindow::webkitRequestAnimationFrame):
* page/DOMWindow.h:
(DOMWindow):
* page/DOMWindow.idl:
LayoutTests:
* fast/animation/request-animation-frame-prefix-expected.txt: Added.
* fast/animation/request-animation-frame-prefix.html: Added.
* fast/animation/script-tests/request-animation-frame-prefix.js: Added.
(busyWait):
(window.webkitRequestAnimationFrame):
Change-Id: Ibdd0b3aaa4154ad0861f3b95e0ab405ccffd0297
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/debugger/Debugger.cpp')
0 files changed, 0 insertions, 0 deletions