[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-ming.all loadMovieTest.c
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/misc-ming.all loadMovieTest.c |
Date: |
Thu, 14 Feb 2008 16:48:08 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/02/14 16:48:08
Modified files:
testsuite/misc-ming.all: loadMovieTest.c
Log message:
Add a few more tests and info messages revealing unexpected features
of loading movies and event handlers...
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loadMovieTest.c?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: loadMovieTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loadMovieTest.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- loadMovieTest.c 8 Feb 2008 23:43:55 -0000 1.7
+++ loadMovieTest.c 14 Feb 2008 16:48:08 -0000 1.8
@@ -129,12 +129,18 @@
SWFDisplayItem_moveTo(it, x, y);
snprintf(buf, BUFSIZE,
+ "_level0.coverart.onUnload = function() {"
+ " _root.note(this+'.onUnload called');"
+ "};"
"_level0.coverart.onMouseDown = function() {"
//" _root.note('_url is '+this._url);"
" var lastUrlComponent =
this._url.substring(this._url.lastIndexOf('/')+1);"
//" _root.note('last component of _url is '+lastUrlComponent);"
" _root.check_equals(lastUrlComponent, _level0.expectLoaded,
'%s:%d');"
" _root.check_equals(this.getDepth(), -16377);"
+ " _root.check_equals(this.getBytesLoaded(),
this.getBytesTotal());"
+ " _root.check(this.getBytesLoaded() > 0);" /* assuming
something was loaded here */
+ " _root.note('bytesLoaded: '+this.getBytesLoaded());"
" if ( Key.isDown(Key.SHIFT) ) _root.totals();"
" else _root.note('2 tests run');"
"};"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/misc-ming.all loadMovieTest.c,
Sandro Santilli <=