gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-266-gc492c1b
Date: Thu, 14 Apr 2011 21:12:07 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  c492c1b5befccee4c4a36b700f7ea3ad93fc29be (commit)
      from  eeac240daa742ac711122e43d1d5fe4fa8adf111 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=c492c1b5befccee4c4a36b700f7ea3ad93fc29be


commit c492c1b5befccee4c4a36b700f7ea3ad93fc29be
Author: Sandro Santilli <address@hidden>
Date:   Thu Apr 14 22:50:05 2011 +0200

    Add test for bug #31314 (Sound.onLoad, google dict). Expected to fail.

diff --git a/testsuite/actionscript.all/Sound.as 
b/testsuite/actionscript.all/Sound.as
index 9a62515..36b82df 100644
--- a/testsuite/actionscript.all/Sound.as
+++ b/testsuite/actionscript.all/Sound.as
@@ -27,8 +27,10 @@ rcsid="$Id: Sound.as,v 1.1 2008/06/17 12:42:22 strk Exp $";
 
 endOfTest = function()
 {
+    // TODO: test non-streaming sound too !
+
 #if OUTPUT_VERSION > 5
-    check_totals(105);
+    check_totals(106);
 #else
     check_totals(94);
 #endif
@@ -246,10 +248,23 @@ s = new Sound();
 s.onSoundComplete = function()
 {
     clearInterval(intval);
+
+    trace("onSoundComplete called");
     pass("onSoundComplete called");
+
+    // fixing this might fix google dict
+    // See https://savannah.gnu.org/bugs/index.php?31314
+    xcheck(s.onLoadCalled);
+
     endOfTest();
 };
 
+s.onLoad = function()
+{
+    trace("onLoad called");
+    s.onLoadCalled = true;
+};
+
 stop();
 
 check_equals(typeof(s.getBytesLoaded()), "undefined");
@@ -261,7 +276,6 @@ check_equals(typeof(s.getDuration()), "undefined");
 // streaming sound doesn't need .start() to play...
 s.loadSound(MEDIA(sound1.mp3), true); 
 
-
 check_equals(typeof(s.getBytesTotal()), "number");
 check_equals(typeof(s.getBytesLoaded()), "number");
 check_equals(typeof(s.getPosition()), "number");

-----------------------------------------------------------------------

Summary of changes:
 testsuite/actionscript.all/Sound.as |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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