On Thu, Apr 19, 2007 at 12:33:47PM +0000, Martin Guy wrote:
> CVSROOT: /sources/gnash
> Module name: gnash
> Changes by: Martin Guy <martinwguy> 07/04/19 12:33:47
>
> Modified files:
> . : ChangeLog
> testsuite/actionscript.all: Date.as
>
> Log message:
> Change case-[in]dependent method existence detection strategy to see if
> it fixes
> v5 testrun.
The best way to test for methods existance is using:
check_equals(typeof(its.func), 'function');
#if OUTPUT_VERSION > 5
check(its.__proto__.hasOwnProperty('func')); // check *where* it is in the
inheritance chain
#endif
--strk;
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit