Index: LayoutTests/fast/html/eventhandler-attribute-non-callable-expected.txt |
diff --git a/LayoutTests/fast/html/eventhandler-attribute-non-callable-expected.txt b/LayoutTests/fast/html/eventhandler-attribute-non-callable-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0c32176b905e13a8a6260aae38c5717456b91453 |
--- /dev/null |
+++ b/LayoutTests/fast/html/eventhandler-attribute-non-callable-expected.txt |
@@ -0,0 +1,22 @@ |
+This test checks that EventHandler attributes only accept JS functions as input. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS div.onkeydown is null |
+PASS div.onkeydown = callback did not throw exception. |
+PASS div.onkeydown is callback |
+PASS callbackCount is 0 |
+PASS callbackCount is 1 |
+PASS div.onkeydown is not null |
+PASS div.onkeydown = o did not throw exception. |
+PASS div.onkeydown is null |
+PASS callbackCount is 1 |
+PASS div.onkeydown = callback did not throw exception. |
+PASS div.onkeydown is callback |
+PASS div.onkeydown = null did not throw exception. |
+PASS div.onkeydown is null |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |