Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Add explicit [Exposed] + default dictionary value #105

Merged
merged 1 commit into from
Aug 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ <h2><dfn>TouchList</dfn> Interface</h2>
are the numbers in the range 0 to one less than the length of the list.
</p>
<pre class="idl">
[Exposed=Window]
interface TouchList {
readonly attribute unsigned long length;
getter Touch? item (unsigned long index);
Expand Down Expand Up @@ -488,7 +489,7 @@ <h2><dfn>TouchEvent</dfn> Interface</h2>
sequence&lt;Touch&gt; changedTouches = [];
};

[Constructor(DOMString type, optional TouchEventInit eventInitDict), Exposed=Window]
[Constructor(DOMString type, optional TouchEventInit eventInitDict = {}), Exposed=Window]
interface TouchEvent : UIEvent {
readonly attribute TouchList touches;
readonly attribute TouchList targetTouches;
Expand Down