gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #38084] Superclass prototype method call failure


From: bl0ckeduser
Subject: [Gnash-commit] [bug #38084] Superclass prototype method call failure
Date: Sun, 27 Jan 2013 14:50:39 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

Follow-up Comment #13, bug #38084 (project gnash):

I have modified the test to use the Array class
and the push and pop methods:

function X() { trace('X ctor'); }
X.prototype = new Array();
trace("creating new object");
o = new X();
o.push("Array data");
trace(o.pop());

gnash master outputs this:

3418:1] 106 TRACE: creating new object
3418:1] 106 TRACE: X ctor
3418:1] 106 TRACE: undefined

and Adobe Flash 11,2,202,261 outputs this:

creating new object
X ctor
Array data



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38084>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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