OLD | NEW |
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 Loading... |
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 |
OLD | NEW |