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

Unified Diff: LayoutTests/animations/interpolation/resources/interpolation-test.js

Issue 54293006: Add additional information to FAIL lines for animation interpolation tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 1 month 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/interpolation/resources/interpolation-test.js
diff --git a/LayoutTests/animations/interpolation/resources/interpolation-test.js b/LayoutTests/animations/interpolation/resources/interpolation-test.js
index 38ac0d2ad6c91e59acdc5ae29b486744c3cc0a8d..c56ccfacbc58b57125cb958e07ddefd22804d221 100644
--- a/LayoutTests/animations/interpolation/resources/interpolation-test.js
+++ b/LayoutTests/animations/interpolation/resources/interpolation-test.js
@@ -266,7 +266,8 @@
var parsedExpectation = getComputedStyle(replica).getPropertyValue(params.property);
var pass = normalizeValue(value) === normalizeValue(parsedExpectation);
result = pass ? 'PASS: ' : 'FAIL: ';
- reason = pass ? '' : ', expected [' + expectation + ']';
+ reason = pass ? '' : ', expected [' + expectation + ']' +
+ (expectation === parsedExpectation ? '' : ' (parsed as [' + sanitizeUrls(parsedExpectation) + '])');
value = pass ? expectation : sanitizeUrls(value);
}
return result + params.property + ' from [' + params.from + '] to ' +

Powered by Google App Engine
This is Rietveld 408576698