gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11596: TextField.replaceText does e


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11596: TextField.replaceText does exist, even if it evaluates to undefined for SWF6
Date: Tue, 03 Nov 2009 21:46:19 +0100
User-agent: Bazaar (1.16.1)

------------------------------------------------------------
revno: 11596
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Tue 2009-11-03 21:46:19 +0100
message:
  TextField.replaceText does exist, even if it evaluates to undefined for SWF6
modified:
  testsuite/actionscript.all/TextField.as
=== modified file 'testsuite/actionscript.all/TextField.as'
--- a/testsuite/actionscript.all/TextField.as   2009-10-22 15:41:38 +0000
+++ b/testsuite/actionscript.all/TextField.as   2009-11-03 20:46:19 +0000
@@ -116,10 +116,12 @@
 
 check_equals(typeof(TextField.prototype.getFontList), 'undefined');
 
+check(TextField.prototype.hasOwnProperty('replaceText'));
 #if OUTPUT_VERSION > 6
 check_equals(typeof(TextField.prototype.replaceText), 'function');
 #else
 check_equals(typeof(TextField.prototype.replaceText), 'undefined');
+// but exists!
 #endif
 
 tfObj = new TextField();
@@ -1231,11 +1233,11 @@
 //------------------------------------------------------------
 
 #if OUTPUT_VERSION == 6
-     check_totals(519);
+     check_totals(520);
 #elif OUTPUT_VERSION == 7
- check_totals(525);
+ check_totals(526);
 #elif OUTPUT_VERSION == 8
- check_totals(526);
+ check_totals(527);
 #endif
 
 #endif


reply via email to

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