[whatwg] Replace argument for HTMLDocument.open()

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.htm>

Received on Friday, 29 May 2009 15:13:27 UTC