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

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, 7 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 a6e97ab8d8ea5e2ca7ea438042f476317f7db26c..39e673a8f9e321e9245e50929dc7e5c6069dce78 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.cssText + '"' :
+ invalidObject;
test(function() {
assert_throws(new TypeError(), function() {
element.styleMap.set(propertyName, invalidObject);

Powered by Google App Engine
This is Rietveld 408576698