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. 3c649510283e29e33fbe


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 3c649510283e29e33fbe917f67a204d3cc6496b2
Date: Thu, 14 Oct 2010 11:23:52 +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  3c649510283e29e33fbe917f67a204d3cc6496b2 (commit)
      from  8adddfd61f468b2ed4302e4c6fc1b148b76ae50b (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=3c649510283e29e33fbe917f67a204d3cc6496b2


commit 3c649510283e29e33fbe917f67a204d3cc6496b2
Author: Sandro Santilli <address@hidden>
Date:   Thu Oct 14 13:23:23 2010 +0200

    Check unexistance of ExternalInterface in SWF6 too... use more compact test 
API

diff --git a/testsuite/actionscript.all/ExternalInterface.as 
b/testsuite/actionscript.all/ExternalInterface.as
index 3f49bc2..99f4314 100644
--- a/testsuite/actionscript.all/ExternalInterface.as
+++ b/testsuite/actionscript.all/ExternalInterface.as
@@ -27,13 +27,9 @@ flash.system.Security.allowDomain("localhost");
 ASSetPropFlags (_global, "flash", 0, 5248);
 
 #if OUTPUT_VERSION < 6
-
-if (flash.external.ExternalInterface == undefined) {
-    pass("ExternalInterface class doesn't exist in older versions");
-} else {
-    fail("ExternalInterface class doesn't exist in older versions");
-}
-
+ check_equals(typeof(flash.external.ExternalInterface), 'undefined');
+#else
+ check_equals(typeof(flash.external.ExternalInterface), 'function');
 #endif
 
 EI = flash.external.ExternalInterface;
@@ -415,10 +411,8 @@ if (typeOf(val) == "object") {
 
 #endif  // version > 7 }
 
-#if OUTPUT_VERSION < 6 // {
+#if OUTPUT_VERSION < 7 // {
        check_totals(1);
-#elif OUTPUT_VERSION < 7 // }{
-       check_totals(0);
 #elif OUTPUT_VERSION < 8 // }{
        check_totals(2);
 #else // SWF8+ }{

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

Summary of changes:
 testsuite/actionscript.all/ExternalInterface.as |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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