gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/testsuite/actionscript.all Function.as


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Function.as
Date: Thu, 26 Apr 2007 09:55:56 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/04/26 09:55:56

Modified files:
        testsuite/actionscript.all: Function.as 

Log message:
        Add a test showing that the just-committed fix for as_value::equals is 
still bogus

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Function.as?cvsroot=gnash&r1=1.40&r2=1.41

Patches:
Index: Function.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Function.as,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- Function.as 26 Apr 2007 09:53:01 -0000      1.40
+++ Function.as 26 Apr 2007 09:55:56 -0000      1.41
@@ -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: Function.as,v 1.40 2007/04/26 09:53:01 strk Exp $";
+rcsid="$Id: Function.as,v 1.41 2007/04/26 09:55:56 strk Exp $";
 
 #include "check.as"
 
@@ -639,3 +639,7 @@
 }
 
 testInFunctionContext(o);
+
+// Quick test to verify that a movieclip is never equal to an object, despite 
it's primitive value
+o = new Object(); o.valueOf = function() { return _root; };
+xcheck_equals(_root, o);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]