[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash testsuite/actionscript.all/XML.as ChangeL...
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash testsuite/actionscript.all/XML.as ChangeL... |
Date: |
Wed, 14 Feb 2007 00:16:49 +0100 |
On Tue, Feb 13, 2007 at 07:36:35PM +0000, Rob Savoye wrote:
> +check(myXML.createElement);
A general tip:
check_equals(typeOf(myXML.createElement), 'function');
Is a better test, as it check both the symbol to exist and
to be a function. Particularly useful when used against "classes":
check_equals(typeOf(XML), 'function');
check_equals(typeOf(Stage), 'object');
--strk;