Re: WG clarification request for SVG_WRONG_TYPE_ERR

Ian Hickson wrote:
> Theoretically, if you have an object implemented in Perl (e.g.), you can 
> define it in such a way that any method call results in a lookup, the 
> lookup being potentially arbitrary code such as asking a remote site, 
> checking the results of a random number, etc. An object in pure Perl 
> typically isn't explicitly labelled as being "an SVGMatrix", it just 
> happens to act like one. Or doesn't. Or acts like one for a bit then stops 
> acting like one half way through...

Precisely.  More pertinently to the web, and a lot less theoretically, 
ECMAScript objects act in very like fashion.

-Boris

Received on Friday, 6 August 2004 12:33:50 UTC