rem: wai.createShortcut(name.value, this.profile.id, this.profile.icon); 
add: wai.createShortcut(name.value, window.arguments[0], window.arguments[1]); 
context:   accept : function() {    var name = document.getElementById("name");    if (name.value.length > 0) {      var wai = new WebAppInstall();      wai.createShortcut(name.value, this.profile.id, this.profile.icon);    }    return true;  }
meta: 2142	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2142/c5df2ca9a69b986420bd081619182679cba8c8f7/install-shortcut.js/buggy/app/chrome/content/install-shortcut.js