Index: LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt |
diff --git a/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt b/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..128e067714a62aa92ed6f9b84be7576426509f67 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLElement/contextmenu-expected.txt |
@@ -0,0 +1,25 @@ |
+Tests the contextmenu attribute. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+Test with valid contextmenu attribute |
+PASS document.getElementById('container1').contextMenu.id is 'menu1' |
+PASS document.getElementById('container1').contextMenu.type is 'popup' |
+PASS document.getElementById('container1').contextMenu.label is 'menu 1' |
+Test with invalid contextmenu attribute |
+PASS document.getElementById('container2').contextMenu is null |
+Test setting contextmenu attribute |
+PASS container3.contextMenu.id is 'menu3' |
+PASS container3.contextMenu.type is 'popup' |
+PASS container3.contextMenu.label is 'menu 3' |
+Test setting contextmenu attribute with menu element without id |
+PASS container4.contextMenu is null |
+Test setting contextmenu attribute with multiple menu element with same id |
+PASS container5.contextMenu.id is 'menu5' |
+PASS container5.contextMenu.type is 'popup' |
+PASS container5.contextMenu.label is 'menu 5' |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |