Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp

This commit is contained in:
sdwilsh@shawnwilsher.com 2007-05-23 11:08:10 -07:00
Родитель e5894f59fa
Коммит d0398ffc47
39 изменённых файлов: 68 добавлений и 69 удалений

Просмотреть файл

@ -47,7 +47,7 @@
pack="start"
onload="onAlertLoad()">
<script type="application/x-javascript" src="chrome://global/content/alerts/alert.js"/>
<script type="application/javascript" src="chrome://global/content/alerts/alert.js"/>
<box id="alertBox" class="alertBox">
@ -64,6 +64,6 @@
<!-- This method is called inline because we want to make sure we establish the width
and height of the alert before we fire the onload handler. -->
<script type="application/x-javascript">prefillAlertInfo();</script>
<script type="application/javascript">prefillAlertInfo();</script>
</window>

Просмотреть файл

@ -56,8 +56,8 @@
persist="screenX screenY width height sizemode"
onclose="return closeWindow(false);">
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/console.js"/>
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/console.js"/>
<stringbundle id="ConsoleBundle" src="chrome://global/locale/console.properties"/>

Просмотреть файл

@ -57,7 +57,7 @@
buttons="disclosure"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="cookieAcceptDialog.js" type="application/x-javascript"/>
<script src="cookieAcceptDialog.js" type="application/javascript"/>
<stringbundle id="cookieBundle"
src="chrome://cookie/locale/cookieAcceptDialog.properties"/>

Просмотреть файл

@ -55,7 +55,7 @@
persist="screenX screenY width height">
<stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
<script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
<script type="application/javascript" src="chrome://global/content/filepicker.js"/>
<hbox align="center">
<label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>

Просмотреть файл

@ -69,10 +69,10 @@
onload="init();"
onunload="window.XULBrowserWindow.destroy();">
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript" src="chrome://help/content/help.js"/>
<script type="application/javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/javascript" src="chrome://global/content/viewZoomOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<menupopup id="backMenu" position="after_start"
onpopupshowing="return createBackMenu(event);"

Просмотреть файл

@ -56,7 +56,7 @@
persist="screenX screenY"
screenX="24" screenY="24">
<script type="application/x-javascript" src="chrome://global/content/printPageSetup.js"/>
<script type="application/javascript" src="chrome://global/content/printPageSetup.js"/>
<!-- Localizable strings manipulated at run-time. -->
<data id="marginUnits.inches">&marginUnits.inches;</data>

Просмотреть файл

@ -49,7 +49,7 @@
onload="onLoad()"
onunload="onUnload()">
<script type="application/x-javascript" src="chrome://global/content/printPreviewProgress.js"/>
<script type="application/javascript" src="chrome://global/content/printPreviewProgress.js"/>
<grid flex="1">
<columns>

Просмотреть файл

@ -51,7 +51,7 @@
onload="onLoad()"
onunload="onUnload()">
<script type="application/x-javascript" src="chrome://global/content/printProgress.js"/>
<script type="application/javascript" src="chrome://global/content/printProgress.js"/>
<!-- This is non-visible content that simply adds translatable string
into the document so that it is accessible to JS code.

Просмотреть файл

@ -54,8 +54,8 @@
persist="screenX screenY"
screenX="24" screenY="24">
<script type="application/x-javascript" src="chrome://global/content/printdialog.js"/>
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/javascript" src="chrome://global/content/printdialog.js"/>
<script type="application/javascript" src="chrome://global/content/strres.js"/>
<groupbox>
<caption label="&printer.label;"/>

Просмотреть файл

@ -51,8 +51,8 @@
persist="screenX screenY"
screenX="24" screenY="24">
<script type="application/x-javascript" src="chrome://global/content/printjoboptions.js"/>
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/javascript" src="chrome://global/content/printjoboptions.js"/>
<script type="application/javascript" src="chrome://global/content/strres.js"/>
<grid>
<columns>
<column/>

Просмотреть файл

