<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">In the 2 argument for of HTMLDocument.open() (the one that returns a HTMLDocument), the second argument is currently defined in the IDL as <span class="Apple-style-span" style="font-family: monospace; line-height: 21px; white-space: pre-wrap; ">[Optional] in DOMString replace<span class="Apple-style-span" style="font-family: Helvetica; line-height: normal; white-space: normal; "> . I believe this is intended to be a boolean argument, not a DOMString.</span></span><div><br></div><div>-Sam</div></body></html>