[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/opcode_...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/opcode_... |
Date: |
Mon, 01 Oct 2007 09:07:24 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/10/01 09:07:24
Modified files:
. : ChangeLog
testsuite/misc-swfc.all: opcode_guard_test2.sc
Log message:
* testsuite/misc-swfc.all/opcode_guard_test2.sc: test that
unloaded
but still not removed current target is still used for finding
variables.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4488&r2=1.4489
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/opcode_guard_test2.sc?cvsroot=gnash&r1=1.3&r2=1.4
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4488
retrieving revision 1.4489
diff -u -b -r1.4488 -r1.4489
--- ChangeLog 1 Oct 2007 08:55:08 -0000 1.4488
+++ ChangeLog 1 Oct 2007 09:07:23 -0000 1.4489
@@ -1,5 +1,8 @@
2007-09-30 Sandro Santilli <address@hidden>
+ * testsuite/misc-swfc.all/opcode_guard_test2.sc: test that unloaded
+ but still not removed current target is still used for finding
+ variables.
* testsuite/misc-swfc.all/Dejagnu.sc (xtotals): call xpass on
unexpected success.
Index: testsuite/misc-swfc.all/opcode_guard_test2.sc
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/opcode_guard_test2.sc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-swfc.all/opcode_guard_test2.sc 30 Sep 2007 05:48:32
-0000 1.3
+++ testsuite/misc-swfc.all/opcode_guard_test2.sc 1 Oct 2007 09:07:24
-0000 1.4
@@ -56,10 +56,12 @@
mc2.duplicateMovieClip('dup2', 20);
mc2.duplicateMovieClip('dup3', 30);
+ _root.dup3.onUnload = function() {};
+
_root.check_equals(typeof(_root.dup1), 'movieclip');
_root.check_equals(typeof(_root.dup2), 'movieclip');
- dup1.testVar = 'dup1_var';
+ dup1.testVar = 'dup1_var'; // <<-----------------------------
setTarget('dup1');
removeMovieClip(_root.dup1);
// seems Gnash discarded the following 2 tests, caused by opcode guard
with
@@ -79,6 +81,14 @@
_root.check_equals(typeof(_root.dup2), 'undefined');
_root.check_equals(testVar, undefined);
}
+
+ dup3.testVar = 'dup3_var'; // <<-----------------------------
+ setTarget('dup3');
+ removeMovieClip(_root.dup3);
+ _root.check_equals(typeof(_root.dup3), 'movieclip');
+ _root.check_equals(testVar, 'dup3_var');
+ setTarget('');
+
.end
@@ -109,8 +119,7 @@
.action:
stop();
// Gnash failed on totals() by discarding some checks.
- // should we have a xtotals()?
- xtotals(6);
+ xtotals(8);
.end
.end // file end