DescriptionMerge 139509
> Restore old semantics to webkitRequestAnimationFrame callbacks
> https://bugs.webkit.org/show_bug.cgi?id=106697
>
> 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):
>
TBR=simonjam@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139635
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|