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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-events-prefixed-04.html

Issue 2970883003: Separate out animations tests with prefixing (Closed)
Patch Set: Rebaseline virtual/threaded version of test too Created 3 years, 5 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: third_party/WebKit/LayoutTests/animations/animation-events-prefixed-04.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-events-prefixed-04.html b/third_party/WebKit/LayoutTests/animations/animation-events-prefixed-04.html
deleted file mode 100644
index 0e1913cee30224edd513959d0893957c2e2d6cf8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/animation-events-prefixed-04.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Tests that custom events with prefixed animations names are correctly dispatched.</title>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- document.addEventListener('animationstart', function(e) {
- document.getElementById('result').innerHTML += 'FAIL: animationstart event listener should not have been called.<br>';
- }, false);
-
- document.addEventListener('webkitAnimationStart', function(e) {
- document.getElementById('result').innerHTML += 'PASS: webkitAnimationStart event listener has been called.<br>';
- }, false);
-
- document.addEventListener('animationiteration', function(e) {
- document.getElementById('result').innerHTML += 'FAIL: animationiteration event listener should not have been called.<br>';
- }, false);
-
- document.addEventListener('webkitAnimationIteration', function(e) {
- document.getElementById('result').innerHTML += 'PASS: webkitAnimationIteration event listener has been called.<br>';
- }, false);
-
- document.addEventListener('animationend', function(e) {
- document.getElementById('result').innerHTML += 'FAIL: animationend event listener should not have been called.';
- if (window.testRunner)
- testRunner.notifyDone();
- }, false);
-
- document.addEventListener('webkitAnimationEnd', function(e) {
- document.getElementById('result').innerHTML += 'PASS: webkitAnimationEnd event has been called.';
- if (window.testRunner)
- testRunner.notifyDone();
- }, false);
-
- </script>
-</head>
-<body>
-Tests that custom events with prefixed animations names are correctly dispatched.
-<pre id="result"></pre>
-</body>
-<script>
- var custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('webkitAnimationStart', true, true, null);
- document.dispatchEvent(custom);
- custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('webkitAnimationIteration', true, true, null);
- document.dispatchEvent(custom);
- custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('webkitAnimationEnd', true, true, null);
- document.dispatchEvent(custom);
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698