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

Unified Diff: third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html

Issue 2938543003: Remove almost all Javascript calls to setColorProfile (Closed)
Patch Set: Created 3 years, 6 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/images/color-profile-animate-rotate.html
diff --git a/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html b/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html
index 740df052adb9e2d333f47f541ec3ba8aae9f8e84..4e71e93491ff07e4c1eb1966e3754dce959e5c36 100644
--- a/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html
+++ b/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html
@@ -15,10 +15,6 @@
<script>
function rotate(element) {
- if (window.testRunner)
- setTimeout(function() { testRunner.setColorProfile('sRGB', new Function()) }, 0);
-
- element.addEventListener('animationstart', start, false);
element.addEventListener('animationend', end, false);
if (window.testRunner)
@@ -27,11 +23,6 @@ function rotate(element) {
element.style.cssText += 'animation: rotate linear 4s';
}
-function start(event) {
- if (window.testRunner)
- setTimeout(function() { testRunner.setColorProfile('colorSpin', new Function()) }, 100);
ccameron 2017/06/13 05:19:21 Sort-of-reassured to see these "wait 100 msec and
-}
-
function end(event) {
if (window.testRunner)
setTimeout(function() { testRunner.notifyDone() }, 0);

Powered by Google App Engine
This is Rietveld 408576698