[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Inhe... |
Date: |
Wed, 18 Jun 2008 22:35:04 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/06/18 22:35:04
Modified files:
. : ChangeLog
testsuite/actionscript.all: Inheritance.as
Log message:
* testsuite/actionscript.all/Inheritance.as: run the egg/chicken
test after totals are printed, so we get some info from the
pp before it hangs.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6975&r2=1.6976
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.62&r2=1.63
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6975
retrieving revision 1.6976
diff -u -b -r1.6975 -r1.6976
--- ChangeLog 18 Jun 2008 22:10:53 -0000 1.6975
+++ ChangeLog 18 Jun 2008 22:35:02 -0000 1.6976
@@ -1,3 +1,9 @@
+2008-06-19 Sandro Santilli <address@hidden>
+
+ * testsuite/actionscript.all/Inheritance.as: run the egg/chicken
+ test after totals are printed, so we get some info from the
+ pp before it hangs.
+
2008-06-19 Markus Gothe <address@hidden>
* libnet/rtmp.cpp: Fixed warnings.
Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- testsuite/actionscript.all/Inheritance.as 18 Jun 2008 21:48:17 -0000
1.62
+++ testsuite/actionscript.all/Inheritance.as 18 Jun 2008 22:35:04 -0000
1.63
@@ -21,7 +21,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-rcsid="$Id: Inheritance.as,v 1.62 2008/06/18 21:48:17 strk Exp $";
+rcsid="$Id: Inheritance.as,v 1.63 2008/06/18 22:35:04 strk Exp $";
#include "check.as"
check_equals(typeof(Object.prototype.constructor), 'function');
@@ -530,6 +530,7 @@
#ifdef MING_SUPPORTS_ASM_IMPLEMENTS
+
A = {};
A.prototype = {}; // need a prototype to set as interface of B.prototype
B = {};
@@ -557,11 +558,6 @@
C.prototype = A.prototype;
check ( ob instanceof C );
-a = {}; b = {};
-a.__proto__ = b;
-b.__proto__ = a;
-check(!a instanceof b); // really just tests if we survive :)
-
#endif // MING_SUPPORTS_ASM_IMPLEMENTS
//------------------------------------------------
@@ -571,7 +567,7 @@
#if OUTPUT_VERSION < 6
# ifdef MING_SUPPORTS_ASM_IMPLEMENTS
- check_totals(107);
+ check_totals(106);
# else
check_totals(102);
# endif
@@ -579,9 +575,23 @@
#else // SWF6,7,8
# ifdef MING_SUPPORTS_ASM_IMPLEMENTS
- check_totals(164);
+ check_totals(163);
# else
check_totals(159);
# endif
#endif
+
+dangerousStuff = function()
+{
+ a = {}; b = {};
+ a.__proto__ = b;
+ b.__proto__ = a;
+ check(!a instanceof b); // really just tests if we survive :)
+};
+
+note("");
+note("Now you're flash player will try to answer the egg/chicken question.
Kill it if it hangs your machine");
+setTimeout(dangerousStuff, 0);
+
+