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

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: Minor rebase nits. Created 7 years, 5 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..7a9c0dc4361938b092bc2e6c68a1543ee317638c 100644
--- a/LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt
+++ b/LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt
@@ -5,14 +5,16 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS new CustomEvent('eventType').bubbles is false
PASS new CustomEvent('eventType').cancelable is false
-FAIL new CustomEvent('eventType').detail should be null (of type object). Was undefined (of type undefined).
+PASS new CustomEvent('eventType').detail is null
PASS new CustomEvent('eventType', { bubbles: true, cancelable: true }).bubbles is true
PASS new CustomEvent('eventType', { bubbles: true, cancelable: true }).cancelable is true
-FAIL new CustomEvent('eventType', { bubbles: true, cancelable: true }).detail should be null (of type object). Was undefined (of type undefined).
+PASS new CustomEvent('eventType', { bubbles: true, cancelable: true }).detail is null
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
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
« no previous file with comments | « LayoutTests/fast/events/constructors/custom-event-constructor.html ('k') | LayoutTests/fast/events/event-isolated-world.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698