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

Side by Side Diff: LayoutTests/fast/dom/node-legacy-event-listener-expected.txt

Issue 329223004: [DeprecateAs] if call addEventListener or removeEventListener without enough arguments Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test update/simplification Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE WARNING: Omitting either of the first two arguments of 'EventTarget.addE ventListener' or 'EventTarget.removeEventListener' is deprecated, as these are r equired (http://dom.spec.whatwg.org/#interface-eventtarget).
1 Test addEventListener() and removeEventListener() fail silently if arguments are missing. 2 Test addEventListener() and removeEventListener() fail silently if arguments are missing.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 PASS document.addEventListener("foo") is undefined 7 PASS document.addEventListener("foo") is undefined
7 PASS document.removeEventListener("bar") is undefined 8 PASS document.removeEventListener("bar") is undefined
8 PASS document.addEventListener() is undefined 9 PASS document.addEventListener() is undefined
9 PASS document.removeEventListener() is undefined 10 PASS document.removeEventListener() is undefined
10 PASS successfullyParsed is true 11 PASS successfullyParsed is true
11 12
12 TEST COMPLETE 13 TEST COMPLETE
13 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698