Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Side by Side Diff: LayoutTests/fast/html/eventhandler-attribute-non-callable-expected.txt

Issue 1076783002: Support non-function object values assigned to EventHandler attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: drop (now) pointless assert Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This test checks that EventHandler attributes only accept JS functions as input. 1 This test checks that EventHandler attributes only accept JS functions as input.
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 div.onkeydown is null 6 PASS div.onkeydown is null
7 PASS div.onkeydown = callback did not throw exception. 7 PASS div.onkeydown = callback did not throw exception.
8 PASS div.onkeydown is callback 8 PASS div.onkeydown is callback
9 PASS callbackCount is 0 9 PASS callbackCount is 0
10 PASS callbackCount is 1 10 PASS callbackCount is 1
11 PASS div.onkeydown is not null 11 PASS div.onkeydown is not null
12 PASS div.onkeydown = o did not throw exception. 12 PASS div.onkeydown = o did not throw exception.
13 PASS div.onkeydown is o
14 PASS callbackCount is 1
15 PASS div.onkeydown = callback did not throw exception.
16 PASS div.onkeydown is callback
17 PASS div.onkeydown = "non-object" did not throw exception.
13 PASS div.onkeydown is null 18 PASS div.onkeydown is null
14 PASS callbackCount is 1
15 PASS div.onkeydown = callback did not throw exception. 19 PASS div.onkeydown = callback did not throw exception.
16 PASS div.onkeydown is callback 20 PASS div.onkeydown is callback
17 PASS div.onkeydown = null did not throw exception. 21 PASS div.onkeydown = null did not throw exception.
18 PASS div.onkeydown is null 22 PASS div.onkeydown is null
19 PASS successfullyParsed is true 23 PASS successfullyParsed is true
20 24
21 TEST COMPLETE 25 TEST COMPLETE
22 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698