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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt
diff --git a/LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt
index 88b90aacfe4f1225ae54d36af43f059a632c827d..9cff9ce5f96de51bf34a91a0a1c2cbb8d590a47b 100644
--- a/LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt
+++ b/LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt
@@ -13,6 +13,8 @@ PASS new CustomEvent('eventType', { detail: 10 }).detail is 10
PASS new CustomEvent('eventType', { detail: 'string' }).detail is 'string'
PASS new CustomEvent('eventType', { detail: detailObject }).detail is detailObject
PASS new CustomEvent('eventType', { detail: document }).detail is document
+PASS new CustomEvent('eventType', { detail: undefined }).detail is undefined
+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
PASS new CustomEvent('eventType', { get detail() { return true; } }).detail is true
PASS new CustomEvent('eventType', { get detail() { throw 'Custom Error'; } }) threw exception Custom Error.
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698