gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11282: Don't limit getBounds/unload


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11282: Don't limit getBounds/unloadMovie testing to SWF8 for no reason
Date: Sat, 18 Jul 2009 16:22:10 +0200
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11282
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Sat 2009-07-18 16:22:10 +0200
message:
  Don't limit getBounds/unloadMovie testing to SWF8 for no reason
modified:
  testsuite/actionscript.all/MovieClip.as
=== modified file 'testsuite/actionscript.all/MovieClip.as'
--- a/testsuite/actionscript.all/MovieClip.as   2009-06-01 18:04:31 +0000
+++ b/testsuite/actionscript.all/MovieClip.as   2009-07-18 14:22:10 +0000
@@ -115,11 +115,11 @@
 #endif
 
 #if OUTPUT_VERSION == 6
-       check_totals(897); // SWF6
+       check_totals(899); // SWF6
 #endif
 
 #if OUTPUT_VERSION == 7
-       check_totals(914); // SWF7
+       check_totals(916); // SWF7
 #endif
 
 #if OUTPUT_VERSION >= 8
@@ -872,8 +872,8 @@
 umc = _root.createEmptyMovieClip("umc", getNextHighestDepth());
 check_equals(typeof(umc), 'movieclip');
 
-#if OUTPUT_VERSION >= 8
 check_equals(umc.getBounds().xMax, 6710886.35);
+
 // This shouldn't be seen.
 with (umc) {
     lineStyle(2, 0xff6699);
@@ -885,7 +885,10 @@
     lineTo(0, 0);
     endFill();
 }
+#if OUTPUT_VERSION >=8
 check_equals(umc.getBounds().xMax, 101);
+#else
+check_equals(umc.getBounds().xMax, 102);
 #endif
 
 umc.onData = function() { };
@@ -897,7 +900,7 @@
 #if OUTPUT_VERSION >=8
 check_equals(umc.getBounds().xMax, 101);
 #else
-check_equals(umc.getBounds().xMax, 6710886.35);
+check_equals(umc.getBounds().xMax, 102);
 #endif
 
 check_equals(umc.a, 7);


reply via email to

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