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-1598-ge05d45c
Date: Sun, 03 Feb 2013 17:37:12 +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  e05d45cf63944873dbdba4f89c78d17bf36e7c12 (commit)
      from  118600cd59d4ebfc6b557b162cfe25e9f510da53 (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=e05d45cf63944873dbdba4f89c78d17bf36e7c12


commit e05d45cf63944873dbdba4f89c78d17bf36e7c12
Author: bl0ckeduser <address@hidden>
Date:   Sat Feb 2 10:49:25 2013 -0500

    Add test case for array prototype inheritance
    
    See https://savannah.gnu.org/bugs/?38084, see also
    commit df19f2f0cf0b996090faaff81827a073b600ad10

diff --git a/testsuite/actionscript.all/array.as 
b/testsuite/actionscript.all/array.as
index 70c55a2..c1cc220 100644
--- a/testsuite/actionscript.all/array.as
+++ b/testsuite/actionscript.all/array.as
@@ -1680,6 +1680,17 @@ ret = "" + t.sort();
 check_equals(rescount, 0);
 check_equals(ret, "");
 
+// Check for correct array prototype inheritance
+// (see http://savannah.gnu.org/bugs/?38084)
+
+function X() { trace('X ctor'); }
+X.prototype = new Array();
+trace("creating new object");
+o = new X();
+o.push("Array data");
+ret = o.pop();
+xcheck_equals(ret, "Array data");
+
 #if OUTPUT_VERSION > 5
 
 Empty = function() {};
@@ -1783,13 +1794,12 @@ check_equals(ar.__proto__, "string");
 // ASnative(252, 12) - [Array.prototype] sortOn 
 //
 
-
 #if OUTPUT_VERSION < 6
- check_totals(549);
+ check_totals(550);
 #else
 # if OUTPUT_VERSION < 7
-  check_totals(633);
+  check_totals(634);
 # else
-  check_totals(643);
+  check_totals(644);
 # endif
 #endif

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

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


hooks/post-receive
-- 
Gnash



reply via email to

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