gecko-dev/suite/browser/navigatorOverlay.xul

463 lines
28 KiB
Plaintext
Raw Normal View History

1999-09-09 04:45:44 +00:00
<?xml version="1.0"?>
<!-- The contents of this file are subject to the Netscape Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/NPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator client code, released
- March 31, 1998.
-
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
- Blake Ross <blakeross@telocity.com>
- Peter Annema <disttsc@bart.nl>
-->
1999-09-09 04:45:44 +00:00
1999-09-14 22:51:24 +00:00
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
<?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
<?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
1999-09-14 22:51:24 +00:00
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
%navigatorDTD;
<!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
%contentAreaCommandsDTD;
]>
1999-09-09 04:45:44 +00:00
<overlay id="navigatorOverlay"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
1999-09-09 04:45:44 +00:00
2006-09-14 05:57:28 +00:00
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_viewZoom"/>
</stringbundleset>
2006-09-14 05:57:28 +00:00
<!-- Keysets -->
<keyset id="navKeys">
<!-- File Menu -->
<key id="key_newNavigator"/>
2006-09-14 05:59:38 +00:00
<key id="key_newNavigatorTab" key="&tabCmd.commandkey;" modifiers="control" command="cmd_newNavigatorTab"/>
2006-09-14 05:57:28 +00:00
<key id="key_newBlankPage"/>
<key id="focusURLBar" key="&openCmd.commandkey;" oncommand="ShowAndSelectContentsOfURLBar();"
modifiers="accel"/>
<key id="openLocationKb" key="&openCmd.commandkey;" command="Browser:Open" modifiers="accel,shift"/>
<key id="openFileKb" key="&openFileCmd.commandkey;" command="Browser:OpenFile" modifiers="accel"/>
<key id="key_savePage" key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/>
<key id="key_editPage" key="&editPageCmd.commandkey;" command="Browser:EditPage" modifiers="accel"/>
<key id="printKb" key="&printCmd.commandkey;" command="Browser:Print" modifiers="accel"/>
<key id="key_close"/>
<key id="key_quit"/>
2006-09-14 05:57:28 +00:00
<!-- Edit Menu -->
<key id="key_undo"/>
<key id="key_redo"/>
<key id="key_cut"/>
<key id="key_copy"/>
<key id="key_paste"/>
<key id="key_delete"/>
<key id="key_selectAll"/>
2006-09-14 05:57:28 +00:00
<!-- View Menu -->
<key id="key_reload" key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/>
<key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/>
<key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/>
<key id="key_viewInfo" key="&pageInfoCmd.commandkey;" command="View:PageInfo" modifiers="accel"/>
2006-09-14 05:57:28 +00:00
<!-- Search Menu -->
<key id="key_find" key="&findOnCmd.commandkey;" command="Browser:Find" modifiers="accel"/>
<key id="key_findAgain" key="&findAgainCmd.commandkey;" command="Browser:FindAgain" modifiers="accel"/>
2006-09-14 05:57:28 +00:00
<!-- Go Menu -->
2006-09-14 05:57:28 +00:00
<!-- Bookmarks Menu -->
<key id="addBookmarkKb" key="&addCurPageCmd.commandkey;" command="Browser:AddBookmark" modifiers="accel"/>
<key id="addBookmarkAsKb" key="&addCurPageCmd.commandkey;" command="Browser:AddBookmarkAs" modifiers="accel,shift"/>
<key id="manBookmarkKb" key="&manBookmarksCmd.commandkey;" command="Browser:ManageBookmark" modifiers="accel"/>
2006-09-14 05:57:28 +00:00
<!-- Misc -->
<key id="key_stop" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
<!-- the amazing fishcam dept. -->
<key key="f" modifiers="control,alt" oncommand="window._content.location.href='http://home.netscape.com/fishcam/fishcam.html'"/>
<keyset id="viewZoomKeys"/>
<keyset id="navigationKeys"/>
<keyset id="tasksKeys"/>
</keyset>
1999-09-09 04:45:44 +00:00
2006-09-14 05:57:28 +00:00
<commandset id="commands">
<command id="cmd_newNavigator"/>
2006-09-14 05:59:38 +00:00
<command id="cmd_newNavigatorTab" oncommand="BrowserOpenTab();"/>
2006-09-14 05:57:28 +00:00
<command id="cmd_newEditor"/>
<!-- NOT IMPLEMENTED
<command id="cmd_newEditorTemplate"/>
<command id="cmd_newEditorDraft"/>
<command id="Browser:PrintSetup" disabled ="true" oncommand=""/>
<command id="Browser:PrintPreview" disabled="true" oncommand=""/> -->
<command id="Browser:OpenFile" oncommand="BrowserOpenFileWindow();"/>
<command id="Browser:SavePage" oncommand="savePage();"/>
<command id="Browser:EditPage" oncommand="editPage(window._content.location.href,window, false);"/>
<command id="Browser:Open" oncommand="BrowserOpenWindow();"/>
<command id="Browser:Print" oncommand="BrowserPrint();"/>
<command id="cmd_quit"/>
<command id="cmd_close" oncommand="BrowserClose()"/>
2006-09-14 05:57:28 +00:00
<!-- Edit Menu -->
<command id="cmd_undo"/>
<command id="cmd_redo"/>
<command id="cmd_cut"/>
<command id="cmd_copy"/>
<command id="cmd_paste"/>
<command id="cmd_delete"/>
<command id="cmd_selectAll"/>
<!-- Content area context menu -->
<command id="cmd_copyLink"/>
<command id="cmd_copyImageLocation"/>
<command id="cmd_copyImageContents"/>
2006-09-14 05:57:28 +00:00
<!-- View Menu -->
<command id="View:PageSource" oncommand="BrowserViewSource();"/>
<command id="View:PageInfo" oncommand="BrowserPageInfo();"/>
2006-09-14 05:57:28 +00:00
<!-- Search Menu -->
<command id="Browser:Find" oncommand="BrowserFind();" />
<command id="Browser:FindAgain" oncommand="BrowserFindAgain();" />
2006-09-14 05:57:28 +00:00
<!-- Bookmarks Menu -->
<command id="Browser:AddBookmark" label="&addCurPageCmd.label;" accesskey="&addCurPageCmd.accesskey;"
oncommand="BookmarksUtils.addBookmarkForBrowser(document.getElementById('content').webNavigation, false);"/>
<command id="Browser:AddBookmarkAs" label="&addCurPageAsCmd.label;" accesskey="&addCurPageAsCmd.accesskey;"
oncommand="BookmarksUtils.addBookmarkForBrowser(document.getElementById('content').webNavigation, true);"/>
<command id="Browser:ManageBookmark" label="&manBookmarksCmd.label;" accesskey="&manBookmarksCmd.accesskey;"
oncommand="BrowserEditBookmarks();" />
2006-09-14 05:57:28 +00:00
<!-- Go Menu -->
<command id="Browser:Home" oncommand="BrowserHome();"/>
<command id="Browser:Back" oncommand="BrowserBack();" observes="canGoBack"/>
<command id="Browser:Forward" oncommand="BrowserForward();" observes="canGoForward"/>
<commandset id="viewZoomCommands"/>
<commandset id="tasksCommands"/>
</commandset>
2006-09-14 05:57:28 +00:00
<broadcasterset id="navBroadcasters">
<broadcaster id="canGoBack" disabled="true"/>
<broadcaster id="canGoForward" disabled="true"/>
<broadcaster id="Communicator:WorkMode"/>
<broadcaster id="cmd_viewnavbar" oncommand="goToggleToolbar( 'nav-bar','cmd_viewnavbar');" checked="true"/>
<broadcaster id="cmd_viewpersonaltoolbar" oncommand="goToggleToolbar('PersonalToolbar','cmd_viewpersonaltoolbar');" checked="true"/>
<broadcaster id="cmd_viewtaskbar" oncommand="goToggleToolbar('status-bar','cmd_viewtaskbar');" checked="true"/>
<broadcaster id="cmd_viewcomponentbar" oncommand="goToggleToolbar('component-bar', 'cmd_viewcomponentbar');" checked="true"/>
2006-09-14 05:57:28 +00:00
</broadcasterset>
1999-09-09 04:45:44 +00:00
2006-09-14 05:57:28 +00:00
<!-- Menu -->
<menubar id="main-menubar" class="chromeclass-menubar">
<menu id="menu_File">
<menupopup id="menu_FilePopup">
2006-09-14 05:57:28 +00:00
<menuitem label="&browserCmd.label;" accesskey="&browserCmd.accesskey;" key="key_newNavigator" command="cmd_newNavigator"/>
<menu id="menu_New">
<menupopup id="menu_NewPopup">
<!-- From globalOverlay.xul -->
<menuitem id="menu_newNavigator" command="cmd_newNavigator"/>
2006-09-14 05:59:38 +00:00
<!-- <menuitem id="menu_newNavigatorTab" position="1" command="cmd_newNavigatorTab" key="key_newNavigatorTab"
label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/> -->
2006-09-14 05:57:28 +00:00
<menuitem id="menu_newEditor" command="cmd_newEditor"/>
</menupopup>
</menu>
<menuitem label="&openCmd.label;" accesskey="&openCmd.accesskey;" key="openLocationKb" command="Browser:Open"/>
<menuitem label="&openFileCmd.label;" accesskey="&openFileCmd.accesskey;" key="openFileKb" command="Browser:OpenFile"/>
<menuseparator/>
<menuitem id="menu_close"/>
<menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/>
<menuitem id="savepage" label="&saveFrameCmd.label;" accesskey="&saveFrameCmd.accesskey;" oncommand="savePage(gFocusedURL);" hidden="true"/>
<menuseparator/>
<menuitem label="&editPageCmd.label;" accesskey="&editPageCmd.accesskey;" key="key_editPage" command="Browser:EditPage" />
<menuseparator/>
<menuitem id="printMenuItem" label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>
<menuseparator />
<menuitem id="offlineGoOfflineCmd"/>
<menuseparator />
2006-09-14 05:57:28 +00:00
</menupopup>
</menu>
2006-09-14 05:57:28 +00:00
<menu id="menu_Edit">
<menupopup id="menu_Edit_Popup">
<menuitem id="menu_undo"/>
<menuitem id="menu_redo"/>
<menuseparator/>
<menuitem id="menu_cut"/>
<menuitem id="menu_copy"/>
<menuitem id="menu_paste"/>
<menuitem id="menu_delete"/>
<menuseparator/>
<menuitem id="menu_selectAll"/>
<menuseparator />
<menuitem id="menu_preferences" oncommand="goPreferences('navigator.xul', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
</menupopup>
</menu>
2006-09-14 05:57:28 +00:00
<menu id="menu_View" accesskey="&viewMenu.accesskey;" label="&viewMenu.label;">
<menupopup id="menu_View_Popup">
2006-09-14 05:57:28 +00:00
<menu label="&toolbarsCmd.label;" accesskey="&toolbarsCmd.accesskey;" id="view_toolbars">
2006-09-14 05:59:16 +00:00
<menupopup id="view_toolbars_popup" onpopupshowing="updateToolbarStates(this);">
2006-09-14 05:57:28 +00:00
<menuitem label="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewnavbar" />
<menuitem label="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewpersonaltoolbar" />
<menuitem label="&taskbarCmd.label;" accesskey="&taskbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewtaskbar" />
<menuitem label="&componentbarCmd.label;" accesskey="&componentbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewcomponentbar"/>
2006-09-14 05:57:28 +00:00
</menupopup>
</menu>
<menuseparator />
2006-09-14 05:57:28 +00:00
<!-- overlayed from viewZoomOverlay.xul -->
<menu id="menu_textZoom"/>
2006-09-14 05:57:28 +00:00
<menu label="&useStyleSheetMenu.label;" accesskey="&useStyleSheetMenu.accesskey;" disabled="false">
2006-09-14 05:59:16 +00:00
<menupopup onpopupshowing="stylesheetFillPopup(window._content.document, this, document.getElementById('authssnoopt'))">
2006-09-14 05:57:28 +00:00
<menuitem label="&useStyleSheetNone.label;" id="authssnoopt" type="radio" name="authorstyle" oncommand="stylesheetSwitch(window._content.document, '')"/>
</menupopup>
</menu>
<menuseparator />
<menuitem accesskey="&reloadCmd.accesskey;" key="key_reload" label="&reloadCmd.label;" oncommand="BrowserReload();"/>
<menuitem label="&showImagesCmd.label;" accesskey="&showImagesCmd.accesskey;" disabled="true" oncommand="BrowserReload();"/>
<menuitem label="&stopCmd.label;" accesskey="&stopCmd.accesskey;" id="menuitem-stop" oncommand="BrowserStop();" key="key_stop"/>
2006-09-14 05:57:28 +00:00
<menuseparator />
<menuitem accesskey="&pageSourceCmd.accesskey;" label="&pageSourceCmd.label;" key="key_viewSource" command="View:PageSource"/>
<menuitem accesskey="&pageInfoCmd.accesskey;" label="&pageInfoCmd.label;" key="key_viewInfo" command="View:PageInfo"/>
<menuseparator />
<menuitem accesskey="&translateMenu.accesskey;" label="&translateMenu.label;" oncommand="Translate();"/>
<menu label="&webContentMenu.label;" accesskey="&webContentMenu.accesskey;">
<menupopup datasources="rdf:chrome" ref="urn:mozilla:locale:root"
sortResource="http://www.mozilla.org/rdf/chrome#name"
sortDirection="ascending" oncommand="selectLocale(event)">
<menuitem label="&downloadMore.label;" accesskey="&downloadMore.accesskey;"
oncommand="loadXURL('urn:clienturl:viewmenu:intlwebcontent');"/>
<menuseparator/>
<template>
<menuitem class="standard" uri="rdf:*"
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
value="rdf:http://www.mozilla.org/rdf/chrome#name"/>
</template>
</menupopup>
</menu>
<menu id="charsetMenu" />
<menuseparator/>
<menu label="&applyTheme.label;" accesskey="&applyTheme.accesskey;">
<menupopup datasources="rdf:chrome" ref="urn:mozilla:skin:root" oncommand="applyTheme(event.target)">
<menuitem label="&themePreferencesCmd.label;" accesskey="&themePreferencesCmd.accesskey;"
oncommand="goPreferences('pref-themes.xul','chrome://communicator/content/pref/pref-themes.xul')"/>
<menuitem label="&getNewThemesCmd.label;" accesskey="&getNewThemesCmd.accesskey;" oncommand="getNewThemes();"/>
<menuseparator/>
2006-09-14 05:57:28 +00:00
<template>
<menuitem uri="..."
label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
accesskey="rdf:http://www.mozilla.org/rdf/chrome#accessKey"
name="rdf:http://www.mozilla.org/rdf/chrome#name"/>
2006-09-14 05:57:28 +00:00
</template>
</menupopup>
2006-09-14 05:57:28 +00:00
</menu>
</menupopup>
</menu>
2006-09-14 05:57:28 +00:00
<menu accesskey="&searchMenu.accesskey;" label="&searchMenu.label;">
<menupopup id="searchMenu">
<menuitem id="menu_find" label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
<menuitem id="menu_findAgain" label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
<menuseparator />
2006-09-14 05:57:28 +00:00
<menuitem label="&searchInternetCmd.label;" accesskey="&searchInternetCmd.accesskey;" oncommand="loadXURL('urn:clienturl:srchmenu:srchinternet');"/>
</menupopup>
</menu>
<menu accesskey="&goMenu.accesskey;" label="&goMenu.label;" oncommand="gotoHistoryIndex(event);">
2006-09-14 05:59:16 +00:00
<menupopup onpopupshowing="updateGoMenu(event);">
<menuitem label="&goBackCmd.label;" accesskey="&goBackCmd.accesskey;" key="goBackKb" command="Browser:Back"/>
<menuitem label="&goForwardCmd.label;" accesskey="&goForwardCmd.accesskey;" key="goForwardKb" command="Browser:Forward"/>
<menuitem label="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" command="Browser:Home" key="goHome"/>
<menuseparator hidden="true"/>
</menupopup>
</menu>
2006-09-14 05:57:28 +00:00
<menu id="BookmarksMenu" label="&bookmarksMenu.label;" accesskey="&bookmarksMenu.accesskey;"
2006-09-14 05:57:59 +00:00
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
2006-09-14 05:57:28 +00:00
ref="NC:BookmarksRoot" flags="dont-test-empty" template="bookmarksMenuTemplate"
oncommand="OpenBookmarkURL(event.target, document.getElementById('BookmarksMenu').database)">
<template id="bookmarksMenuTemplate">
<rule iscontainer="true" isempty="true"
rdf:type="http://home.netscape.com/NC-rdf#Folder">
<menupopup>
<menu class="menu-iconic bookmark-item" uri="rdf:*"
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
label="rdf:http://home.netscape.com/NC-rdf#Name">
<menupopup>
<menuitem label="&emptyItem.label;" disabled="true"/>
</menupopup>
</menu>
</menupopup>
</rule>
<rule iscontainer="true">
<menupopup>
<menu class="menu-iconic bookmark-item" uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#Name"
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
2006-09-14 05:57:28 +00:00
<menupopup />
</menu>
</menupopup>
</rule>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<menupopup>
<menuseparator uri="rdf:*" />
</menupopup>
</rule>
<rule>
<menupopup>
<menuitem class="menuitem-iconic bookmark-item" uri="rdf:*"
label="rdf:http://home.netscape.com/NC-rdf#Name"
status="rdf:http://home.netscape.com/WEB-rdf#status"/>
2006-09-14 05:57:28 +00:00
</menupopup>
</rule>
</template>
<menupopup>
<!-- for some reason these don't work as command="" -->
<menuitem key="addBookmarkKb" observes="Browser:AddBookmark"/>
<menuitem key="addBookmarkAsKb" observes="Browser:AddBookmarkAs"/>
<menuseparator/>
<menuitem key="manBookmarkKb" observes="Browser:ManageBookmark"/>
<menuseparator/>
</menupopup>
1999-09-09 04:45:44 +00:00
</menu>
<menu id="tasksMenu"/>
<menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help"/>
2006-09-14 05:57:28 +00:00
<!-- Menu for testing. -->
<menu id="debugMenu" accesskey="&debugMenu.accesskey;" label="&debugMenu.label;">
<menupopup>
<menu label="&debugVerCmd.label;">
<menupopup>
<menuitem label="&ver1Cmd.label;" oncommand="window._content.location.href='http://www.mozilla.org'"/>
<menuitem label="&ver2Cmd.label;" oncommand="window._content.location.href='http://www.yahoo.com'"/>
<menuitem label="&ver3Cmd.label;" oncommand="window._content.location.href='http://www.netscape.com'"/>
<menuitem label="&ver4Cmd.label;" oncommand="window._content.location.href='http://www.excite.com'"/>
<menuitem label="&ver5Cmd.label;" oncommand="window._content.location.href='http://www.microsoft.com'"/>
<menuitem label="&ver6Cmd.label;" oncommand="window._content.location.href='http://www.city.net'"/>
<menuitem label="&ver7Cmd.label;" oncommand="window._content.location.href='http://www.mirabilis.com'"/>
<menuitem label="&ver8Cmd.label;" oncommand="window._content.location.href='http://www.time.com/time/index.html'"/>
<menuitem label="&ver9Cmd.label;" oncommand="window._content.location.href='http://www.warnerbros.com/home_moz3_day.html'"/>
<menuitem label="&ver10Cmd.label;" oncommand="window._content.location.href='http://www.cnn.com'"/>
<menuitem label="&ver11Cmd.label;" oncommand="window._content.location.href='http://www.usatoday.com'"/>
<menuitem label="&ver12Cmd.label;" oncommand="window._content.location.href='http://www.disney.go.com'"/>
<menuitem label="&ver13Cmd.label;" oncommand="window._content.location.href='http://www.hotwired.com'"/>
<menuitem label="&ver14Cmd.label;" oncommand="window._content.location.href='http://www.hotbot.com'"/>
<menuseparator />
<menuitem label="&ver15Cmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/browser/debugtc/bft_frame_index.html'"/>
<menuitem label="&ver16Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test6.html'"/>
<menuitem label="&ver17Cmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/browser/debugtc/bft_browser_applet.html'"/>
<menuitem label="&ver18Cmd.label;" oncommand="window._content.location.href='http://www.abcnews.com'"/>
<menuitem label="&ver19Cmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/browser/debugtc/bft_browser_imagemap.html'"/>
<menuitem label="&ver20Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test2.html'"/>
<menuitem label="&ver21Cmd.label;" oncommand="window._content.location.href='http://www.libpng.org/pub/png/png-MagnoliaAlpha.html'"/>
<menuitem label="&ver22Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test13.html'"/>
<menuitem label="&ver23Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test2.html'"/>
<menuitem label="&ver24Cmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/browser/debugtc/bft_browser_html_mix3.html'"/>
<menuitem label="&ver25Cmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/browser/debugtc/bft_browser_link.html'"/>
</menupopup>
</menu>
<menu label="&viewDemoMenu.label;">
<menupopup>
<menuitem label="&demo0Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test0.html'"/>
<menuitem label="&demo1Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test1.html'"/>
<menuitem label="&demo2Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test2.html'"/>
<menuitem label="&demo3Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test3.html'"/>
<menuitem label="&demo4Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test4.html'"/>
<menuitem label="&demo5Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test5.html'"/>
<menuitem label="&demo6Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test6.html'"/>
<menuitem label="&demo7Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test7.html'"/>
<menuitem label="&demo8Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test8.html'"/>
<menuitem label="&demo9Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test9.html'"/>
<menuitem label="&demo10Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test10.html'"/>
<menuitem label="&demo11Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test11.html'"/>
<menuitem label="&demo12Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test12.html'"/>
<menuitem label="&demo13Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test13.html'"/>
<menuitem label="&demo14Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test14.html'"/>
<menuitem label="&demo15Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test15.html'"/>
<menuitem label="&demo16Cmd.label;" oncommand="window._content.location.href='resource:/res/samples/test16.html'"/>
</menupopup>
</menu>
2006-09-14 05:59:25 +00:00
<menu label="XBL Test Suite">
<menupopup>
<menuitem label="#0 Remote XBL" oncommand="window._content.location.href='http://www.mozilla.org/projects/xbl/test0/test.xul'"/>
<menuitem label="#1 Technicolor DIV" oncommand="window._content.location.href='http://www.mozilla.org/projects/xbl/test1/test.html'"/>
<menuitem label="#2 Rollover Madness" oncommand="window._content.location.href='http://www.mozilla.org/projects/xbl/test2/test.html'"/>
<menuitem label="#3 Popups in HTML" oncommand="window._content.location.href='http://www.mozilla.org/projects/xbl/test3/test.html'"/>
<menuitem label="#4 Partition Magic" oncommand="window._content.location.href='http://www.mozilla.org/projects/xbl/test4/test.html'"/>
<menuitem label="#5 Sticky Notes" oncommand="window._content.location.href='http://www.mozilla.org/projects/xbl/test5/test.html'"/>
</menupopup>
</menu>
2006-09-14 05:59:25 +00:00
<menu label="XUL Test Suite">
<menupopup>
<menuitem label="#1 Stacks" oncommand="window._content.location.href='http://www.mozilla.org/projects/xul/tests/stacks.xul'"/>
<menuitem label="#2 Popups" oncommand="window._content.location.href='http://www.mozilla.org/projects/xul/tests/popups.xul'"/>
<menuitem label="#3 Descriptions and Labels" oncommand="window._content.location.href='http://www.mozilla.org/projects/xul/tests/label.xul'"/>
<menuitem label="#4 Dialog Buttons" oncommand="window._content.location.href='http://www.mozilla.org/projects/xul/tests/buttons.xul'"/>
2006-09-14 05:59:25 +00:00
</menupopup>
</menu>
<menuitem label="Form Manager Samples" oncommand="window._content.location.href='chrome://communicator/locale/wallet/index.html';"/>
<menuitem label="&domviewer.label;" oncommand="window._content.location.href='chrome://communicator/content/domviewer/DOMDataSourceViewer.xul'"/>
<menuitem label="&browserbuster.label;" oncommand="window._content.location.href='http://komodo.mozilla.org/buster/'"/>
<menuitem label="&editor-test-page.label;" oncommand="window.openDialog('chrome://editor/content','_blank','chrome,all,dialog=no','chrome://editor/content/EditorInitPage.html')"/>
<menuitem label="&flush-memory.label;" oncommand="Components.classes['@mozilla.org/xpcom/memory-service;1'].getService(Components.interfaces.nsIMemory).heapMinimize(true);" />
</menupopup>
</menu>
<menu id="qaMenu" accesskey="&QA.accesskey;" label="&QA.label;">
<menupopup>
<menuitem label="&PrecheckinTests.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/precheckin-tests.html'"/>
1999-10-08 23:48:20 +00:00
<menuseparator />
<menuitem label="&QABugCmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/bug-writing-guidelines.html'"/>
<menuitem label="&QATempCmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/help/bug-form.html'"/>
<menuitem label="&QASmokeCmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/smoketests/'"/>
<menuitem label="&QAKnownBugCmd.label;" oncommand="window._content.location.href='http://www.mozilla.org/quality/most-frequent-bugs/'"/>
<menuseparator />
<menuitem label="&strresCmd.label;" oncommand="window._content.location.href='resource:/res/strres-test.xul'"/>
1999-10-12 09:37:37 +00:00
<menuseparator />
<menuitem label="&BloatDumpNewCmd.label;" oncommand="window._content.location.href='about:bloat?new'"/>
<menuitem label="&BloatDumpAllCmd.label;" oncommand="window._content.location.href='about:bloat'"/>
<menuitem label="&BloatClearCmd.label;" oncommand="window._content.location.href='about:bloat?clear'"/>
<menuseparator />
<menu label="Leak Detector">
<menupopup>
<menuitem label="&LeaksDumpLeaksCmd.label;" oncommand="dumpMemoryLeaks();"/>
<menuitem label="&LeaksTraceChromeCmd.label;" oncommand="traceChrome();"/>
<menuitem label="&LeaksTraceDocumentCmd.label;" oncommand="traceDocument();"/>
<menuitem label="&LeaksTraceVerboseCmd.label;" oncommand="traceVerbose(this.getAttribute('checked'))" type="checkbox" checked="false"/>
</menupopup>
</menu>
</menupopup>
</menu>
</menubar>
</overlay>