bugGnash - The GNU Flash player - Bugs: bug #22546, hasOwnProperty affected by scope...

 
 

bug #22546: hasOwnProperty affected by scope chain ?

Submitted by:  Sandro Santilli <strk>
Submitted on:  Tue 11 Mar 2008 10:28:14 AM UTC  
 
Category: ActionScriptSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 11 Mar 2008 10:31:34 AM UTC, comment #1:

Ah, got it.
ActionCallMethod(super, memberName)
when the object we call a method of is a 'super' object,
we make 'this' be the same as the calling environment,
in a timeline call to 'super.memberName' this is the
timeline target...

will research on that.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Tue 11 Mar 2008 10:28:14 AM UTC, original submission:

The attached test simplifies the failing test in
actionscript.all/Inheritance.as, where a 'super' object
returned from within a function call seems to have
a function defined.

FOund out that this behaviour depends on availability
of a omonimous function the the timeline scope.

See testcase for more.

Sandro Santilli <strk>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15229:  superHasOwnProp.as added by strk (545B - application/x-applix-spreadsheet)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Mar 2008 05:54:16 PM UTCstrkStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Tue 11 Mar 2008 10:28:14 AM UTCstrkAttached File-=>Added superHasOwnProp.as, #15229

    Back to the top


    Powered by Savane 3.1-cleanup1