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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/custom-constructors.html

Issue 2846523002: Update the stringifier behavior for DOMMatrixReadOnly (Closed)
Patch Set: Update the stringifier behavior for DOMMatrixReadOnly 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/fast/dom/Window/custom-constructors.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/custom-constructors.html b/third_party/WebKit/LayoutTests/fast/dom/Window/custom-constructors.html
index cb07098f76f0e63c5e4ac6f5ba624b0b9d865b35..b18f462138c8d068e1fb8ac66d7a9f25b2606c40 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/custom-constructors.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/custom-constructors.html
@@ -14,8 +14,8 @@
shouldBe("Audio.prototype.toString.call(new Audio)", "'[object HTMLAudioElement]'");
shouldBe("Image.prototype.toString.call(new Image)", "'[object HTMLImageElement]'");
shouldBe("Option.prototype.toString.call(new Option)", "'[object HTMLOptionElement]'");
- shouldBe("WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix)", "'matrix(1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)'");
- shouldBe("WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix())", "'matrix(1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000)'");
+ shouldBe("WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix)", "'matrix(1, 0, 0, 1, 0, 0)'");
+ shouldBe("WebKitCSSMatrix.prototype.toString.call(new WebKitCSSMatrix())", "'matrix(1, 0, 0, 1, 0, 0)'");
shouldThrow("new WebKitCSSMatrix(null)");
shouldThrow("new WebKitCSSMatrix(undefined)");
shouldBe("XMLHttpRequest.prototype.toString.call(new XMLHttpRequest)", "'[object XMLHttpRequest]'");

Powered by Google App Engine
This is Rietveld 408576698