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

 
 

bug #31099: Object.prototype.__proto__ incompatibility

Submitted by:  Sandro Santilli <strk>
Submitted on:  Wed 22 Sep 2010 08:06:46 AM UTC  
 
Category: ActionScriptSeverity: 2 - Minor
Release: trunkStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 27 Sep 2010 07:05:43 AM UTCbwySeverity3 - Normal=>2 - Minor
    Wed 22 Sep 2010 08:06:46 AM UTCstrkAttached File-=>Added prototrace.swf, #21518

    Back to the top


    Powered by Savane 3.1-cleanup