W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 5 Oct 2012 20:53:54 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
cc: public-script-coord@w3.org
Message-ID: <Pine.LNX.4.64.1210052053341.1904@ps20323.dreamhostps.com>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:07 UTC