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 authentication level.

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

Submitter:  Sandro Santilli <strk>
Submitted:  Wed 18 Jul 2007 11:21:26 AM UTC
   
 
Should Start On:  Tue 17 Jul 2007 10:00:00 PM UTC Should be Finished on:  Tue 17 Jul 2007 10:00:00 PM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Open Effort:  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>
Group 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>
Group 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>
Group 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>
Group 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>
Group Member

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-29 strk Carbon-Copy- Added bwy
    2007-09-12 strk Carbon-Copy- Added cmusick

    Back to the top

    Powered by Savane 3.14-79a4.
    Corresponding source code