taskGnash - The GNU Flash player - Tasks: task #7093, Allows undefined 'this' in...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

task #7093: Allows undefined 'this' in function calls

Submitted by:  Sandro Santilli <strk>
Submitted on:  Wed 18 Jul 2007 11:21:26 AM UTC  
 
Should Start On: Tue 17 Jul 2007 10:00:00 PM UTCShould be Finished on: Tue 17 Jul 2007 10:00:00 PM UTC
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Open/Closed: OpenEffort: 0.00

Fri 15 Oct 2010 09:18:36 AM UTC, comment #5:

We are now much more selective about when we disallow an undefined (or more accurately null) this value, though it is still an as_object when it should really be an as_value (I think).

Benjamin Wolsey <bwy>
Project Member
Thu 29 May 2008 02:27:18 PM UTC, comment #4:

Ben, I think this will be of interest for you (related to my reply on your commit introducing dependency on 'this')

Sandro Santilli <strk>
Project Member
Wed 12 Sep 2007 06:55:23 PM UTC, comment #3:

See http://wiki.gnashdev.org/index.php/ActionScript_Inheritance and please add any info you think worth mentioning about inheritance.

Sandro Santilli <strk>
Project Member
Wed 12 Sep 2007 04:55:47 PM UTC, comment #2:

I'm starting to think 'this' in fn_call is not enough, as we might need a 'super' too... we'll need some analisys of the VM to properly implement 'super', as it can hardly be set by only
looking at the function itself or at the 'this' pointer.

I mean, we need more context, specifically the class we're executing a method of, not just the method itself as an independent function..

Does it sound Chad ?

Sandro Santilli <strk>
Project Member
Thu 23 Aug 2007 06:15:33 AM UTC, comment #1:

confirmed. But still feel strange at this point:)

Zou Lunkai <zoulunkai>
Wed 18 Jul 2007 11:21:26 AM UTC, original submission:

Not every function execution should have a valid object in the 'this' variable.

See patch #6081 and actionscript.all/array.as

Sandro Santilli <strk>
Project Member

 

No files currently attached

 

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
  • -unavailable- added by strk
  • -unavailable- added by zoulunkai (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
    Thu 29 May 2008 02:27:18 PM UTCstrkCarbon-Copy-=>Added bwy
    Wed 12 Sep 2007 04:55:47 PM UTCstrkCarbon-Copy-=>Added cmusick

    Back to the top


    Powered by Savane 3.1-cleanup