mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Make type
argument as optional and ignore it in open method
This commit is contained in:
parent
8028ee3d24
commit
65da9b5acb
2 changed files with 5 additions and 17 deletions
|
@ -118,7 +118,7 @@ partial /*sealed*/ interface Document {
|
|||
|
||||
// dynamic markup insertion
|
||||
[CEReactions, Throws]
|
||||
Document open(optional DOMString type = "text/html", optional DOMString replace = "");
|
||||
Document open(optional DOMString type, optional DOMString replace = "");
|
||||
// WindowProxy open(DOMString url, DOMString name, DOMString features, optional boolean replace = false);
|
||||
[CEReactions, Throws]
|
||||
void close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue