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

Side by Side Diff: LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt

Issue 17063016: Remove leak of objects between isolated worlds on custom events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed some test failures, fixed some nits, and generalized the new events test. Created 7 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
OLDNEW
1 This tests the constructor for the CustomEvent DOM class. 1 This tests the constructor for the CustomEvent DOM class.
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 new CustomEvent('eventType').bubbles is false 6 PASS new CustomEvent('eventType').bubbles is false
7 PASS new CustomEvent('eventType').cancelable is false 7 PASS new CustomEvent('eventType').cancelable is false
8 FAIL new CustomEvent('eventType').detail should be null (of type object). Was un defined (of type undefined). 8 FAIL new CustomEvent('eventType').detail should be null (of type object). Was un defined (of type undefined).
9 PASS new CustomEvent('eventType', { bubbles: true, cancelable: true }).bubbles i s true 9 PASS new CustomEvent('eventType', { bubbles: true, cancelable: true }).bubbles i s true
10 PASS new CustomEvent('eventType', { bubbles: true, cancelable: true }).cancelabl e is true 10 PASS new CustomEvent('eventType', { bubbles: true, cancelable: true }).cancelabl e is true
11 FAIL new CustomEvent('eventType', { bubbles: true, cancelable: true }).detail sh ould be null (of type object). Was undefined (of type undefined). 11 FAIL new CustomEvent('eventType', { bubbles: true, cancelable: true }).detail sh ould be null (of type object). Was undefined (of type undefined).
12 PASS new CustomEvent('eventType', { detail: 10 }).detail is 10 12 PASS new CustomEvent('eventType', { detail: 10 }).detail is 10
13 PASS new CustomEvent('eventType', { detail: 'string' }).detail is 'string' 13 PASS new CustomEvent('eventType', { detail: 'string' }).detail is 'string'
14 PASS new CustomEvent('eventType', { detail: detailObject }).detail is detailObje ct 14 PASS new CustomEvent('eventType', { detail: detailObject }).detail is detailObje ct
15 PASS new CustomEvent('eventType', { detail: document }).detail is document 15 PASS new CustomEvent('eventType', { detail: document }).detail is document
16 PASS new CustomEvent('eventType', { detail: undefined }).detail is undefined
17 PASS new CustomEvent('eventType', { detail: null }).detail is null
haraken 2013/06/26 04:02:31 Would you add similar test cases for PopStateEvent
jww 2013/06/26 17:19:08 They already have similar test cases; I was just a
16 PASS new CustomEvent('eventType', { get detail() { return true; } }).detail is t rue 18 PASS new CustomEvent('eventType', { get detail() { return true; } }).detail is t rue
17 PASS new CustomEvent('eventType', { get detail() { throw 'Custom Error'; } }) th rew exception Custom Error. 19 PASS new CustomEvent('eventType', { get detail() { throw 'Custom Error'; } }) th rew exception Custom Error.
18 PASS successfullyParsed is true 20 PASS successfullyParsed is true
19 21
20 TEST COMPLETE 22 TEST COMPLETE
21 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698