<menuitem label="stub" />
<menuitem label="Test Module" command="cmd_test"/>
<menuitem label="Javscript Console" command="cmd_console"/>
+ <menuitem label="Javscript Shell" command="cmd_shell"/>
<menuitem label="XUL Test" command="cmd_xuleditor"/>
</menupopup>
</menu>
<command id="cmd_console" oncommand="
mw.spawn_javascript_console(document,true,{}); "/>
+ <command id="cmd_shell" oncommand="
+ mw.spawn_javascript_shell(document,true,{}); "/>
+
<command id="cmd_xuleditor" oncommand="
mw.spawn_xuleditor(document,true,{}); "/>
var chrome = 'chrome://evergreen/content/util/xuledit.xul';
spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('xuleditor_label'),passthru_params);
}
+
+function spawn_javascript_shell(d,tab_flag,passthru_params) {
+ var chrome = 'chrome://evergreen/content/util/shell.html';
+ spawn_interface(d,tab_flag,'main_tabbox',chrome,getString('javascript_shell_label'),passthru_params);
+}
patron_stat_cat_editor_interface_label=PATRON STAT-CATS
z39_50_import_interface_label=Z39.50 IMPORT
javascript_console_label=CONSOLE
+javascript_shell_label=JS SHELL
xuleditor_label=XUL TEST