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

Unified Diff: LayoutTests/fast/js/custom-constructors-expected.txt

Issue 839733003: Image() constructor's arguments should not have default values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/fast/js/script-tests/custom-constructors.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/custom-constructors-expected.txt
diff --git a/LayoutTests/fast/js/custom-constructors-expected.txt b/LayoutTests/fast/js/custom-constructors-expected.txt
index 3526a750bca9390cada58459477c3450e17c67fb..8a63cfb8acaed2fcd72adc243e8442c828f9f9fe 100644
--- a/LayoutTests/fast/js/custom-constructors-expected.txt
+++ b/LayoutTests/fast/js/custom-constructors-expected.txt
@@ -7,10 +7,18 @@ PASS new Image() is non-null.
PASS new Image().tagName is "IMG"
PASS new Image().height is 0
PASS new Image().width is 0
+PASS new Image(0).width is 0
+PASS new Image(0, 0).height is 0
PASS new Image(100).width is 100
PASS new Image(100, 200).height is 200
PASS new Image(-100).width is -100
PASS new Image(-100, -200).height is -200
+PASS new Image().hasAttribute('height') is false
+PASS new Image().hasAttribute('width') is false
+PASS new Image(0).hasAttribute('height') is false
+PASS new Image(0).hasAttribute('width') is true
+PASS new Image(0, 0).hasAttribute('height') is true
+PASS new Image(0, 0).hasAttribute('width') is true
PASS new Image().outerHTML is "<img>"
PASS new Image(100, 100).outerHTML.replace(/"/g, "'") is "<img width='100' height='100'>"
PASS new Option() is non-null.
« no previous file with comments | « no previous file | LayoutTests/fast/js/script-tests/custom-constructors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698