@ -66,13 +66,13 @@
screenX="10" screenY="10"
persist="screenX screenY width height sizemode">
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/x-javascript" src="chrome://global/content/printUtils.js"/>
<script type="application/x-javascript" src="chrome://global/content/viewSource.js"/>
<script type="application/x-javascript" src="chrome://global/content/viewPartialSource.js"/>
<script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/javascript" src="chrome://global/content/printUtils.js"/>
<script type="application/javascript" src="chrome://global/content/viewSource.js"/>
<script type="application/javascript" src="chrome://global/content/viewPartialSource.js"/>
<script type="application/javascript" src="chrome://global/content/viewZoomOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
<stringbundle id="viewSourceBundle" src="chrome://global/locale/viewSource.properties"/>

Просмотреть файл

@ -67,12 +67,12 @@
screenX="10" screenY="10"
persist="screenX screenY width height sizemode">
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/printUtils.js"/>
<script type="application/x-javascript" src="chrome://global/content/viewSource.js"/>
<script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/printUtils.js"/>
<script type="application/javascript" src="chrome://global/content/viewSource.js"/>
<script type="application/javascript" src="chrome://global/content/viewZoomOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<stringbundle id="viewSourceBundle" src="chrome://global/locale/viewSource.properties"/>

Просмотреть файл

@ -71,7 +71,7 @@
<li>&about.license.beforeLink; <a href="about:license">&about.license.linkTitle;</a> &about.license.afterLink;</li>
<li>&about.relnotes.beforeLink; <a id="releaseNotesURL" href="">&about.relnotes.linkTitle;</a> &about.relnotes.afterLink;</li>
<li>&about.buildconfig.beforeLink; <a href="about:buildconfig">&about.buildconfig.linkTitle;</a> &about.buildconfig.afterLink;</li>
<script type="application/x-javascript">
<script type="application/javascript">
// get release notes URL from prefs
try {
var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]

Просмотреть файл

@ -6,7 +6,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://global/content/charsetOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/charsetOverlay.js"/>
<!-- Composer Charset Menu -->
<menu id="composerCharsetMenu" label="&charsetMenu.label;" accesskey="&charsetMenu.accesskey;" datasources="rdf:charset-menu" ref="NC:ComposerCharsetMenuRoot" oncommand="ComposerMultiplexHandler(event)" onpopupshowing="CreateMenu('composer');UpdateMenus()" onpopupshown="CreateMenu('more-menu');">

Просмотреть файл

@ -16,7 +16,7 @@
buttonpack="center"
style="min-width: 29em; min-height: 8.5em; -moz-user-focus: ignore;">
<script type="application/x-javascript" src="chrome://global/content/commonDialog.js"/>
<script type="application/javascript" src="chrome://global/content/commonDialog.js"/>
<hbox flex="1">
<hbox align="start">
@ -64,5 +64,5 @@
So, by calling this inline, we guarantee the textboxes and checkboxes
above will have their bindings before initButtons is called, and the
dialog will be intrinsically sized correctly. -->
<script type="application/x-javascript">showControls();</script>
<script type="application/javascript">showControls();</script>
</dialog>

Просмотреть файл

