Changes between Initial Version and Version 1 of Ticket #16556


Ignore:
Timestamp:
Jan 9, 2013, 4:06:46 AM (8 years ago)
Author:
bill
Comment:

That's hard to believe, I tried this in FF and no exception:

var foo = {a: undefined};
console.log(foo.a);

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16556

    • Property Owner set to Rawld Gill
    • Property Component changed from General to Loader
  • Ticket #16556 – Description

    initial v1  
    11Dojo 1.8.3 line 1831:
    22
    3  // now that req is fully initialized and won't change, we can hook it up to the error signal
     3{{{
     4// now that req is fully initialized and won't change, we can hook it up to the error signal
    45on(error, function(arg){
    56try{
     
    1314}catch(e){}
    1415});
     16}}}
    1517
    1618I have an example where colNumber and msgId in arg are both undefined, so the exception is thrown and the logging of useful information is aborted.  If arg[p] is undefined the code should log "undefined" instead.