| Index: LayoutTests/fast/events/constructors/custom-event-constructor.html
|
| diff --git a/LayoutTests/fast/events/constructors/custom-event-constructor.html b/LayoutTests/fast/events/constructors/custom-event-constructor.html
|
| index be5547d8f7e375736323ed189dd48870e67e2186..75d882f2597cd72d6b9c1649ee2a41bf1592eed7 100644
|
| --- a/LayoutTests/fast/events/constructors/custom-event-constructor.html
|
| +++ b/LayoutTests/fast/events/constructors/custom-event-constructor.html
|
| @@ -31,6 +31,12 @@ shouldBe("new CustomEvent('eventType', { detail: detailObject }).detail", "detai
|
| // Detail is a DOM object
|
| shouldBe("new CustomEvent('eventType', { detail: document }).detail", "document");
|
|
|
| +// Detail is undefined.
|
| +shouldBe("new CustomEvent('eventType', { detail: undefined }).detail", "undefined");
|
| +
|
| +// Detail is null.
|
| +shouldBe("new CustomEvent('eventType', { detail: null }).detail", "null");
|
| +
|
| // Detail is a getter.
|
| shouldBe("new CustomEvent('eventType', { get detail() { return true; } }).detail", "true");
|
|
|
|
|