web-sys: Remove a bunch of non-standard, Mozilla-specific Web IDL

This commit is contained in:
Nick Fitzgerald
2018-08-15 11:12:22 -07:00
parent 6b5beda8d1
commit a40f83ea1b
36 changed files with 0 additions and 1579 deletions

View File

@ -19,23 +19,13 @@ enum SupportedType {
"image/svg+xml"
};
// the latter is Mozilla-specific
[Constructor]
interface DOMParser {
[NewObject, Throws]
Document parseFromString(DOMString str, SupportedType type);
// Mozilla-specific stuff
[NewObject, Throws, ChromeOnly]
Document parseFromBuffer(sequence<octet> buf, SupportedType type);
[NewObject, Throws, ChromeOnly]
Document parseFromBuffer(Uint8Array buf, SupportedType type);
[NewObject, Throws, ChromeOnly]
Document parseFromStream(InputStream stream, DOMString? charset,
long contentLength, SupportedType type);
// Can be used to allow a DOMParser to parse XUL/XBL no matter what
// principal it's using for the document.
[ChromeOnly]
void forceEnableXULXBL();
};