@ -48,8 +48,8 @@
ondialogaccept="return Save();"
persist="width height">
<script type="application/x-javascript" src="chrome://global/content/customizeCharset.js"/>
<script type="application/x-javascript">
<script type="application/javascript" src="chrome://global/content/customizeCharset.js"/>
<script type="application/javascript">
<![CDATA[
var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
observerService.notifyObservers(null, "charsetmenu-selected", "other");

Просмотреть файл

@ -56,8 +56,8 @@
persist="width height"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://global/content/customizeToolbar.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/javascript" src="chrome://global/content/customizeToolbar.js"/>
<script type="application/javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/>

Просмотреть файл

@ -6,7 +6,7 @@
<overlay id="editMenuOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://global/content/editMenuOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/editMenuOverlay.js"/>
<commandset id="editMenuCommands">
<commandset id="editMenuCommandSetAll" commandupdater="true" events="focus,select"

Просмотреть файл

@ -58,7 +58,7 @@
title="&findDialog.title;"
persist="screenX screenY">
<script type="application/x-javascript" src="chrome://global/content/finddialog.js"/>
<script type="application/javascript" src="chrome://global/content/finddialog.js"/>
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
<hbox flex="1">

Просмотреть файл

@ -1,4 +1,4 @@
<script type="application/x-javascript" src="chrome://global/content/macWindowMenu.js"/>
<script type="application/javascript" src="chrome://global/content/macWindowMenu.js"/>
<commandset id="baseMenuCommandSet">
<command id="minimizeWindow"
label="&minimizeWindow.label;"

Просмотреть файл

@ -43,7 +43,7 @@
<html>
<head>
<script type="application/x-javascript">
<script type="application/javascript">
var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService);
var pluginsbundle = strBundleService.createBundle("chrome://global/locale/plugins.properties");
var regionbundle = strBundleService.createBundle("chrome://global-region/locale/region.properties");
@ -55,7 +55,7 @@
</head>
<body>
<div id="outside">
<script type="application/x-javascript">
<script type="application/javascript">
/* JavaScript to enumerate and display all installed plug-ins

Просмотреть файл

@ -45,7 +45,7 @@
ondialogaccept="return commonDialogOnOK();"
ondialogcancel="return commonDialogOnCancel();">
<script type="application/x-javascript" src="chrome://global/content/selectDialog.js" />
<script type="application/javascript" src="chrome://global/content/selectDialog.js" />
<keyset id="dialogKeys"/>
<vbox style="width: 24em;margin: 5px;">
<label id="info.txt"/>

Просмотреть файл

@ -48,7 +48,7 @@
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="browser" extends="xul:browser">
<implementation type="application/x-javascript" implements="nsIAccessibleProvider, nsIObserver, nsIDOMEventListener">
<implementation type="application/javascript" implements="nsIAccessibleProvider, nsIObserver, nsIDOMEventListener">
<property name="accessibleType" readonly="true">
<getter>
<![CDATA[

Просмотреть файл

@ -6,7 +6,7 @@
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="editor">
<implementation type="application/x-javascript" implements="nsIAccessibleProvider">
<implementation type="application/javascript" implements="nsIAccessibleProvider">
<constructor>
<![CDATA[
// Make window editable immediately only

Просмотреть файл

@ -54,7 +54,7 @@
style="width: 30em;"
buttons="accept" acceptbuttontext="&acceptButton.label;">
<script type="application/x-javascript" src="chrome://mozapps/content/downloads/downloadProperties.js"/>
<script type="application/javascript" src="chrome://mozapps/content/downloads/downloadProperties.js"/>
<keyset id="downloadInfoKeys">
<key id="key_close" key="&cmd.close.commandKey;" oncommand="window.close()" modifiers="accel"/>

Просмотреть файл

@ -58,7 +58,7 @@
ondialogaccept="return dialog.onOK()"
ondialogcancel="return dialog.onCancel()">
<script type="application/x-javascript" src="chrome://mozapps/content/downloads/helperApps.js"/>
<script type="application/javascript" src="chrome://mozapps/content/downloads/helperApps.js"/>
<stringbundle id="strings" src="chrome://mozapps/locale/downloads/unknownContentType.properties"/>

Просмотреть файл

@ -47,8 +47,8 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept" onload="init();" onaccept="close();">
<script type="application/x-javascript" src="chrome://mozapps/content/extensions/about.js"/>
<script type="application/x-javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/javascript" src="chrome://mozapps/content/extensions/about.js"/>
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
<stringbundleset id="aboutSet">
<stringbundle id="extensionsStrings" src="chrome://mozapps/locale/extensions/extensions.properties"/>

Просмотреть файл

@ -61,10 +61,10 @@
onload="Startup();" onunload="Shutdown();"
onclose="return closeWindow(false);">
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/x-javascript" src="chrome://mozapps/content/extensions/extensions.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
<script type="application/javascript" src="chrome://mozapps/content/extensions/extensions.js"/>
<script type="application/javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<stringbundleset id="extensionsSet">
<stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>

Просмотреть файл

@ -45,8 +45,8 @@
onunload="shutdown();"
buttons="accept,cancel" onload="init();">
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript"
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript"
src="chrome://mozapps/content/extensions/list.js"/>
<stringbundle id="extensionsBundle"

Просмотреть файл

@ -58,7 +58,7 @@
onclose="return gUpdateWizard.onWizardClose(event);"
buttons="accept,cancel">
<script type="application/x-javascript" src="chrome://mozapps/content/extensions/update.js"/>
<script type="application/javascript" src="chrome://mozapps/content/extensions/update.js"/>
<stringbundleset id="updateSet">
<stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>

Просмотреть файл

@ -54,9 +54,9 @@
onload="wizardInit()"
onwizardfinish="return wizardFinish();">
<script type="application/x-javascript" src="chrome://mozapps/content/plugins/pluginInstallerWizard.js"/>
<script type="application/x-javascript" src="chrome://mozapps/content/plugins/pluginInstallerDatasource.js"/>
<script type="application/x-javascript" src="chrome://mozapps/content/plugins/pluginInstallerService.js"/>
<script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerWizard.js"/>
<script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerDatasource.js"/>
<script type="application/javascript" src="chrome://mozapps/content/plugins/pluginInstallerService.js"/>
<stringbundleset id="pluginSet">
<stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>

Просмотреть файл

@ -49,7 +49,7 @@
style="width: 40em;"
buttons="cancel">
<script type="application/x-javascript">
<script type="application/javascript">
<![CDATA[
function LOG(string)
{

Просмотреть файл

@ -57,7 +57,7 @@
title="&history.title;"
onload="gUpdateHistory.onLoad();">
<script type="application/x-javascript"
<script type="application/javascript"
src="chrome://mozapps/content/update/history.js"/>
<stringbundle id="updateBundle"

Просмотреть файл

@ -57,7 +57,7 @@
title="&incompatible.title;"
onload="init();">
<script type="application/x-javascript"
<script type="application/javascript"
src="chrome://mozapps/content/update/incompatible.js"/>
<stringbundle id="updateBundle"

Просмотреть файл

@ -62,7 +62,7 @@
onwizardnext="gUpdates.onWizardNext();"
onload="gUpdates.onLoad();">
<script type="application/x-javascript" src="chrome://mozapps/content/update/updates.js"/>
<script type="application/javascript" src="chrome://mozapps/content/update/updates.js"/>
<stringbundleset id="updateSet">
<stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>

Просмотреть файл

@ -44,7 +44,7 @@
<overlay id="dialogOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/dialogOverlay.js"/>
#ifdef XP_MACOSX
#

Просмотреть файл

@ -3,7 +3,7 @@
<overlay id="globalOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
<popupset id="aTooltipSet">
<popup id="aTooltip" class="tooltip" onpopupshowing="return FillInTooltip(document.tooltipNode);" >

Просмотреть файл

@ -20,8 +20,7 @@
<stringbundle id="bundle_profileManager"
src="chrome://mozapps/locale/profile/profileSelection.properties"/>
<script type="application/x-javascript"
src="chrome://mozapps/content/profile/createProfileWizard.js"/>
<script type="application/javascript" src="chrome://mozapps/content/profile/createProfileWizard.js"/>
<wizardpage id="explanation" onpageshow="enableNextButton();">
<description>&profileCreationExplanation_1.text;</description>

Просмотреть файл

@ -68,7 +68,7 @@
<stringbundle id="bundle_brand"
src="chrome://branding/locale/brand.properties"/>
<script type="application/x-javascript" src="chrome://mozapps/content/profile/profileSelection.js"/>
<script type="application/javascript" src="chrome://mozapps/content/profile/profileSelection.js"/>
<description class="label">&pmDescription.label;</description>