OLD | NEW |
1 Tests the contextmenu attribute. | 1 Tests the contextmenu attribute. |
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 Test with valid contextmenu attribute | 6 Test with valid contextmenu attribute |
7 PASS document.getElementById('container1').contextMenu.id is "menu1" | 7 PASS document.getElementById('container1').contextMenu.id is "menu1" |
8 PASS document.getElementById('container1').contextMenu.type is "popup" | 8 PASS document.getElementById('container1').contextMenu.type is "popup" |
9 PASS document.getElementById('container1').contextMenu.label is "menu 1" | 9 PASS document.getElementById('container1').contextMenu.label is "menu 1" |
10 Test with invalid contextmenu attribute | 10 Test with invalid contextmenu attribute |
(...skipping 27 matching lines...) Expand all Loading... |
38 Test setting contextmenu attribute to some text | 38 Test setting contextmenu attribute to some text |
39 PASS container7.contextMenu is null | 39 PASS container7.contextMenu is null |
40 Test setting contextmenu attribute to comment | 40 Test setting contextmenu attribute to comment |
41 PASS container8.contextMenu is null | 41 PASS container8.contextMenu is null |
42 Test setting contextmenu attribute to menu without type | 42 Test setting contextmenu attribute to menu without type |
43 PASS container9.contextMenu.id is "menu_without_type" | 43 PASS container9.contextMenu.id is "menu_without_type" |
44 PASS container9.contextMenu.type is "" | 44 PASS container9.contextMenu.type is "" |
45 PASS container9.contextMenu.label is "menu without type" | 45 PASS container9.contextMenu.label is "menu without type" |
46 Test setting contextmenu attribute to menu element which is in shadow dom | 46 Test setting contextmenu attribute to menu element which is in shadow dom |
47 PASS container10.contextMenu is null | 47 PASS container10.contextMenu is null |
| 48 Test contextmenu attribute of an element with no contextmenu attribute but paren
t has valid contextmenu |
| 49 PASS inner.contextMenu is null |
48 PASS successfullyParsed is true | 50 PASS successfullyParsed is true |
49 | 51 |
50 TEST COMPLETE | 52 TEST COMPLETE |
51 | 53 |
52 | 54 |
53 | 55 |
54 | 56 |
OLD | NEW |