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

Unified Diff: LayoutTests/animations/animation-hit-test.html

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/animations/animation-hit-test.html
diff --git a/LayoutTests/animations/animation-hit-test.html b/LayoutTests/animations/animation-hit-test.html
index 5410b3f7e585ba73753c500765b06849d4edaafe..8aa99de226deec06b64ade55c8f26ae47022e443 100644
--- a/LayoutTests/animations/animation-hit-test.html
+++ b/LayoutTests/animations/animation-hit-test.html
@@ -54,9 +54,7 @@
function doTest()
{
if (window.testRunner) {
- var target = document.getElementById("target");
- if (!internals.pauseAnimationAtTimeOnElement("anim", 2.0, target))
- throw("Transition is not running");
+ internals.pauseAnimations(2);
checkResults();
testRunner.notifyDone();
« no previous file with comments | « LayoutTests/animations/animation-delay-changed.html ('k') | LayoutTests/animations/animation-hit-test-transform.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698