var Helloworld = {
onLoad: function() {
// initialization code
this.initialized = true;
},
onMenuItemCommand: function() {
window.open("chrome://helloworld/content/hello.xul", "", "chrome");
}
};
window.addEventListener("load", function(e) { Helloworld.onLoad(e); }, false);
http://kb.mozillazine.org/Getting_started_with_extension_development
その部分がわかりませんfunction(e) { Helloworld.onLoad(e);。イベントパラメータをonLoad関数に渡すと思いますeが、onLoad関数はonLoad: function(e) {}受け取る必要がないeので、何が起こっているのでしょうか。