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 Jul 18 11:21:26 2007  
 
Should Start On: Tue Jul 17 22:00:00 2007Should be Finished on: Tue Jul 17 22:00:00 2007
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Open/Closed: OpenEffort: 0.00

Fri Oct 15 09:18:36 2010, 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 May 29 14:27:18 2008, 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 Sep 12 18:55:23 2007, 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 Sep 12 16:55:47 2007, 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 Aug 23 06:15:33 2007, comment #1:

confirmed. But still feel strange at this point:)

Zou Lunkai <zoulunkai>
Wed Jul 18 11:21:26 2007, 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 May 29 14:27:18 2008strkCarbon-Copy-=>Added bwy
    Wed Sep 12 16:55:47 2007strkCarbon-Copy-=>Added cmusick

    Back to the top


    Powered by Savane 3.1-cleanup