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

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

Issue 1355263002: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@urlThing161644
Patch Set: Created 5 years, 3 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: LayoutTests/resources/js-test.js
diff --git a/LayoutTests/resources/js-test.js b/LayoutTests/resources/js-test.js
index ba1d8acddd5a9f64898389d1ea286d6425746baf..6c81b2a36b8175b14d0dc3cd1f47ad99f240f880 100644
--- a/LayoutTests/resources/js-test.js
+++ b/LayoutTests/resources/js-test.js
@@ -263,8 +263,9 @@ function shouldBe(_a, _b, quiet, opt_tolerance)
if (!quiet) {
testPassed(_a + " is " + _b);
}
- } else if (typeof(_av) == typeof(_bv))
+ } else if (typeof(_av) == typeof(_bv)){
testFailed(_a + " should be " + _bv + ". Was " + stringify(_av) + ".");
+ }
else
testFailed(_a + " should be " + _bv + " (of type " + typeof _bv + "). Was " + _av + " (of type " + typeof _av + ").");
}
« no previous file with comments | « LayoutTests/inspector/elements/styles-2/inject-stylesheet-expected.txt ('k') | Source/core/css/CSSImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698