Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape null in WebIDL2JSValueAsUnsupported
See jsdom/webidl2js#117.
- Loading branch information
Showing
8 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[Exposed=(Window,Worker), Serializable] | ||
interface FileList { | ||
[WebIDL2JSValueAsUnsupported=null] getter File? item(unsigned long index); | ||
[WebIDL2JSValueAsUnsupported=_null] getter File? item(unsigned long index); | ||
readonly attribute unsigned long length; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[Exposed=Window, LegacyUnenumerableNamedProperties] | ||
interface HTMLCollection { | ||
readonly attribute unsigned long length; | ||
[WebIDL2JSValueAsUnsupported=null] getter Element? item(unsigned long index); | ||
[WebIDL2JSValueAsUnsupported=null] getter Element? namedItem(DOMString name); | ||
[WebIDL2JSValueAsUnsupported=_null] getter Element? item(unsigned long index); | ||
[WebIDL2JSValueAsUnsupported=_null] getter Element? namedItem(DOMString name); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[Exposed=Window] | ||
interface NodeList { | ||
[WebIDL2JSValueAsUnsupported=null] getter Node? item(unsigned long index); | ||
[WebIDL2JSValueAsUnsupported=_null] getter Node? item(unsigned long index); | ||
readonly attribute unsigned long length; | ||
iterable<Node>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters