[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-swfc.all action_execution_...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/misc-swfc.all action_execution_... |
Date: |
Tue, 13 Nov 2007 12:27:22 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/11/13 12:27:22
Modified files:
testsuite/misc-swfc.all: action_execution_order_test10.sc
Log message:
Add more info about the bad pp bug (Company reports it to be expected
behaviour)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/action_execution_order_test10.sc?cvsroot=gnash&r1=1.9&r2=1.10
Patches:
Index: action_execution_order_test10.sc
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-swfc.all/action_execution_order_test10.sc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- action_execution_order_test10.sc 13 Nov 2007 12:06:52 -0000 1.9
+++ action_execution_order_test10.sc 13 Nov 2007 12:27:22 -0000 1.10
@@ -187,6 +187,9 @@
// First query of __proto__ turns it into the correct prototype
// (MovieClip.prototype) buf first query returns the *old* rather
// then the new value
+ // UPDATE: Company knew about this, he mentions that unless for SWF6
+ // the first time a movieclip's __proto__ is queried it always
+ // returns Object.prototype.
_root.xcheck(mc4.__proto__ == Object.prototype); // returns wrong answer
at first, gnash does the right thing here
_root.check(mc4.__proto__ != Object.prototype); // and correct at second
and subsequent queries
_root.xcheck_equals(mc4.__proto__, MovieClip.prototype); // <--- this is
the correct one