[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all Global.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all Global.as |
Date: |
Mon, 12 Mar 2007 11:22:40 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/03/12 11:22:40
Modified files:
testsuite/actionscript.all: Global.as
Log message:
some more tests showing _global is not a member of Object or _global or
MovieClip
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Global.as?cvsroot=gnash&r1=1.22&r2=1.23
Patches:
Index: Global.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Global.as,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- Global.as 12 Mar 2007 10:57:17 -0000 1.22
+++ Global.as 12 Mar 2007 11:22:40 -0000 1.23
@@ -20,7 +20,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Global.as,v 1.22 2007/03/12 10:57:17 strk Exp $";
+rcsid="$Id: Global.as,v 1.23 2007/03/12 11:22:40 strk Exp $";
#include "check.as"
@@ -28,10 +28,16 @@
#if OUTPUT_VERSION > 5
check ( parseInt == _global.parseInt );
+check_equals(typeof(Object._global), 'undefined');
+check_equals(typeof(Object.prototype._global), 'undefined');
+check_equals(typeof(_global._global), 'undefined');
+check_equals(typeof(this.__proto__._global), 'undefined');
+
// odd stuff.. not every value of type 'object' is an instance of Object :!!
check_equals(typeof(_global), 'object');
xcheck( ! _global instanceof Object );
xcheck_equals( typeof(_global.__proto__), 'undefined' );
+xcheck_equals(typeof(_global.toString), 'undefined');
#else
check_equals ( typeof(_global.parseInt), 'undefined' );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/actionscript.all Global.as,
Sandro Santilli <=