fix Bug 65428 language="javascript" should be type="application/x-javascript"

r=kerz a=ben
This commit is contained in:
timeless%mac.com 2006-07-27 14:53:29 +00:00
parent 5a1804eb37
commit d503b0d100
10 changed files with 18 additions and 19 deletions

View File

@ -35,7 +35,7 @@
orient="vertical"
onunload="DoUnload();">
<script src="chrome://communicator/content/directory/directory.js"></script>
<script type="application/x-javascript" src="chrome://communicator/content/directory/directory.js"/>
<tree id="tree" datasources="rdf:files" flex="1" style="height:0px;"
container="true" open="true" flags="dont-test-empty"

View File

@ -7,8 +7,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="javascript" src="history-test.js">
</html:script>
<script type="application/x-javascript" src="history-test.js"/>
<html:b>history test</html:b>
<html:hr/>

View File

@ -27,7 +27,7 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<script src="chrome://communicator/content/related/related-panel.js" />
<script type="application/x-javascript" src="chrome://communicator/content/related/related-panel.js" />
<iframe id="daFrame" src="about:blank" flex="1" />
</window>

View File

@ -17,10 +17,10 @@
<popup id="disallowcontext" oncreate="return false;" />
</popupset>
<script type="text/javascript" src="chrome://global/content/nsUserSettings.js"/>
<script type="text/javascript" src="chrome://global/content/nsJSComponentManager.js"/>
<script type="text/javascript" src="chrome://communicator/content/search/internetresults.js"/>
<script type="text/javascript" src="chrome://communicator/content/search/shared.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsJSComponentManager.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/search/internetresults.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/search/shared.js"/>
<box id="multi-results-header">
<text value="&results.header.label;"/>

View File

@ -42,8 +42,8 @@
windowtype="internetsearch:editor" class="dialog"
onload="doLoad()" onunload="doUnload()">
<script language="Javascript" src="chrome://global/content/strres.js"></script>
<script language="Javascript" src="chrome://communicator/content/search/search-editor.js"></script>
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/search/search-editor.js"/>
<keyset id="keyset"/>

View File

@ -33,11 +33,11 @@
orient="vertical" onload="SearchPanelStartup();"
onunload="SearchPanelShutdown();">
<script type="text/javascript" src="chrome://global/content/nsUserSettings.js"/>
<script type="text/javascript" src="chrome://global/content/nsJSComponentManager.js"/>
<script type="text/javascript" src="chrome://global/content/strres.js"/>
<script type="text/javascript" src="chrome://communicator/content/search/search-panel.js"/>
<script type="text/javascript" src="chrome://communicator/content/search/shared.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsJSComponentManager.js"/>
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/search/search-panel.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/search/shared.js"/>
<stringbundle id="searchBundle" src="chrome://communicator/locale/search/search-panel.properties"/>
<stringbundle id="regionalBundle" src="chrome://navigator-region/locale/region.properties"/>

View File

@ -29,7 +29,7 @@
onload="Init();"
onunload="RefreshPanel();;">
<script src="chrome://communicator/content/sidebar/customize-panel.js" />
<script type="application/x-javascript" src="chrome://communicator/content/sidebar/customize-panel.js" />
<browser id="customize_frame" type="content-primary" src="about:blank" flex="1"/>
</window>

View File

@ -37,7 +37,7 @@
width="450" height="400"
persist="screenX screenY width height">
<script language="JavaScript"
<script type="application/x-javascript"
src="chrome://communicator/content/sidebar/customize.js"/>
<keyset id="keyset"/>

View File

@ -35,7 +35,7 @@
title="&sidebar.preview.title.label;"
orient="vertical">
<script src="chrome://communicator/content/sidebar/preview.js" />
<script type="application/x-javascript" src="chrome://communicator/content/sidebar/preview.js" />
<box id="panel-container" orient="vertical">

View File

@ -162,7 +162,7 @@
</menupopup>
<!-- Scripts go last, because they peek at state to tweak menus -->
<script language="JavaScript"
<script type="application/x-javascript"
src="chrome://communicator/content/sidebar/sidebarOverlay.js"/>
</overlay>