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

[whatwg] Replace argument for HTMLDocument.open()

From: Sam Weinig <weinig@apple.com>
Date: Fri, 29 May 2009 15:30:34 -0700
Message-ID: <2CD6777E-AA43-415E-A337-934CB90E6070@apple.com>
Ah, I see that in the text now.  My misunderstanding.

-Sam

On May 29, 2009, at 3:13 PM, Maciej Stachowiak wrote:

>
> 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/545ef628/attachment-0001.htm>
Received on Friday, 29 May 2009 15:30:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:49 UTC