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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js

Issue 2903413002: Restructure type tracking in StyleValues to work better with new numeric types (Closed)
Patch Set: rebase 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/typedcssom/inlinestyle/properties/property-suite.js
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js
index f16c85d9b41e53acc44d3e351a6520c62891642b..e6dbe0eba0dc43a9e3272649a2296b1ce40f37fc 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/property-suite.js
@@ -103,7 +103,8 @@ function runSetterTests(
// Negative tests
for (let invalidObject of invalidObjects) {
let name = invalidObject instanceof CSSStyleValue ?
- invalidObject.constructor.name : invalidObject;
+ invalidObject.constructor.name + ' "' + invalidObject.toString() + '"' :
+ invalidObject;
test(function() {
assert_throws(new TypeError(), function() {
element.styleMap.set(propertyName, invalidObject);

Powered by Google App Engine
This is Rietveld 408576698