<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ah, I see that in the text now. My misunderstanding.<div><br></div><div>-Sam</div><div><br><div><div>On May 29, 2009, at 3:13 PM, Maciej Stachowiak wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 29, 2009, at 2:47 PM, Sam Weinig wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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></blockquote></div><br><div>Actually I think not, you pass the actual string "replace" to get replace behavior.</div><div><br></div><div> - Maciej</div><div><br></div></div></blockquote></div><br></div></body></html>