[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/actionscript.all Error.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/actionscript.all Error.as |
Date: |
Thu, 11 Jan 2007 11:30:13 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/01/11 11:30:13
Modified files:
testsuite/actionscript.all: Error.as
Log message:
expect failures with SWF<7
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Error.as?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: Error.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Error.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- Error.as 11 Jan 2007 11:26:50 -0000 1.7
+++ Error.as 11 Jan 2007 11:30:12 -0000 1.8
@@ -20,15 +20,26 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Error.as,v 1.7 2007/01/11 11:26:50 strk Exp $";
+rcsid="$Id: Error.as,v 1.8 2007/01/11 11:30:12 strk Exp $";
#include "check.as"
var errorObj = new Error;
+#if OUTPUT_VERSION < 7
+
+// test the Error constuctor
+xcheck_equals (typeof(errorObj), 'object');
+
+// test the Error::tostring method
+xcheck_equals (typeof(errorObj.toString), 'function');
+
+#else // OUTPUT_VERSION >= 7
+
// test the Error constuctor
check_equals (typeof(errorObj), 'object');
// test the Error::tostring method
check_equals (typeof(errorObj.toString), 'function');
+#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/actionscript.all Error.as,
Sandro Santilli <=