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 |