[Dojo-checkins] [dojo] #744: dj_eval not evaluating in the global window context in IE

dojo trac at dojotoolkit.org
Sun Jun 21 13:43:41 EDT 2009


#744: dj_eval not evaluating in the global window context in IE
-----------------------------+----------------------------------------------
 Reporter:  smorais at bea.com  |        Owner:  jburke 
     Type:  defect           |       Status:  closed 
 Priority:  normal           |    Milestone:  1.0    
Component:  General          |      Version:  0.3    
 Severity:  normal           |   Resolution:  wontfix
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by mikewse):

 1) Long time has passed since this was wontfix:ed, and sometimes I keep
 hitting places where I would have liked Dojo to use the global scope
 execScript fix. Would it be interesting to revisit this topic and evaluate
 in today's context, with Safari 2 support in principle uninteresting but
 many more years of IE7 to come?

 2) Also, I'd like to discuss a related topic:
 {{{
 dojo.eval("this.abc=123");
 ->
 abc == undefined
 dojo.abc == 123
 }}}
 (This affects dojo.required code containing "this" assignments that
 normally address the global object.)
 Is that discussion best held in this ticket, a new ticket, or on dojo-
 contributor?

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/744#comment:20>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list