[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Date.as
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Date.as |
Date: |
Thu, 19 Apr 2007 14:37:23 +0200 |
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;