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

Unified Diff: third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js

Issue 2490233002: Use unsigned longs in HTMLImageElement idl (Closed)
Patch Set: Fix compile error Created 4 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: third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js
diff --git a/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js b/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js
index e7c749ef3f1fe6ddf33a5c41d88fcc84a3426614..e27deb2cd88eff01d4411326eb06cceeb1a8b51f 100644
--- a/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js
+++ b/third_party/WebKit/LayoutTests/fast/js/script-tests/custom-constructors.js
@@ -12,8 +12,8 @@ shouldBe("new Image(0).width", "0");
shouldBe("new Image(0, 0).height", "0");
shouldBe("new Image(100).width", "100");
shouldBe("new Image(100, 200).height", "200");
-shouldBe("new Image(-100).width", "-100");
-shouldBe("new Image(-100, -200).height", "-200");
+shouldBe("new Image(-100).width", "0");
+shouldBe("new Image(-100, -200).height", "0");
shouldBe("new Image().hasAttribute('height')", "false");
shouldBe("new Image().hasAttribute('width')", "false");

Powered by Google App Engine
This is Rietveld 408576698