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

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

Issue 1203943002: HTMLOptionElement constructor arguments default values are not per spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 This test checks construction of objects with custom constructors. 1 This test checks construction of objects with custom constructors.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS new Image() is non-null. 6 PASS new Image() is non-null.
7 PASS new Image().tagName is "IMG" 7 PASS new Image().tagName is "IMG"
8 PASS new Image().height is 0 8 PASS new Image().height is 0
9 PASS new Image().width is 0 9 PASS new Image().width is 0
10 PASS new Image(0).width is 0 10 PASS new Image(0).width is 0
(...skipping 16 matching lines...) Expand all
27 PASS new Option(null).innerText is "null" 27 PASS new Option(null).innerText is "null"
28 PASS new Option(undefined).innerText is "" 28 PASS new Option(undefined).innerText is ""
29 PASS new Option('somedata').innerText is "somedata" 29 PASS new Option('somedata').innerText is "somedata"
30 PASS new Option().value is "" 30 PASS new Option().value is ""
31 PASS new Option('somedata', null).value is "null" 31 PASS new Option('somedata', null).value is "null"
32 PASS new Option('somedata', undefined).value is "somedata" 32 PASS new Option('somedata', undefined).value is "somedata"
33 PASS new Option('somedata', 'somevalue').value is "somevalue" 33 PASS new Option('somedata', 'somevalue').value is "somevalue"
34 PASS new Option().defaultSelected is false 34 PASS new Option().defaultSelected is false
35 PASS new Option('somedata', 'somevalue').defaultSelected is false 35 PASS new Option('somedata', 'somevalue').defaultSelected is false
36 PASS new Option('somedata', 'somevalue', false).defaultSelected is false 36 PASS new Option('somedata', 'somevalue', false).defaultSelected is false
37 PASS new Option('somedata', 'somevalue', false, false).defaultSelected is false
37 PASS new Option('somedata', 'somevalue', true).defaultSelected is true 38 PASS new Option('somedata', 'somevalue', true).defaultSelected is true
39 PASS new Option('somedata', 'somevalue', true, false).defaultSelected is true
40 PASS new Option('somedata', 'somevalue', true, true).defaultSelected is true
38 PASS new Option().selected is false 41 PASS new Option().selected is false
39 PASS new Option('somedata', 'somevalue').selected is false 42 PASS new Option('somedata', 'somevalue').selected is false
40 PASS new Option('somedata', 'somevalue', false).selected is false 43 PASS new Option('somedata', 'somevalue', false).selected is false
41 PASS new Option('somedata', 'somevalue', true).selected is false 44 PASS new Option('somedata', 'somevalue', true).selected is false
42 PASS new Option('somedata', 'somevalue', true, false).selected is false 45 PASS new Option('somedata', 'somevalue', true, false).selected is false
43 PASS new Option('somedata', 'somevalue', true, true).selected is true 46 PASS new Option('somedata', 'somevalue', true, true).selected is true
44 PASS new Option().outerHTML is "<option></option>" 47 PASS new Option().outerHTML is "<option></option>"
45 PASS new Option('somedata', 'somevalue', false).outerHTML.replace(/"/g,"'") is " <option value='somevalue'>somedata</option>" 48 PASS new Option('somedata', 'somevalue', false).outerHTML.replace(/"/g,"'") is " <option value='somevalue'>somedata</option>"
46 PASS new Option('somedata', 'somevalue', true).outerHTML.replace(/"/g,"'") is "< option value='somevalue' selected=''>somedata</option>" 49 PASS new Option('somedata', 'somevalue', true).outerHTML.replace(/"/g,"'") is "< option value='somevalue' selected=''>somedata</option>"
47 PASS new Audio() is non-null. 50 PASS new Audio() is non-null.
48 PASS new Audio().tagName is "AUDIO" 51 PASS new Audio().tagName is "AUDIO"
49 PASS new Audio().src is "" 52 PASS new Audio().src is ""
50 PASS new Audio().preload is "auto" 53 PASS new Audio().preload is "auto"
51 PASS new Audio('http://127.0.0.1/someurl').src is "http://127.0.0.1/someurl" 54 PASS new Audio('http://127.0.0.1/someurl').src is "http://127.0.0.1/someurl"
52 PASS new Audio('http://127.0.0.1/someurl').preload is "auto" 55 PASS new Audio('http://127.0.0.1/someurl').preload is "auto"
53 PASS successfullyParsed is true 56 PASS successfullyParsed is true
54 57
55 TEST COMPLETE 58 TEST COMPLETE
56 59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698