W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Replace argument for HTMLDocument.open()

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 29 May 2009 15:13:27 -0700
Message-ID: <4FB7A86F-CA33-4F8D-AD46-EC83447ACB35@apple.com>

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC