| Index: chrome/test/data/webui/print_preview.js
|
| diff --git a/chrome/test/data/webui/print_preview.js b/chrome/test/data/webui/print_preview.js
|
| index 767082358a853c09fb502da8a827993b7a012b95..3282b3451504617e88513df27b25607782444162 100644
|
| --- a/chrome/test/data/webui/print_preview.js
|
| +++ b/chrome/test/data/webui/print_preview.js
|
| @@ -160,9 +160,9 @@ PrintPreviewWebUITest.prototype = {
|
| */
|
| waitForAnimationToEnd: function(elementId) {
|
| // add a listener for the animation end event
|
| - document.addEventListener('webkitAnimationEnd', function f(e) {
|
| + document.addEventListener('animationend', function f(e) {
|
| if (e.target.id == elementId) {
|
| - document.removeEventListener(f, 'webkitAnimationEnd');
|
| + document.removeEventListener(f, 'animationend');
|
| testDone();
|
| }
|
| });
|
|
|