<!ENTITY staff.main.menu.admin.extension_manager.label "Extension Manager">
<!ENTITY staff.main.menu.admin.theme_manager.label "Theme Manager">
<!ENTITY staff.main.menu.admin.about_config.label "about:config">
+<!ENTITY staff.main.menu.admin.about_memory.label "about:memory">
<!ENTITY staff.main.menu.admin.stat_cat_edit.accesskey "C">
<!ENTITY staff.main.menu.admin.stat_cat_edit.label "Statistical Category Editor">
<!ENTITY staff.main.menu.admin.survey_wizard.accesskey "S">
obj.command_tab(event,'chrome://global/content/config.xul',{'tab_name' : 'about:config'},{});
}
],
+ 'cmd_about_memory' : [
+ ['oncommand'],
+ function(event) {
+ obj.command_tab(event,'chrome://global/content/aboutMemory.xhtml',{'tab_name' : 'about:memory'},{});
+ }
+ ],
'cmd_shutdown' : [
['oncommand'],
function() {
<command id="cmd_about_config"
perm="DEBUG_CLIENT"
/>
+ <command id="cmd_about_memory"
+ perm="DEBUG_CLIENT"
+ />
<command id="cmd_adv_user_edit" />
<command id="cmd_console"
<menuitem label="&staff.main.menu.admin.extension_manager.label;" command="cmd_extension_manager"/>
<menuitem label="&staff.main.menu.admin.theme_manager.label;" command="cmd_theme_manager"/>
<menuitem label="&staff.main.menu.admin.about_config.label;" command="cmd_about_config"/>
+ <menuitem label="&staff.main.menu.admin.about_memory.label;" command="cmd_about_memory"/>
<menuitem label="&staff.main.menu.admin.venkman.label;" command="cmd_debug_venkman"/>
<menuitem label="&staff.main.auth.debug.inspector;" command="cmd_debug_inspector"/>
<menuitem label="&staff.main.auth.debug.chrome_list;" command="cmd_debug_chrome_list"/>
--- /dev/null
+New feature: add "about:memory" to developer menu in staff client
+=================================================================
+about:memory is a tool built into XULRunner that provides information
+about the memory usage of the staff client, and can be useful in
+tracking memory leaks.