bugGnash - The GNU Flash player - Bugs: bug #31099, Object.prototype.__proto__...

 
 

bug #31099: Object.prototype.__proto__ incompatibility

Submitter:  Sandro Santilli <strk>
Submitted:  Wed 22 Sep 2010 08:06:46 AM UTC
   
 
Category:  ActionScript Severity:  2 - Minor
Priority:  5 - Normal Release:  trunk
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 27 Sep 2010 07:05:43 AM UTC, comment #1: 

It seems that tracing stops altogether, but only if the code refers to Object after the assignment to prototype.__proto__, e.g.:

Object.prototype.__proto__ = { a:1 };
trace("here");
trace(Object.a);
trace("not output");

This will trace "here" and nothing further. Any reference to Object seems sufficient. I'm not sure it's worth trying to fix this.

Benjamin Wolsey <bwy>
Group Member
Wed 22 Sep 2010 08:06:46 AM UTC, original submission:  

This AS code traces '1' with Gnash, but nothing with pp:

Object.prototype.__proto__ = { a:1 };
trace(Object.a);

I attach a binary (just for fun)

Sandro Santilli <strk>
Group Member

 

Attached Files

Attached Files
file #21518:  prototrace.swf added by strk (99B - application/x-shockwave-flash)

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by strk (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-27 bwy Severity3 - Normal 2 - Minor
    2010-09-22 strk Attached File- Added prototrace.swf, #21518

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code