summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/html/eventhandler-attribute-non-callable-expected.txt
blob: e53674cdc69fb3ffae182af3f28f9534ec1e0d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 o
PASS callbackCount is 1
PASS div.onkeydown = callback did not throw exception.
PASS div.onkeydown is callback
PASS div.onkeydown = "non-object" did not throw exception.
PASS div.onkeydown is null
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