[whatwg] Replace argument for HTMLDocument.open()

Maciej Stachowiak mjs at apple.com
Fri May 29 15:13:27 PDT 2009

On May 29, 2009, at 2:47 PM, Sam Weinig wrote:

> In the 2 argument for of HTMLDocument.open() (the one that returns a  
> HTMLDocument), the second argument is currently defined in the IDL  
> as [Optional] in DOMString replace .  I believe this is intended to  
> be a boolean argument, not a DOMString.

Actually I think not, you pass the actual string "replace" to get  
replace behavior.

  - Maciej

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090529/ae9b720d/attachment-0002.htm>

More information about the whatwg mailing list