[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/XML.as
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/XML.as |
Date: |
Mon, 24 Sep 2007 10:57:35 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/09/24 10:57:35
Modified files:
. : ChangeLog
testsuite/actionscript.all: XML.as
Log message:
* testsuite/actionscript.all/XML.as: more test for .status.
See patch #6178 for the why.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4388&r2=1.4389
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XML.as?cvsroot=gnash&r1=1.35&r2=1.36
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4388
retrieving revision 1.4389
diff -u -b -r1.4388 -r1.4389
--- ChangeLog 24 Sep 2007 10:54:06 -0000 1.4388
+++ ChangeLog 24 Sep 2007 10:57:34 -0000 1.4389
@@ -1,3 +1,8 @@
+2007-09-24 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/XML.as: more test for .status.
+ See patch #6178 for the why.
+
2007-09-24 Zou Lunkai <address@hidden>
* testsuite/misc-ming.all/action_execution_order_test5.c: tests _proto__
Index: testsuite/actionscript.all/XML.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XML.as,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- testsuite/actionscript.all/XML.as 26 Jul 2007 03:41:20 -0000 1.35
+++ testsuite/actionscript.all/XML.as 24 Sep 2007 10:57:34 -0000 1.36
@@ -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: XML.as,v 1.35 2007/07/26 03:41:20 strk Exp $";
+rcsid="$Id: XML.as,v 1.36 2007/09/24 10:57:34 strk Exp $";
#include "dejagnu.as"
#include "utils.as"
@@ -105,6 +105,26 @@
check_equals(typeof(tmp.status), 'number');
check(! tmp.hasOwnProperty("status"));
+#if OUTPUT_VERSION < 6
+ check(! tmp.__proto__.hasOwnProperty('status') );
+#else
+ xcheck(tmp.__proto__.hasOwnProperty('status') );
+#endif
+
+check_equals(tmp.status, 0);
+tmp.status = -1;
+check_equals(tmp.status, -1);
+tmp.status = 1000;
+check_equals(tmp.status, 1000);
+o = new Object;
+tmp.status = o;
+check_equals(typeof(tmp.status), 'number');
+xcheck_equals(tmp.status, -2147483648); // 0xFFFFFFFF
+returnFour = function() { return 4; };
+o.toString = returnFour;
+tmp.status = o;
+check_equals(typeof(tmp.status), 'number');
+xcheck_equals(tmp.status, -2147483648); // 0xFFFFFFFF
check_equals(typeof(tmp.loaded), 'undefined');
check(! tmp.hasOwnProperty("loaded"));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/XML.as,
Sandro Santilli <=