gnash-commit
[Top][All Lists]
Advanced

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

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


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/with.as
Date: Fri, 26 Oct 2007 08:36:22 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/10/26 08:36:21

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: with.as 

Log message:
                * testsuite/actionscript.all/with.as: test that '..' is
                  a legal path component in a setTarget call.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4717&r2=1.4718
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/with.as?cvsroot=gnash&r1=1.34&r2=1.35

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4717
retrieving revision 1.4718
diff -u -b -r1.4717 -r1.4718
--- ChangeLog   26 Oct 2007 08:26:53 -0000      1.4717
+++ ChangeLog   26 Oct 2007 08:36:21 -0000      1.4718
@@ -1,5 +1,10 @@
 2007-10-26 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/with.as: test that '..' is
+         a legal path component in a setTarget call.
+
+2007-10-26 Sandro Santilli <address@hidden>
+
        * server/asobj/string.cpp: fix substring(0,1).
        * testsuite/actionscript.all/String.as: test substring(0,1)
        * testsuite/actionscript.all/Date.as: add test for adding Date

Index: testsuite/actionscript.all/with.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/with.as,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- testsuite/actionscript.all/with.as  25 Oct 2007 07:22:03 -0000      1.34
+++ testsuite/actionscript.all/with.as  26 Oct 2007 08:36:21 -0000      1.35
@@ -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: with.as,v 1.34 2007/10/25 07:22:03 strk Exp $";
+rcsid="$Id: with.as,v 1.35 2007/10/26 08:36:21 strk Exp $";
 
 #include "check.as"
 
@@ -247,10 +247,12 @@
 // create _root.clip1.clip2 
 _root.createEmptyMovieClip("clip1", 101);
 clip1.createEmptyMovieClip("clip2", 102);  
+_root.createEmptyMovieClip("clip3", 103);
 check_equals(typeof(clip1.clip2),'movieclip');
 
 clip1.testvar = 'clip1_var'; 
 clip1.clip2.testvar = 'clip2_var';  
+clip3.testvar = 'clip3_var';  
 testvar = '_root_timeline_var'; 
 _global.testvar = 'global_var';
 
@@ -281,6 +283,14 @@
     check_equals(this, _level0);
     check_equals(testvar, 'clip2_var');     
     check_equals(testvar2, 'global_var');  
+    check_equals(testvar3, undefined);  
+setTarget("");
+
+setTarget('/clip1/../clip3'); //tag 0x8B 
+    check_equals(this, _level0);
+    check_equals(testvar, 'clip3_var');     
+    check_equals(testvar2, 'global_var');  
+    check_equals(testvar3, undefined);  
 setTarget("");
 
 // first understand getproperty 
@@ -509,5 +519,5 @@
 #if OUTPUT_VERSION < 6
  check_totals(41);
 #else
- check_totals(90);
+ check_totals(95);
 #endif




reply via email to

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