Re: [WebIDL] Should stringifiers use [[Get]] and [[Call]] or call the canonical getter/function?

On Fri, 5 Oct 2012, Boris Zbarsky wrote:
>
> And in particular, the way the spec is phrased right now means that this 
> bit of WebIDL from HTMLAnchorElement:
> 
>     stringifier attribute DOMString href;
> 
> does not have the same behavior as this bit would:
> 
>    attribute DOMString href;
>    stringifier DOMString();
> 
> with prose defining DOMString to do the same thing as the href getter.

Which do browsers do? (If either.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 5 October 2012 20:54:17 UTC