[whatwg] Replace argument for HTMLDocument.open()

Sam Weinig weinig at apple.com
Fri May 29 15:30:34 PDT 2009


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>


More information about the whatwg mailing list