[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog server/asobj/Number.cpp testsui...
From: |
Sandro Santilli |
Subject: |
Re: [Gnash-commit] gnash ChangeLog server/asobj/Number.cpp testsui... |
Date: |
Tue, 27 Mar 2007 09:39:49 +0200 |
On Tue, Mar 27, 2007 at 09:17:32AM +0800, zou lunkai wrote:
> >
> >Weird, I tought Number was an instance of Function. Can you check this ?
> >
> yes, you are right. So, Number.valueOf does make sense.
>
> More checks here:
>
> Number instanceof Function; //true
> typeof(Number)); //function
> typeof(Number.valueOf); //function
> typeof(Number.valueOf())); //function
> typeof(Number.__proto__.valueOf)); //function
> typeof(Number.__proto__.valueOf())); //object
> typeof(Number.prototype.valueOf)); //function
> typeof(Number.prototype.valueOf())); //undefined
Do you find all of these in the existing Number.as testcase ?
If not, can you add the missing bits there ?
Also, remember to check with different SWF version as that should
change behaviour.
--strk;