Changeset 119985 in webkit
- Timestamp:
- Jun 11, 2012 10:22:07 AM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 51 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r119984 r119985 1 2012-06-11 Ryosuke Niwa <rniwa@webkit.org> 2 3 Use testRunner instead of layoutTestController in animations tests 4 https://bugs.webkit.org/show_bug.cgi?id=88757 5 6 Reviewed by Tony Chang. 7 8 * animations/3d/change-transform-in-end-event.html: 9 * animations/3d/replace-filling-transform.html: 10 * animations/3d/state-at-end-event-transform.html: 11 * animations/3d/transform-origin-vs-functions.html: 12 * animations/animation-add-events-in-handler.html: 13 * animations/animation-border-overflow.html: 14 * animations/animation-controller-drt-api.html: 15 * animations/animation-direction-reverse-fill-mode-hardware.html: 16 * animations/animation-direction-reverse-fill-mode.html: 17 * animations/animation-drt-api-multiple-keyframes.html: 18 * animations/animation-drt-api.html: 19 * animations/animation-end-event-destroy-renderer.html: 20 * animations/animation-end-event-short-iterations.html: 21 * animations/animation-hit-test-transform.html: 22 * animations/animation-hit-test.html: 23 * animations/animation-iteration-event-destroy-renderer.html: 24 * animations/animation-matrix-negative-scale-unmatrix.html: 25 * animations/animation-on-inline-crash.html: 26 * animations/animation-shorthand-overriding.html: 27 * animations/animation-shorthand-removed.html: 28 * animations/animation-shorthand.html: 29 * animations/animation-start-event-destroy-renderer.html: 30 * animations/animation-welcome-safari.html: 31 * animations/body-removal-crash.html: 32 * animations/change-keyframes-name.html: 33 * animations/change-transform-style-during-animation.html: 34 * animations/combo-transform-translate+scale.html: 35 * animations/empty-keyframes.html: 36 * animations/fill-mode-forwards.html: 37 * animations/fill-mode-iteration-count-non-integer.html: 38 * animations/fill-mode-missing-from-to-keyframes.html: 39 * animations/fill-mode-multiple-keyframes.html: 40 * animations/fill-mode-removed.html: 41 * animations/fill-mode-reverse.html: 42 * animations/fill-mode-transform.html: 43 * animations/fill-mode.html: 44 * animations/fill-unset-properties.html: 45 * animations/font-size-using-ems.html-disabled: 46 * animations/import-crash.html: 47 * animations/keyframe-timing-functions-transform.html: 48 * animations/keyframe-timing-functions2.html: 49 * animations/keyframes-iteration-count-non-integer.html: 50 * animations/longhand-timing-function.html: 51 * animations/missing-from-to-transforms.html: 52 * animations/missing-from-to.html: 53 * animations/pause-crash.html: 54 * animations/resources/animation-test-helpers.js: 55 (checkExpectedValue): 56 (endTest): 57 * animations/state-at-end-event.html: 58 * animations/suspend-resume-animation-events.html: 59 * animations/suspend-transform-animation.html: 60 * animations/transition-and-animation-3.html: 61 * animations/unanimated-style.html: 62 1 63 2012-06-11 David Barr <davidbarr@chromium.org> 2 64 -
trunk/LayoutTests/animations/3d/change-transform-in-end-event.html
r52694 r119985 47 47 { 48 48 document.getElementById('tester').style.webkitTransform = 'translateX(150px)'; 49 if (window. layoutTestController)50 layoutTestController.notifyDone();49 if (window.testRunner) 50 testRunner.notifyDone(); 51 51 } 52 52 53 53 function startTest() 54 54 { 55 if (window. layoutTestController)56 layoutTestController.waitUntilDone();55 if (window.testRunner) 56 testRunner.waitUntilDone(); 57 57 58 58 document.getElementById('tester').addEventListener('webkitAnimationEnd', testEnded, false); -
trunk/LayoutTests/animations/3d/replace-filling-transform.html
r85338 r119985 57 57 result.innerHTML = "FAIL - final state was " + computedValue + " expected " + expectedValue; 58 58 59 if (window. layoutTestController)60 layoutTestController.notifyDone();59 if (window.testRunner) 60 testRunner.notifyDone(); 61 61 } 62 62 … … 77 77 } 78 78 79 if (window. layoutTestController) {80 layoutTestController.dumpAsText(true);81 layoutTestController.waitUntilDone();79 if (window.testRunner) { 80 testRunner.dumpAsText(true); 81 testRunner.waitUntilDone(); 82 82 } 83 83 -
trunk/LayoutTests/animations/3d/state-at-end-event-transform.html
r52694 r119985 43 43 function testEnded() 44 44 { 45 if (window. layoutTestController)46 layoutTestController.notifyDone();45 if (window.testRunner) 46 testRunner.notifyDone(); 47 47 } 48 48 49 49 function startTest() 50 50 { 51 if (window. layoutTestController)52 layoutTestController.waitUntilDone();51 if (window.testRunner) 52 testRunner.waitUntilDone(); 53 53 54 54 document.getElementById('tester').addEventListener('webkitAnimationEnd', testEnded, false); -
trunk/LayoutTests/animations/3d/transform-origin-vs-functions.html
r81613 r119985 56 56 57 57 <script type="text/javascript" charset="utf-8"> 58 if (window. layoutTestController) {59 layoutTestController.dumpAsText();60 layoutTestController.waitUntilDone();58 if (window.testRunner) { 59 testRunner.dumpAsText(); 60 testRunner.waitUntilDone(); 61 61 } 62 62 … … 100 100 resultEntries.sort(); 101 101 document.getElementById('result').innerHTML = resultEntries.join(""); 102 if (window. layoutTestController)103 layoutTestController.notifyDone();102 if (window.testRunner) 103 testRunner.notifyDone(); 104 104 } 105 105 } -
trunk/LayoutTests/animations/animation-add-events-in-handler.html
r76708 r119985 1 1 <script> 2 if (window. layoutTestController) {3 layoutTestController.dumpAsText();4 layoutTestController.waitUntilDone();2 if (window.testRunner) { 3 testRunner.dumpAsText(); 4 testRunner.waitUntilDone(); 5 5 } 6 6 … … 11 11 if (total == 500) { 12 12 document.getElementById("results").innerHTML = "PASS: Adding animation events in the handler did not crash."; 13 if (window. layoutTestController)14 layoutTestController.notifyDone();13 if (window.testRunner) 14 testRunner.notifyDone(); 15 15 } 16 16 } -
trunk/LayoutTests/animations/animation-border-overflow.html
r106672 r119985 20 20 <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script> 21 21 <script type="text/javascript" charset="utf-8"> 22 if (window. layoutTestController)23 layoutTestController.dumpAsText();22 if (window.testRunner) 23 testRunner.dumpAsText(); 24 24 25 25 const expectedValues = [ -
trunk/LayoutTests/animations/animation-controller-drt-api.html
r39711 r119985 51 51 function sample0() { 52 52 var expected = 4; 53 var current = layoutTestController.numberOfActiveAnimations();53 var current = testRunner.numberOfActiveAnimations(); 54 54 if (current == expected) 55 55 document.getElementById('result0').innerHTML = "Number of active animations at 0s is (" + current + ") as expected"; … … 60 60 function sample1() { 61 61 var expected = 4; 62 var current = layoutTestController.numberOfActiveAnimations();62 var current = testRunner.numberOfActiveAnimations(); 63 63 if (current == expected) 64 64 document.getElementById('result1').innerHTML = "Number of active animations at 1s is (" + current + ") as expected"; … … 66 66 document.getElementById('result1').innerHTML = "Number of active animations at 1s is (" + current + ") but was expecting (" + expected + ")"; 67 67 68 layoutTestController.notifyDone();68 testRunner.notifyDone(); 69 69 } 70 70 71 71 function startTest() { 72 if (window. layoutTestController) {73 layoutTestController.dumpAsText();74 layoutTestController.waitUntilDone();72 if (window.testRunner) { 73 testRunner.dumpAsText(); 74 testRunner.waitUntilDone(); 75 75 76 76 var target = document.getElementById('target'); -
trunk/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html
r115540 r119985 44 44 var result = ""; 45 45 46 if (window. layoutTestController) {47 layoutTestController.dumpAsText();48 layoutTestController.waitUntilDone();46 if (window.testRunner) { 47 testRunner.dumpAsText(); 48 testRunner.waitUntilDone(); 49 49 } 50 50 … … 69 69 document.getElementById('result').innerHTML = result; 70 70 71 if (window. layoutTestController)72 layoutTestController.notifyDone();71 if (window.testRunner) 72 testRunner.notifyDone(); 73 73 } 74 74 -
trunk/LayoutTests/animations/animation-direction-reverse-fill-mode.html
r115540 r119985 57 57 var result = ""; 58 58 59 if (window. layoutTestController) {60 layoutTestController.dumpAsText();61 layoutTestController.waitUntilDone();59 if (window.testRunner) { 60 testRunner.dumpAsText(); 61 testRunner.waitUntilDone(); 62 62 } 63 63 … … 82 82 document.getElementById('result').innerHTML = result; 83 83 84 if (window. layoutTestController)85 layoutTestController.notifyDone();84 if (window.testRunner) 85 testRunner.notifyDone(); 86 86 } 87 87 -
trunk/LayoutTests/animations/animation-drt-api-multiple-keyframes.html
r103816 r119985 24 24 <script src="resources/animation-test-helpers.js"></script> 25 25 <script> 26 if (window. layoutTestController) {27 layoutTestController.waitUntilDone();28 layoutTestController.dumpAsText();26 if (window.testRunner) { 27 testRunner.waitUntilDone(); 28 testRunner.dumpAsText(); 29 29 } 30 30 31 31 function animationStarted() 32 32 { 33 if (window. layoutTestController) {34 var paused = layoutTestController.pauseAnimationAtTimeOnElementWithId("anim", 1, "target");33 if (window.testRunner) { 34 var paused = testRunner.pauseAnimationAtTimeOnElementWithId("anim", 1, "target"); 35 35 var result; 36 36 if (paused) … … 40 40 41 41 document.getElementById('results').innerText = result; 42 layoutTestController.notifyDone();42 testRunner.notifyDone(); 43 43 } else 44 44 document.getElementById('results').innerText = "This test requires DRT"; -
trunk/LayoutTests/animations/animation-drt-api.html
r84961 r119985 26 26 <script src="resources/animation-test-helpers.js"></script> 27 27 <script> 28 if (window. layoutTestController) {29 layoutTestController.waitUntilDone();30 layoutTestController.dumpAsText();28 if (window.testRunner) { 29 testRunner.waitUntilDone(); 30 testRunner.dumpAsText(); 31 31 } 32 32 33 33 function animationStarted() 34 34 { 35 if (window. layoutTestController) {36 var paused = layoutTestController.pauseAnimationAtTimeOnElementWithId("bounce", 1.0, "target");35 if (window.testRunner) { 36 var paused = testRunner.pauseAnimationAtTimeOnElementWithId("bounce", 1.0, "target"); 37 37 var result = ""; 38 38 if (paused) … … 42 42 43 43 document.getElementById('results').innerText = result; 44 layoutTestController.notifyDone();44 testRunner.notifyDone(); 45 45 } else 46 46 document.getElementById('results').innerText = "This test requires DRT"; -
trunk/LayoutTests/animations/animation-end-event-destroy-renderer.html
r38969 r119985 17 17 </style> 18 18 <script type="text/javascript" charset="utf-8"> 19 if (window. layoutTestController) {20 layoutTestController.dumpAsText();21 layoutTestController.waitUntilDone();19 if (window.testRunner) { 20 testRunner.dumpAsText(); 21 testRunner.waitUntilDone(); 22 22 } 23 23 … … 32 32 document.getElementById('results').innerHTML = 'Did not crash, so PASSED'; 33 33 34 if (window. layoutTestController)35 layoutTestController.notifyDone();34 if (window.testRunner) 35 testRunner.notifyDone(); 36 36 } 37 37 } -
trunk/LayoutTests/animations/animation-end-event-short-iterations.html
r67797 r119985 21 21 </style> 22 22 <script> 23 if (window. layoutTestController) {24 layoutTestController.dumpAsText();25 layoutTestController.waitUntilDone();23 if (window.testRunner) { 24 testRunner.dumpAsText(); 25 testRunner.waitUntilDone(); 26 26 } 27 27 … … 30 30 document.addEventListener('webkitAnimationEnd', function() { 31 31 document.getElementById('result').innerHTML = 'PASS: got webkitAnimationEnd event'; 32 if (window. layoutTestController)33 layoutTestController.notifyDone();32 if (window.testRunner) 33 testRunner.notifyDone(); 34 34 }, false); 35 35 -
trunk/LayoutTests/animations/animation-hit-test-transform.html
r84872 r119985 54 54 function doTest() 55 55 { 56 if (window. layoutTestController) {57 if (! layoutTestController.pauseAnimationAtTimeOnElementWithId("anim", 2.0, "target"))56 if (window.testRunner) { 57 if (!testRunner.pauseAnimationAtTimeOnElementWithId("anim", 2.0, "target")) 58 58 throw("Transition is not running"); 59 59 60 60 checkResults(); 61 layoutTestController.notifyDone();61 testRunner.notifyDone(); 62 62 } 63 63 else { … … 68 68 function startTest() 69 69 { 70 if (window. layoutTestController) {71 layoutTestController.dumpAsText();72 layoutTestController.waitUntilDone();70 if (window.testRunner) { 71 testRunner.dumpAsText(); 72 testRunner.waitUntilDone(); 73 73 } 74 74 -
trunk/LayoutTests/animations/animation-hit-test.html
r84872 r119985 54 54 function doTest() 55 55 { 56 if (window. layoutTestController) {57 if (! layoutTestController.pauseAnimationAtTimeOnElementWithId("anim", 2.0, "target"))56 if (window.testRunner) { 57 if (!testRunner.pauseAnimationAtTimeOnElementWithId("anim", 2.0, "target")) 58 58 throw("Transition is not running"); 59 59 60 60 checkResults(); 61 layoutTestController.notifyDone();61 testRunner.notifyDone(); 62 62 } 63 63 else { … … 68 68 function startTest() 69 69 { 70 if (window. layoutTestController) {71 layoutTestController.dumpAsText();72 layoutTestController.waitUntilDone();70 if (window.testRunner) { 71 testRunner.dumpAsText(); 72 testRunner.waitUntilDone(); 73 73 } 74 74 -
trunk/LayoutTests/animations/animation-iteration-event-destroy-renderer.html
r39059 r119985 18 18 </style> 19 19 <script type="text/javascript" charset="utf-8"> 20 if (window. layoutTestController) {21 layoutTestController.dumpAsText();22 layoutTestController.waitUntilDone();20 if (window.testRunner) { 21 testRunner.dumpAsText(); 22 testRunner.waitUntilDone(); 23 23 } 24 24 … … 33 33 document.getElementById('results').innerHTML = 'Did not crash, so PASSED'; 34 34 35 if (window. layoutTestController)36 layoutTestController.notifyDone();35 if (window.testRunner) 36 testRunner.notifyDone(); 37 37 } 38 38 } -
trunk/LayoutTests/animations/animation-matrix-negative-scale-unmatrix.html
r93150 r119985 23 23 </style> 24 24 <script type="text/javascript" charset="utf-8"> 25 if (window. layoutTestController) {26 layoutTestController.dumpAsText();27 layoutTestController.waitUntilDone();25 if (window.testRunner) { 26 testRunner.dumpAsText(); 27 testRunner.waitUntilDone(); 28 28 } 29 29 … … 40 40 41 41 document.getElementById('result').innerHTML = result; 42 if (window. layoutTestController)43 layoutTestController.notifyDone();42 if (window.testRunner) 43 testRunner.notifyDone(); 44 44 } 45 45 -
trunk/LayoutTests/animations/animation-on-inline-crash.html
r74007 r119985 10 10 </style> 11 11 <script type="text/javascript" charset="utf-8"> 12 if (window. layoutTestController) {13 layoutTestController.dumpAsText();14 layoutTestController.waitUntilDone();12 if (window.testRunner) { 13 testRunner.dumpAsText(); 14 testRunner.waitUntilDone(); 15 15 } 16 16 … … 18 18 { 19 19 window.setTimeout(function() { 20 if (window. layoutTestController)21 layoutTestController.notifyDone();20 if (window.testRunner) 21 testRunner.notifyDone(); 22 22 }, 50); 23 23 } -
trunk/LayoutTests/animations/animation-shorthand-overriding.html
r109610 r119985 30 30 </style> 31 31 <script type="text/javascript" charset="utf-8"> 32 if (window. layoutTestController)33 layoutTestController.dumpAsText();32 if (window.testRunner) 33 testRunner.dumpAsText(); 34 34 35 35 const kProperties = [ -
trunk/LayoutTests/animations/animation-shorthand-removed.html
r59111 r119985 12 12 </style> 13 13 <script type="text/javascript" charset="utf-8"> 14 if (window. layoutTestController) {15 layoutTestController.dumpAsText();16 layoutTestController.waitUntilDone();14 if (window.testRunner) { 15 testRunner.dumpAsText(); 16 testRunner.waitUntilDone(); 17 17 } 18 18 … … 91 91 var results = document.getElementById('result'); 92 92 results.innerHTML = resultsString; 93 if (window. layoutTestController)94 layoutTestController.notifyDone();93 if (window.testRunner) 94 testRunner.notifyDone(); 95 95 } 96 96 -
trunk/LayoutTests/animations/animation-shorthand.html
r67032 r119985 42 42 </style> 43 43 <script type="text/javascript" charset="utf-8"> 44 if (window. layoutTestController)45 layoutTestController.dumpAsText();44 if (window.testRunner) 45 testRunner.dumpAsText(); 46 46 47 47 const kProperties = [ -
trunk/LayoutTests/animations/animation-start-event-destroy-renderer.html
r39059 r119985 17 17 </style> 18 18 <script type="text/javascript" charset="utf-8"> 19 if (window. layoutTestController) {20 layoutTestController.dumpAsText();21 layoutTestController.waitUntilDone();19 if (window.testRunner) { 20 testRunner.dumpAsText(); 21 testRunner.waitUntilDone(); 22 22 } 23 23 … … 32 32 document.getElementById('results').innerHTML = 'Did not crash, so PASSED'; 33 33 34 if (window. layoutTestController)35 layoutTestController.notifyDone();34 if (window.testRunner) 35 testRunner.notifyDone(); 36 36 } 37 37 } -
trunk/LayoutTests/animations/animation-welcome-safari.html
r111639 r119985 95 95 96 96 <script type="text/javascript" charset="utf-8"> 97 if (window. layoutTestController) {98 layoutTestController.dumpAsText();99 layoutTestController.waitUntilDone();97 if (window.testRunner) { 98 testRunner.dumpAsText(); 99 testRunner.waitUntilDone(); 100 100 } 101 101 … … 117 117 118 118 document.addEventListener("webkitAnimationEnd", function(event) { 119 if (window. layoutTestController)120 layoutTestController.notifyDone();119 if (window.testRunner) 120 testRunner.notifyDone(); 121 121 }, false); 122 122 -
trunk/LayoutTests/animations/body-removal-crash.html
r81613 r119985 40 40 document.getElementById("b").parentNode.insertBefore(element, document.getElementById("b").nextSibling); 41 41 42 if (window. layoutTestController)43 layoutTestController.notifyDone();42 if (window.testRunner) 43 testRunner.notifyDone(); 44 44 } 45 45 46 if (window. layoutTestController) {47 layoutTestController.dumpAsText();48 layoutTestController.waitUntilDone();46 if (window.testRunner) { 47 testRunner.dumpAsText(); 48 testRunner.waitUntilDone(); 49 49 } 50 50 -
trunk/LayoutTests/animations/change-keyframes-name.html
r84872 r119985 58 58 function setup() 59 59 { 60 if (window. layoutTestController) {61 layoutTestController.dumpAsText();62 layoutTestController.waitUntilDone();63 if ( layoutTestController.pauseAnimationAtTimeOnElementWithId("bar", 0.5, "box"))60 if (window.testRunner) { 61 testRunner.dumpAsText(); 62 testRunner.waitUntilDone(); 63 if (testRunner.pauseAnimationAtTimeOnElementWithId("bar", 0.5, "box")) 64 64 document.getElementById("pre-result").innerHTML = "FAIL: animation is running"; 65 65 else -
trunk/LayoutTests/animations/change-transform-style-during-animation.html
r116786 r119985 38 38 <script src="resources/animation-test-helpers.js"></script> 39 39 <script> 40 if (window. layoutTestController) {41 layoutTestController.dumpAsText();42 layoutTestController.waitUntilDone();40 if (window.testRunner) { 41 testRunner.dumpAsText(); 42 testRunner.waitUntilDone(); 43 43 } 44 44 … … 55 55 } 56 56 document.getElementById('result').innerHTML = result; 57 layoutTestController.notifyDone();57 testRunner.notifyDone(); 58 58 } 59 59 -
trunk/LayoutTests/animations/combo-transform-translate+scale.html
r53502 r119985 21 21 </style> 22 22 <script type="text/javascript" charset="utf-8"> 23 if (window. layoutTestController) {24 layoutTestController.dumpAsText();25 layoutTestController.waitUntilDone();23 if (window.testRunner) { 24 testRunner.dumpAsText(); 25 testRunner.waitUntilDone(); 26 26 } 27 27 … … 52 52 if (numSnapshots == 2) { 53 53 document.getElementById('result').innerHTML = result || "PASS"; 54 if (window. layoutTestController)55 layoutTestController.notifyDone();54 if (window.testRunner) 55 testRunner.notifyDone(); 56 56 } 57 57 } -
trunk/LayoutTests/animations/empty-keyframes.html
r38776 r119985 19 19 </style> 20 20 <script type="text/javascript" charset="utf-8"> 21 if (window. layoutTestController)22 layoutTestController.dumpAsText();21 if (window.testRunner) 22 testRunner.dumpAsText(); 23 23 </script> 24 24 </head> -
trunk/LayoutTests/animations/fill-mode-forwards.html
r117216 r119985 2 2 <head> 3 3 <script> 4 if (window. layoutTestController) {5 layoutTestController.dumpAsText();6 layoutTestController.waitUntilDone();4 if (window.testRunner) { 5 testRunner.dumpAsText(); 6 testRunner.waitUntilDone(); 7 7 } 8 8 … … 27 27 result.innerHTML = "PASS - Test working"; 28 28 29 if (window. layoutTestController)30 layoutTestController.notifyDone();29 if (window.testRunner) 30 testRunner.notifyDone(); 31 31 } 32 32 } -
trunk/LayoutTests/animations/fill-mode-iteration-count-non-integer.html
r110588 r119985 62 62 var result = ""; 63 63 64 if (window. layoutTestController) {65 layoutTestController.dumpAsText();66 layoutTestController.waitUntilDone();64 if (window.testRunner) { 65 testRunner.dumpAsText(); 66 testRunner.waitUntilDone(); 67 67 } 68 68 … … 89 89 document.getElementById('result').innerHTML = result; 90 90 91 if (window. layoutTestController)92 layoutTestController.notifyDone();91 if (window.testRunner) 92 testRunner.notifyDone(); 93 93 } 94 94 -
trunk/LayoutTests/animations/fill-mode-missing-from-to-keyframes.html
r67098 r119985 104 104 var result = ""; 105 105 106 if (window. layoutTestController) {107 layoutTestController.dumpAsText();108 layoutTestController.waitUntilDone();106 if (window.testRunner) { 107 testRunner.dumpAsText(); 108 testRunner.waitUntilDone(); 109 109 } 110 110 … … 131 131 document.getElementById('result').innerHTML = result; 132 132 133 if (window. layoutTestController)134 layoutTestController.notifyDone();133 if (window.testRunner) 134 testRunner.notifyDone(); 135 135 } 136 136 -
trunk/LayoutTests/animations/fill-mode-multiple-keyframes.html
r67098 r119985 77 77 var result = ""; 78 78 79 if (window. layoutTestController) {80 layoutTestController.dumpAsText();81 layoutTestController.waitUntilDone();79 if (window.testRunner) { 80 testRunner.dumpAsText(); 81 testRunner.waitUntilDone(); 82 82 } 83 83 … … 104 104 document.getElementById('result').innerHTML = result; 105 105 106 if (window. layoutTestController)107 layoutTestController.notifyDone();106 if (window.testRunner) 107 testRunner.notifyDone(); 108 108 } 109 109 -
trunk/LayoutTests/animations/fill-mode-removed.html
r55576 r119985 49 49 ]; 50 50 51 if (window. layoutTestController) {52 layoutTestController.dumpAsText();53 layoutTestController.waitUntilDone();51 if (window.testRunner) { 52 testRunner.dumpAsText(); 53 testRunner.waitUntilDone(); 54 54 } 55 55 … … 78 78 document.getElementById('result').innerHTML = result; 79 79 80 if (window. layoutTestController)81 layoutTestController.notifyDone();80 if (window.testRunner) 81 testRunner.notifyDone(); 82 82 } 83 83 -
trunk/LayoutTests/animations/fill-mode-reverse.html
r107162 r119985 59 59 var result = ""; 60 60 61 if (window. layoutTestController) {62 layoutTestController.dumpAsText();63 layoutTestController.waitUntilDone();61 if (window.testRunner) { 62 testRunner.dumpAsText(); 63 testRunner.waitUntilDone(); 64 64 } 65 65 … … 86 86 document.getElementById('result').innerHTML = result; 87 87 88 if (window. layoutTestController)89 layoutTestController.notifyDone();88 if (window.testRunner) 89 testRunner.notifyDone(); 90 90 } 91 91 -
trunk/LayoutTests/animations/fill-mode-transform.html
r55601 r119985 59 59 var result = ""; 60 60 61 if (window. layoutTestController) {62 layoutTestController.dumpAsText();63 layoutTestController.waitUntilDone();61 if (window.testRunner) { 62 testRunner.dumpAsText(); 63 testRunner.waitUntilDone(); 64 64 } 65 65 … … 87 87 document.getElementById('result').innerHTML = result; 88 88 89 if (window. layoutTestController)90 layoutTestController.notifyDone();89 if (window.testRunner) 90 testRunner.notifyDone(); 91 91 } 92 92 -
trunk/LayoutTests/animations/fill-mode.html
r55576 r119985 58 58 var result = ""; 59 59 60 if (window. layoutTestController) {61 layoutTestController.dumpAsText();62 layoutTestController.waitUntilDone();60 if (window.testRunner) { 61 testRunner.dumpAsText(); 62 testRunner.waitUntilDone(); 63 63 } 64 64 … … 85 85 document.getElementById('result').innerHTML = result; 86 86 87 if (window. layoutTestController)88 layoutTestController.notifyDone();87 if (window.testRunner) 88 testRunner.notifyDone(); 89 89 } 90 90 -
trunk/LayoutTests/animations/fill-unset-properties.html
r67032 r119985 23 23 </style> 24 24 <script type="text/javascript" charset="utf-8"> 25 if (window. layoutTestController)26 layoutTestController.dumpAsText();25 if (window.testRunner) 26 testRunner.dumpAsText(); 27 27 28 28 const kExpectedResults = [ -
trunk/LayoutTests/animations/font-size-using-ems.html-disabled
r37513 r119985 29 29 </style> 30 30 <script type="text/javascript" charset="utf-8"> 31 if (window. layoutTestController) {32 layoutTestController.dumpAsText();33 layoutTestController.waitUntilDone();31 if (window.testRunner) { 32 testRunner.dumpAsText(); 33 testRunner.waitUntilDone(); 34 34 } 35 35 … … 62 62 window.setTimeout(function() { 63 63 document.getElementById('result').innerHTML = result; 64 if (window. layoutTestController)65 layoutTestController.notifyDone();64 if (window.testRunner) 65 testRunner.notifyDone(); 66 66 }, 400); 67 67 } -
trunk/LayoutTests/animations/import-crash.html
r37073 r119985 21 21 </style> 22 22 <script type="text/javascript" charset="utf-8"> 23 if (window. layoutTestController)24 layoutTestController.dumpAsText();23 if (window.testRunner) 24 testRunner.dumpAsText(); 25 25 </script> 26 26 </head> -
trunk/LayoutTests/animations/keyframes-iteration-count-non-integer.html
r110588 r119985 31 31 <script type="text/javascript" charset="utf-8"> 32 32 33 if (window. layoutTestController) {34 layoutTestController.dumpAsText();35 layoutTestController.waitUntilDone();33 if (window.testRunner) { 34 testRunner.dumpAsText(); 35 testRunner.waitUntilDone(); 36 36 } 37 37 … … 44 44 document.getElementById('result').innerHTML = result; 45 45 46 if (window. layoutTestController)47 layoutTestController.notifyDone();46 if (window.testRunner) 47 testRunner.notifyDone(); 48 48 }, false); 49 49 -
trunk/LayoutTests/animations/longhand-timing-function.html
r84872 r119985 27 27 <script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script> 28 28 <script type="text/javascript" charset="utf-8"> 29 if (window. layoutTestController)30 layoutTestController.waitUntilDone();29 if (window.testRunner) 30 testRunner.waitUntilDone(); 31 31 32 32 const expectedValues = [ -
trunk/LayoutTests/animations/missing-from-to-transforms.html
r84872 r119985 90 90 91 91 runAnimationTest(expectedValues, function() { 92 if (window. layoutTestController) {93 if ( layoutTestController.pauseAnimationAtTimeOnElementWithId("anim5", 0.1, "box5"))92 if (window.testRunner) { 93 if (testRunner.pauseAnimationAtTimeOnElementWithId("anim5", 0.1, "box5")) 94 94 result += "FAIL - box5 animation was running<br>"; 95 95 else -
trunk/LayoutTests/animations/missing-from-to.html
r84872 r119985 89 89 90 90 runAnimationTest(expectedValues, function() { 91 if (window. layoutTestController) {92 if ( layoutTestController.pauseAnimationAtTimeOnElementWithId("anim5", 0.1, "box5"))91 if (window.testRunner) { 92 if (testRunner.pauseAnimationAtTimeOnElementWithId("anim5", 0.1, "box5")) 93 93 result += "FAIL - box5 animation was running<br>"; 94 94 else -
trunk/LayoutTests/animations/pause-crash.html
r94471 r119985 19 19 </style> 20 20 <script type="text/javascript" charset="utf-8"> 21 if (window. layoutTestController) {22 layoutTestController.dumpAsText();23 layoutTestController.waitUntilDone();21 if (window.testRunner) { 22 testRunner.dumpAsText(); 23 testRunner.waitUntilDone(); 24 24 } 25 25 … … 32 32 setTimeout(function() { 33 33 document.getElementById('results').innerHTML = 'Did not crash, so PASSED'; 34 if (window. layoutTestController)35 layoutTestController.notifyDone();34 if (window.testRunner) 35 testRunner.notifyDone(); 36 36 }, 50); 37 37 }, 50); -
trunk/LayoutTests/animations/resources/animation-test-helpers.js
r115540 r119985 156 156 } 157 157 158 if (animationName && hasPauseAnimationAPI && ! layoutTestController.pauseAnimationAtTimeOnElementWithId(animationName, time, elementId)) {158 if (animationName && hasPauseAnimationAPI && !testRunner.pauseAnimationAtTimeOnElementWithId(animationName, time, elementId)) { 159 159 result += "FAIL - animation \"" + animationName + "\" is not running" + "<br>"; 160 160 return; 161 161 } 162 162 163 if (compareElements && !element2Static && animationName && hasPauseAnimationAPI && ! layoutTestController.pauseAnimationAtTimeOnElementWithId(animationName, time, elementId2)) {163 if (compareElements && !element2Static && animationName && hasPauseAnimationAPI && !testRunner.pauseAnimationAtTimeOnElementWithId(animationName, time, elementId2)) { 164 164 result += "FAIL - animation \"" + animationName + "\" is not running" + "<br>"; 165 165 return; … … 273 273 document.getElementById('result').innerHTML = result; 274 274 275 if (window. layoutTestController)276 layoutTestController.notifyDone();275 if (window.testRunner) 276 testRunner.notifyDone(); 277 277 } 278 278 … … 320 320 function runAnimationTest(expected, callback, event, disablePauseAnimationAPI, doPixelTest) 321 321 { 322 hasPauseAnimationAPI = (' layoutTestController' in window) && ('pauseAnimationAtTimeOnElementWithId' in layoutTestController);322 hasPauseAnimationAPI = ('testRunner' in window) && ('pauseAnimationAtTimeOnElementWithId' in testRunner); 323 323 if (disablePauseAnimationAPI) 324 324 hasPauseAnimationAPI = false; 325 325 326 if (window. layoutTestController) {326 if (window.testRunner) { 327 327 if (!doPixelTest) 328 layoutTestController.dumpAsText();329 layoutTestController.waitUntilDone();328 testRunner.dumpAsText(); 329 testRunner.waitUntilDone(); 330 330 } 331 331 -
trunk/LayoutTests/animations/state-at-end-event.html
r84873 r119985 37 37 function testEnded() 38 38 { 39 if (window. layoutTestController)40 layoutTestController.notifyDone();39 if (window.testRunner) 40 testRunner.notifyDone(); 41 41 } 42 42 43 43 function startTest() 44 44 { 45 if (window. layoutTestController)46 layoutTestController.waitUntilDone();45 if (window.testRunner) 46 testRunner.waitUntilDone(); 47 47 48 48 document.getElementById('tester').addEventListener('webkitAnimationEnd', testEnded, false); -
trunk/LayoutTests/animations/suspend-resume-animation-events.html
r116729 r119985 43 43 function startTest() 44 44 { 45 if (window. layoutTestController) {46 layoutTestController.dumpAsText();47 layoutTestController.waitUntilDone();45 if (window.testRunner) { 46 testRunner.dumpAsText(); 47 testRunner.waitUntilDone(); 48 48 } 49 49 … … 52 52 setTimeout(function() 53 53 { 54 if (window. layoutTestController)55 layoutTestController.notifyDone();54 if (window.testRunner) 55 testRunner.notifyDone(); 56 56 }, 350); 57 57 } -
trunk/LayoutTests/animations/suspend-transform-animation.html
r116610 r119985 34 34 </style> 35 35 <script type="text/javascript" charset="utf-8"> 36 if (window. layoutTestController)37 layoutTestController.waitUntilDone();36 if (window.testRunner) 37 testRunner.waitUntilDone(); 38 38 39 39 function suspendAndWaitForCompletion() … … 43 43 44 44 window.setTimeout(function() { 45 if (window. layoutTestController)46 layoutTestController.notifyDone();45 if (window.testRunner) 46 testRunner.notifyDone(); 47 47 }, 250); 48 48 } -
trunk/LayoutTests/animations/transition-and-animation-3.html
r84872 r119985 39 39 <script type="text/javascript" charset="utf-8"> 40 40 41 if (window. layoutTestController)42 layoutTestController.waitUntilDone();41 if (window.testRunner) 42 testRunner.waitUntilDone(); 43 43 44 44 const expectedValues = [ -
trunk/LayoutTests/animations/unanimated-style.html
r84872 r119985 32 32 <script type="text/javascript" charset="utf-8"> 33 33 34 if (window. layoutTestController)35 layoutTestController.waitUntilDone();34 if (window.testRunner) 35 testRunner.waitUntilDone(); 36 36 37 37 const expectedValues = [
Note: See TracChangeset
for help on using the changeset viewer.