Implement document.open and document.close (fixes #14591)

This commit is contained in:
Anthony Ramine 2017-01-26 12:42:38 +01:00
parent 8c3abd6c79
commit ac254046e4
52 changed files with 351 additions and 296 deletions

View file

@ -111,9 +111,11 @@ partial /*sealed*/ interface Document {
readonly attribute HTMLScriptElement? currentScript;
// dynamic markup insertion
// Document open(optional DOMString type = "text/html", optional DOMString replace = "");
[Throws]
Document open(optional DOMString type = "text/html", optional DOMString replace = "");
// WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace = false);
// void close();
[Throws]
void close();
[Throws]
void write(DOMString... text);
[Throws]