Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil
authorNeil Deakin <neil@mozilla.com>
Fri, 04 Apr 2014 13:11:12 -0400
changeset 184979 bbdc558a0bb261e2434a6f974cafcd39f544c639
parent 184978 331ea1caab222674739483fed19da07c47a5e2ab
child 184983 fdf61269816bab847175dfee77dab1fa3b828015
push idunknown
push userunknown
push dateunknown
reviewersneil
bugs475981
milestone31.0a1
Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil
content/base/test/chrome/test_bug339494.xul
content/base/test/chrome/test_bug357450.xul
content/base/test/chrome/test_fileconstructor.xul
content/xul/content/test/test_bug233643.xul
content/xul/document/test/test_bug199692.xul
content/xul/document/test/test_bug311681.xul
content/xul/document/test/test_bug335375.xul
content/xul/document/test/test_bug414907.xul
content/xul/document/test/test_bug497875.xul
content/xul/templates/tests/chrome/test_bug476634.xul
docshell/test/chrome/test_bug112564.xul
docshell/test/chrome/test_bug215405.xul
docshell/test/chrome/test_bug293235.xul
docshell/test/chrome/test_bug294258.xul
docshell/test/chrome/test_bug298622.xul
docshell/test/chrome/test_bug301397.xul
docshell/test/chrome/test_bug303267.xul
docshell/test/chrome/test_bug311007.xul
docshell/test/chrome/test_bug321671.xul
docshell/test/chrome/test_bug360511.xul
docshell/test/chrome/test_bug364461.xul
docshell/test/chrome/test_bug396649.xul
docshell/test/chrome/test_bug453650.xul
docshell/test/chrome/test_bug565388.xul
docshell/test/chrome/test_bug582176.xul
docshell/test/chrome/test_bug662200.xul
docshell/test/chrome/test_bug846906.xul
docshell/test/chrome/test_bug89419.xul
docshell/test/chrome/test_bug92598.xul
docshell/test/chrome/test_mozFrameType.xul
docshell/test/chrome/test_principalInherit.xul
dom/base/test/test_domrequesthelper.xul
dom/events/test/test_bug415498.xul
dom/events/test/test_bug586961.xul
dom/events/test/test_bug602962.xul
dom/events/test/test_bug679494.xul
dom/plugins/test/mochitest/privatemode_perwindowpb.xul
dom/plugins/test/mochitest/test_bug479979.xul
dom/plugins/test/mochitest/test_convertpoint.xul
dom/plugins/test/mochitest/test_crash_notify.xul
dom/plugins/test/mochitest/test_crash_notify_no_report.xul
dom/plugins/test/mochitest/test_crash_submit.xul
dom/plugins/test/mochitest/test_hang_submit.xul
dom/plugins/test/mochitest/test_npruntime.xul
dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul
dom/plugins/test/mochitest/test_wmode.xul
dom/tests/mochitest/chrome/test_bug830396.xul
extensions/spellcheck/tests/chrome/test_add_remove_dictionaries.xul
layout/forms/test/bug665540_window.xul
layout/generic/test/test_bug469613.xul
layout/generic/test/test_bug469774.xul
layout/generic/test/test_bug508115.xul
layout/generic/test/test_bug514732-2.xul
layout/generic/test/test_bug632379.xul
testing/mochitest/chrome/test_sample.xul
toolkit/content/tests/chrome/bug624329_window.xul
toolkit/content/tests/chrome/test_bug263683.xul
toolkit/content/tests/chrome/test_bug304188.xul
toolkit/content/tests/chrome/test_bug331215.xul
toolkit/content/tests/chrome/test_bug360220.xul
toolkit/content/tests/chrome/test_bug360437.xul
toolkit/content/tests/chrome/test_bug365773.xul
toolkit/content/tests/chrome/test_bug366992.xul
toolkit/content/tests/chrome/test_bug409624.xul
toolkit/content/tests/chrome/test_bug429723.xul
toolkit/content/tests/chrome/test_bug437844.xul
toolkit/content/tests/chrome/test_bug451286.xul
toolkit/content/tests/chrome/test_bug451540.xul
toolkit/content/tests/chrome/test_bug570192.xul
toolkit/content/tests/chrome/test_bug792324.xul
toolkit/content/tests/chrome/test_closemenu_attribute.xul
toolkit/content/tests/chrome/test_colorpicker_popup.xul
toolkit/content/tests/chrome/test_findbar.xul
toolkit/content/tests/chrome/test_findbar_events.xul
toolkit/content/tests/chrome/test_largemenu.xul
toolkit/content/tests/chrome/test_menuchecks.xul
toolkit/content/tests/chrome/test_menulist_null_value.xul
toolkit/content/tests/chrome/test_panel_focus.xul
toolkit/content/tests/chrome/test_popup_attribute.xul
toolkit/content/tests/chrome/test_popup_button.xul
toolkit/content/tests/chrome/test_popup_coords.xul
toolkit/content/tests/chrome/test_popup_moveToAnchor.xul
toolkit/content/tests/chrome/test_popup_preventdefault.xul
toolkit/content/tests/chrome/test_popup_preventdefault_chrome.xul
toolkit/content/tests/chrome/test_popup_recreate.xul
toolkit/content/tests/chrome/test_preferences.xul
toolkit/content/tests/chrome/test_tooltip.xul
toolkit/content/tests/chrome/window_panel_focus.xul
toolkit/content/tests/chrome/window_popup_attribute.xul
toolkit/content/tests/chrome/window_popup_button.xul
toolkit/content/tests/chrome/window_popup_preventdefault_chrome.xul
toolkit/content/tests/widgets/test_editor_currentURI.xul
toolkit/content/tests/widgets/test_popupanchor.xul
toolkit/content/tests/widgets/test_popupreflows.xul
toolkit/content/tests/widgets/window_menubar.xul
widget/tests/test_bug343416.xul
widget/tests/test_bug429954.xul
widget/tests/test_bug485118.xul
widget/tests/test_bug517396.xul
widget/tests/test_bug522217.xul
widget/tests/test_bug538242.xul
widget/tests/test_bug586713.xul
widget/tests/test_bug593307.xul
widget/tests/test_bug596600.xul
widget/tests/test_keycodes.xul
widget/tests/test_native_menus.xul
widget/tests/test_native_mouse_mac.xul
widget/tests/test_platform_colors.xul
widget/tests/test_sizemode_events.xul
widget/tests/test_standalone_native_menu.xul
widget/tests/test_taskbar_progress.xul
xpfe/appshell/src/test/test_hiddenPrivateWindow.xul
--- a/content/base/test/chrome/test_bug339494.xul
+++ b/content/base/test/chrome/test_bug339494.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=339494
 -->
 <window title="Mozilla Bug 339494"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 339494</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=339494">Mozilla Bug 339494</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   <xul:hbox id="d"/>
   <xul:hbox id="s"/>
--- a/content/base/test/chrome/test_bug357450.xul
+++ b/content/base/test/chrome/test_bug357450.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=357450
 -->
 
 <window title="Mozilla Bug 357450"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 357450</title>
   <script type="application/javascript" 
 	  src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
   <!-- This file is shared with non-chrome tests -->
   <script type="text/javascript" src="../test_bug357450.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 
 <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=357450"
--- a/content/base/test/chrome/test_fileconstructor.xul
+++ b/content/base/test/chrome/test_fileconstructor.xul
@@ -5,17 +5,16 @@
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=607114.xul
 -->
 <window title="Mozilla Bug 607114"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 607114</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=607114">
    Mozilla Bug 607114</a>
 <p id="display"></p>
--- a/content/xul/content/test/test_bug233643.xul
+++ b/content/xul/content/test/test_bug233643.xul
@@ -1,13 +1,13 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        xmlns:html="http://www.w3.org/1999/xhtml">
+        xmlns:html="http://www.w3.org/1999/xhtml"
         title="Test for Bug 233643">
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=233643
 -->
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
   <!-- NOTE: This testcase depends on the patch for bug 366770
        (ability to apply bindings with data: URIs). -->
--- a/content/xul/document/test/test_bug199692.xul
+++ b/content/xul/document/test/test_bug199692.xul
@@ -6,24 +6,26 @@ https://bugzilla.mozilla.org/show_bug.cg
 -->
 <window title="Test for Bug 199692"
   id="test_bug199692_xul"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-  <bindings xmlns="http://www.mozilla.org/xbl"
-              xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-    <binding id="anon">
-      <content>
-        <xul:label id="anon-label" value="ANON"/>
-      </content>
-    </binding>
-  </bindings>
+  <vbox hidden="true">
+    <bindings xmlns="http://www.mozilla.org/xbl"
+                xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+      <binding id="anon">
+        <content>
+          <xul:label id="anon-label" value="ANON"/>
+        </content>
+      </binding>
+    </bindings>
+  </vbox>
 
 <body id="body" xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=199692">Mozilla Bug 199692</a>
 
 <vbox id="content" style="position: relative;"
 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <xul:label id="non-anon-label" value="a textbox!:" control="textbox"/>
   <xul:textbox id="textbox" multiline="true" rows="4" />
--- a/content/xul/document/test/test_bug311681.xul
+++ b/content/xul/document/test/test_bug311681.xul
@@ -3,17 +3,16 @@
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=311681
 -->
 <window title="Mozilla Bug 311681"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 311681</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=311681">Mozilla Bug 311681</a>
 <script class="testbody" type="text/javascript">
 <![CDATA[
   // Setup script
   SimpleTest.waitForExplicitFinish();
--- a/content/xul/document/test/test_bug335375.xul
+++ b/content/xul/document/test/test_bug335375.xul
@@ -4,17 +4,16 @@
 <?xul-overlay href="overlay1_bug335375.xul"?>
 <?xul-overlay href="overlay2_bug335375.xul"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=335375
 -->
 <window title="Mozilla Bug 335375"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="RunTest();">
-  <title>Mozilla Bug 335375</title>
 
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>      
 
   <script type="application/javascript">
     <![CDATA[
       SimpleTest.waitForExplicitFinish();
 
--- a/content/xul/document/test/test_bug414907.xul
+++ b/content/xul/document/test/test_bug414907.xul
@@ -3,30 +3,32 @@
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=414907
 -->
 <window title="Mozilla Bug 414907"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
-  <bindings xmlns="http://www.mozilla.org/xbl"
-              xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-    <binding id="anon">
-    <implementation>
-      <constructor>
-        <![CDATA[
-          var node = this.firstChild;
-          this.palette = node;
-          this.removeChild(node);
-        ]]>
-      </constructor>
-    </implementation>
-    </binding>
+  <vbox hidden="true">
+    <bindings xmlns="http://www.mozilla.org/xbl" style="display: block;"
+                xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+      <binding id="anon">
+        <implementation>
+          <constructor>
+            <![CDATA[
+              var node = this.firstChild;
+              this.palette = node;
+              this.removeChild(node);
+            ]]>
+          </constructor>
+        </implementation>
+      </binding>
     </bindings>
+  </vbox>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=414907"
      target="_blank">Mozilla Bug 414907</a>
   </body>
 
   <!-- test code goes here -->
--- a/content/xul/document/test/test_bug497875.xul
+++ b/content/xul/document/test/test_bug497875.xul
@@ -4,17 +4,16 @@
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=497875
 -->
 <window title="Mozilla Bug 497875"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 497875</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=497875">Mozilla Bug 497875</a>
 <p id="display"><iframe id="iframe" src="bug497875-iframe.xul"></iframe></p>
 <div id="content" style="display: none">
   
--- a/content/xul/templates/tests/chrome/test_bug476634.xul
+++ b/content/xul/templates/tests/chrome/test_bug476634.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=476634
 -->
 <window title="Mozilla Bug 476634" onload="startup()"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 476634</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" 
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=304188">Mozilla Bug 476634</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/docshell/test/chrome/test_bug112564.xul
+++ b/docshell/test/chrome/test_bug112564.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=112564
 -->
 <window title="Mozilla Bug 112564"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 112564</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=112564">Mozilla Bug 112564</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/docshell/test/chrome/test_bug215405.xul
+++ b/docshell/test/chrome/test_bug215405.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=215405
 -->
 <window title="Mozilla Bug 215405"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 215405</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=215405">Mozilla Bug 215405</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/docshell/test/chrome/test_bug293235.xul
+++ b/docshell/test/chrome/test_bug293235.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=293235.xul
 -->
 <window title="Mozilla Bug 293235"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 293235</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=293235">
    Mozilla Bug 293235</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug294258.xul
+++ b/docshell/test/chrome/test_bug294258.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=294258.xul
 -->
 <window title="Mozilla Bug 294258"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 294258</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=294258">
    Mozilla Bug 294258</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug298622.xul
+++ b/docshell/test/chrome/test_bug298622.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=298622.xul
 -->
 <window title="Mozilla Bug 298622"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 298622</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=298622">
    Mozilla Bug 298622</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug301397.xul
+++ b/docshell/test/chrome/test_bug301397.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=301397.xul
 -->
 <window title="Mozilla Bug 301397"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 301397</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=301397">
    Mozilla Bug 301397</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug303267.xul
+++ b/docshell/test/chrome/test_bug303267.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=303267.xul
 -->
 <window title="Mozilla Bug 303267"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 303267</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=303267">Mozilla Bug 303267</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/docshell/test/chrome/test_bug311007.xul
+++ b/docshell/test/chrome/test_bug311007.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=311007.xul
 -->
 <window title="Mozilla Bug 311007"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 311007</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/MochiKit/packed.js"></script>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=311007">
--- a/docshell/test/chrome/test_bug321671.xul
+++ b/docshell/test/chrome/test_bug321671.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=321671.xul
 -->
 <window title="Mozilla Bug 321671"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 321671</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=321671">
    Mozilla Bug 321671</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug360511.xul
+++ b/docshell/test/chrome/test_bug360511.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=360511.xul
 -->
 <window title="Mozilla Bug 360511"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 360511</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js">
           </script>
         
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=360511">
    Mozilla Bug 360511</a>
--- a/docshell/test/chrome/test_bug364461.xul
+++ b/docshell/test/chrome/test_bug364461.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=364461
 -->
 <window title="Mozilla Bug 364461"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 364461</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=364461">Mozilla Bug 364461</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/docshell/test/chrome/test_bug396649.xul
+++ b/docshell/test/chrome/test_bug396649.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=396649.xul
 -->
 <window title="Mozilla Bug 396649"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 396649</title>
   <script type="application/javascript"
           src=
           "chrome://mochikit/content/tests/SimpleTest/SimpleTest.js">
   </script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=396649">
--- a/docshell/test/chrome/test_bug453650.xul
+++ b/docshell/test/chrome/test_bug453650.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=453650
 -->
 <window title="Mozilla Bug 453650"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 453650</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
   <!-- test code goes here -->
   <script type="application/javascript">
   <![CDATA[
 
   /** Test for Bug 453650 **/
--- a/docshell/test/chrome/test_bug565388.xul
+++ b/docshell/test/chrome/test_bug565388.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=565388
 -->
 <window title="Mozilla Bug 565388"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 565388</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
   <!-- test code goes here -->
   <script type="application/javascript">
   <![CDATA[
 
   /** Test for Bug 565388 **/
--- a/docshell/test/chrome/test_bug582176.xul
+++ b/docshell/test/chrome/test_bug582176.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=582176.xul
 -->
 <window title="Mozilla Bug 582176"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 582176</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=582176">
    Mozilla Bug 582176</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug662200.xul
+++ b/docshell/test/chrome/test_bug662200.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=662200.xul
 -->
 <window title="Mozilla Bug 662200"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 662200</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=662200">
    Mozilla Bug 662200</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug846906.xul
+++ b/docshell/test/chrome/test_bug846906.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=846906
 -->
 <window title="Mozilla Bug 846906"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 846906</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
   <!-- test code goes here -->
   <script type="application/javascript">
   <![CDATA[
 
   /** Test for Bug 846906 **/
--- a/docshell/test/chrome/test_bug89419.xul
+++ b/docshell/test/chrome/test_bug89419.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=89419.xul
 -->
 <window title="Mozilla Bug 89419"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 89419</title>
   <script type="application/javascript"
     src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=89419">
    Mozilla Bug 89419</a>
 <p id="display"></p>
--- a/docshell/test/chrome/test_bug92598.xul
+++ b/docshell/test/chrome/test_bug92598.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=92598
 -->
 <window title="Mozilla Bug 92598"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 92598</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=92598">Mozilla Bug 92598</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/docshell/test/chrome/test_mozFrameType.xul
+++ b/docshell/test/chrome/test_mozFrameType.xul
@@ -4,20 +4,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=769771
 -->
 <window title="Test mozFrameType attribute"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test mozFrameType attribute</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
 </div>
 <pre id="test">
--- a/docshell/test/chrome/test_principalInherit.xul
+++ b/docshell/test/chrome/test_principalInherit.xul
@@ -4,20 +4,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=719994
 -->
 <window title="Test principal inheriting"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test principal inheriting</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
 </div>
 <pre id="test">
--- a/dom/base/test/test_domrequesthelper.xul
+++ b/dom/base/test/test_domrequesthelper.xul
@@ -4,17 +4,16 @@
   http://creativecommons.org/publicdomain/zero/1.0/
 -->
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="DOMRequestHelper Test"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="start();">
-  <title>DOMRequestHelper Test</title>
 
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <script type="application/javascript">
   <![CDATA[
     const Cc = Components.classes;
     const Cu = Components.utils;
--- a/dom/events/test/test_bug415498.xul
+++ b/dom/events/test/test_bug415498.xul
@@ -4,17 +4,16 @@
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=415498
 -->
 <window title="Mozilla Bug 415498"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   onload="init()">
 
-  <title>Test for Bug 415498</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript"
           src="chrome://mochikit/content/chrome-harness.js"></script>
 <body  xmlns="http://www.w3.org/1999/xhtml">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=415498">Mozilla Bug 415498</a>
 
   <p id="display"></p>
--- a/dom/events/test/test_bug586961.xul
+++ b/dom/events/test/test_bug586961.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=586961
 -->
 <window title="Mozilla Bug 586961"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 586961</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
 <body  xmlns="http://www.w3.org/1999/xhtml">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=586961">Mozilla Bug 586961</a>
 
   <p id="display"></p>
 <div id="content" style="display: none">
 </div>
--- a/dom/events/test/test_bug602962.xul
+++ b/dom/events/test/test_bug602962.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=602962
 -->
 <window title="Mozilla Bug 602962" onload="openWindow()"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 602962</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=602962">Mozilla Bug 602962</a>
   <p id="display"></p>
 <div id="content" style="display: none">
 </div>
 </body>
--- a/dom/events/test/test_bug679494.xul
+++ b/dom/events/test/test_bug679494.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=67949
 -->
 <window title="Mozilla Bug 67949" onload="doTest();"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 67949</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=67949">Mozilla Bug 67949</a>
   <p id="display"></p>
 <div id="content" style="display: none">
   <iframe id="contentframe" src="http://mochi.test:8888/tests/content/event/test/file_679494.html"></iframe>
 </div>
--- a/dom/plugins/test/mochitest/privatemode_perwindowpb.xul
+++ b/dom/plugins/test/mochitest/privatemode_perwindowpb.xul
@@ -1,13 +1,11 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="NPAPI Private Mode Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>NPAPI Private Mode Tests</title>
 <body xmlns="http://www.w3.org/1999/xhtml">
 <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
 <embed id="plugin2" type="application/x-test" width="200" height="200"></embed>
 </body>
 </window>
--- a/dom/plugins/test/mochitest/test_bug479979.xul
+++ b/dom/plugins/test/mochitest/test_bug479979.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="NPAPI Set Undefined Value Test"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>NPAPI Set Undefined Value Test</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript" src="utils.js"></script>
 <body xmlns="http://www.w3.org/1999/xhtml" onload="runTests()">
 <script class="testbody" type="application/javascript">
 <![CDATA[
 SimpleTest.waitForExplicitFinish();
 setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
--- a/dom/plugins/test/mochitest/test_convertpoint.xul
+++ b/dom/plugins/test/mochitest/test_convertpoint.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Basic Plugin Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>NPN_ConvertPoint Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
 <body xmlns="http://www.w3.org/1999/xhtml" onload="runTests()">
 <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
--- a/dom/plugins/test/mochitest/test_crash_notify.xul
+++ b/dom/plugins/test/mochitest/test_crash_notify.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Basic Plugin Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>Plugin Crash Notification Test</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
 <body xmlns="http://www.w3.org/1999/xhtml" onload="runTests()">
 <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
--- a/dom/plugins/test/mochitest/test_crash_notify_no_report.xul
+++ b/dom/plugins/test/mochitest/test_crash_notify_no_report.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Basic Plugin Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>Plugin Crash Notification Test</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
 <body xmlns="http://www.w3.org/1999/xhtml" onload="runTests()">
 <embed id="plugin1" type="application/x-test" width="200" height="200"></embed>
--- a/dom/plugins/test/mochitest/test_crash_submit.xul
+++ b/dom/plugins/test/mochitest/test_crash_submit.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Basic Plugin Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>Plugin Crash Notification Test</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
--- a/dom/plugins/test/mochitest/test_hang_submit.xul
+++ b/dom/plugins/test/mochitest/test_hang_submit.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Basic Plugin Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>Plugin Hang Submission Test</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
--- a/dom/plugins/test/mochitest/test_npruntime.xul
+++ b/dom/plugins/test/mochitest/test_npruntime.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Basic Plugin Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>Basic Plugin Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
 <body xmlns="http://www.w3.org/1999/xhtml" onload="runTests()">
 <embed id="plugin1" type="application/x-test" width="400" height="400"></embed>
--- a/dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul
+++ b/dom/plugins/test/mochitest/test_privatemode_perwindowpb.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="NPAPI Private Mode Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>NPAPI Private Mode Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript"
           src="chrome://mochikit/content/chrome-harness.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
--- a/dom/plugins/test/mochitest/test_wmode.xul
+++ b/dom/plugins/test/mochitest/test_wmode.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="WMode Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <title>WMode Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript" src="utils.js"></script>
   <script type="application/javascript">
     setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
 <body xmlns="http://www.w3.org/1999/xhtml" onload="runTests()">
 <embed id="plugin2" type="application/x-test" width="400" height="400" wmode="window"></embed>
--- a/dom/tests/mochitest/chrome/test_bug830396.xul
+++ b/dom/tests/mochitest/chrome/test_bug830396.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=830396
 -->
 <window title="Mozilla Bug 830396"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 830396</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 <script class="testbody" type="application/javascript">
 <![CDATA[
 
 function runTests()
 {
   var doc = frames[0].document;
--- a/extensions/spellcheck/tests/chrome/test_add_remove_dictionaries.xul
+++ b/extensions/spellcheck/tests/chrome/test_add_remove_dictionaries.xul
@@ -1,15 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Add and remove dictionaries test"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="RunTest();">
-  <title>Add and remove dictionaries test</title>
 
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <script type="application/javascript">
   <![CDATA[
 SimpleTest.waitForExplicitFinish();
 
--- a/layout/forms/test/bug665540_window.xul
+++ b/layout/forms/test/bug665540_window.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Test Select Dropdown Positioning in Fullscreen Window"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         sizemode="fullscreen">
 
-  <title><label>Test Select Dropdown Positioning in Fullscreen Window</label></title>
-
   <script>
     opener.SimpleTest.waitForFocus(opener.childFocused, window);
   </script>
 
   <body xmlns="http://www.w3.org/1999/xhtml">
     <select id="select" style="-moz-appearance:none">
       <option id="optiona">a</option>
       <option>b</option>
--- a/layout/generic/test/test_bug469613.xul
+++ b/layout/generic/test/test_bug469613.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=469613
 -->
 <window title="Mozilla Bug 469613"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 469613</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
 <body  xmlns="http://www.w3.org/1999/xhtml">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=469613">Mozilla Bug 469613</a>
 
   <p id="display"></p>
 <div id="content" style="display: none">
 </div>
--- a/layout/generic/test/test_bug469774.xul
+++ b/layout/generic/test/test_bug469774.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=469774
 -->
 <window title="Mozilla Bug 469774"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 469774</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
 
 <vbox height="50"/>
 
 <menupopup id="popup">
   <textbox id="textbox"/>
 </menupopup>
--- a/layout/generic/test/test_bug508115.xul
+++ b/layout/generic/test/test_bug508115.xul
@@ -4,17 +4,16 @@
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=508115
 -->
 <window title="Mozilla Bug 508115"
   onload="setTimeout(doTest, 0)"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 508115</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
 <body  xmlns="http://www.w3.org/1999/xhtml">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=508115">Mozilla Bug 508115</a>
 
   <p id="display"></p>
 <div id="content" style="display: none">
 </div>
--- a/layout/generic/test/test_bug514732-2.xul
+++ b/layout/generic/test/test_bug514732-2.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=514732
 -->
 <window title="Mozilla Bug 514732"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 514732</title>
   <script type="application/javascript"
           src= "chrome://mochikit/content/tests/SimpleTest/SimpleTest.js">
   </script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=514732">
    Mozilla Bug 514732</a>
--- a/layout/generic/test/test_bug632379.xul
+++ b/layout/generic/test/test_bug632379.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=632379
 -->
 <window title="Mozilla Bug 632379"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 632379</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
 
 <toolbox flex="1">
   <menubar>
     <menu label="MENU" accesskey="m" id="mainMenu">
       <menupopup maxheight="100" onpopupshown="openSubmenu()">
         <menu label="menu1" accesskey="1" id="menu1">
--- a/testing/mochitest/chrome/test_sample.xul
+++ b/testing/mochitest/chrome/test_sample.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=8675309
 -->
 <window title="Mozilla Bug 8675309"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 8675309</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=8675309">Mozilla Bug 8675309</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   
--- a/toolkit/content/tests/chrome/bug624329_window.xul
+++ b/toolkit/content/tests/chrome/bug624329_window.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Test for bug 624329 context menu position"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         context="menu">
 
-  <title><label>Test for bug 624329 context menu position</label></title>
-
   <script>
     opener.SimpleTest.waitForFocus(opener.childFocused, window);
   </script>
 
   <menupopup id="menu">
     <!-- The bug demonstrated only when the accesskey was presented separately
          from the label.
          e.g. because the accesskey is not a letter in the label.
--- a/toolkit/content/tests/chrome/test_bug263683.xul
+++ b/toolkit/content/tests/chrome/test_bug263683.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=263683
 -->
 <window title="Mozilla Bug 263683"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 263683</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
   <body  xmlns="http://www.w3.org/1999/xhtml">
     <a target="_blank" 
        href="https://bugzilla.mozilla.org/show_bug.cgi?id=263683">
       Mozilla Bug 263683
     </a>
--- a/toolkit/content/tests/chrome/test_bug304188.xul
+++ b/toolkit/content/tests/chrome/test_bug304188.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=304188
 -->
 <window title="Mozilla Bug 304188"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 304188</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" 
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=304188">Mozilla Bug 304188</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/toolkit/content/tests/chrome/test_bug331215.xul
+++ b/toolkit/content/tests/chrome/test_bug331215.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=331215
 -->
 <window title="Mozilla Bug 331215"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 331215</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" 
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=331215">Mozilla Bug 331215</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/toolkit/content/tests/chrome/test_bug360220.xul
+++ b/toolkit/content/tests/chrome/test_bug360220.xul
@@ -1,19 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=360220
 -->
 <window title="Mozilla Bug 360220"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 360220</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=360220">Mozilla Bug 360220</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   
 </div>
--- a/toolkit/content/tests/chrome/test_bug360437.xul
+++ b/toolkit/content/tests/chrome/test_bug360437.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=360437
 -->
 <window title="Mozilla Bug 360437"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 360437</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" 
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=360437">Mozilla Bug 360437</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/toolkit/content/tests/chrome/test_bug365773.xul
+++ b/toolkit/content/tests/chrome/test_bug365773.xul
@@ -1,19 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=365773
 -->
 <window title="Mozilla Bug 365773"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 365773</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=365773">Mozilla Bug 365773</a>
 <p id="display">
   <radiogroup id="group" collapsed="true" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     <radio id="item" label="Item"/>
   </radiogroup>
--- a/toolkit/content/tests/chrome/test_bug366992.xul
+++ b/toolkit/content/tests/chrome/test_bug366992.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=366992
 -->
 <window title="Mozilla Bug 366992"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 366992</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" 
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=366992">Mozilla Bug 366992</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/toolkit/content/tests/chrome/test_bug409624.xul
+++ b/toolkit/content/tests/chrome/test_bug409624.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=409624
 -->
 <window title="Mozilla Bug 409624"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 409624</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
   <body  xmlns="http://www.w3.org/1999/xhtml">
     <a target="_blank"
        href="https://bugzilla.mozilla.org/show_bug.cgi?id=409624">
       Mozilla Bug 409624
     </a>
--- a/toolkit/content/tests/chrome/test_bug429723.xul
+++ b/toolkit/content/tests/chrome/test_bug429723.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=429723
 -->
 <window title="Mozilla Bug 429723"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 429723</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> 
      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" 
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=429723">Mozilla Bug 429723</a>
 <p id="display"></p>
--- a/toolkit/content/tests/chrome/test_bug437844.xul
+++ b/toolkit/content/tests/chrome/test_bug437844.xul
@@ -3,20 +3,18 @@
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=437844
 https://bugzilla.mozilla.org/show_bug.cgi?id=348233
 -->
 <window title="Mozilla Bug 437844 and Bug 348233"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 437844 and Bug 348233</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" 
           src="chrome://mochikit/content/chrome-harness.js"></script>
   <script type="application/javascript"
           src="RegisterUnregisterChrome.js"></script>
 
   <body  xmlns="http://www.w3.org/1999/xhtml">
--- a/toolkit/content/tests/chrome/test_bug451286.xul
+++ b/toolkit/content/tests/chrome/test_bug451286.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=451286
 -->
 <window title="Mozilla Bug 451286"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 451286</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
 
   <body  xmlns="http://www.w3.org/1999/xhtml">
     <a target="_blank" 
        href="https://bugzilla.mozilla.org/show_bug.cgi?id=451286">
--- a/toolkit/content/tests/chrome/test_bug451540.xul
+++ b/toolkit/content/tests/chrome/test_bug451540.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=451540
 -->
 <window title="Mozilla Bug 451540"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 451540</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
   <body  xmlns="http://www.w3.org/1999/xhtml">
     <a target="_blank" 
        href="https://bugzilla.mozilla.org/show_bug.cgi?id=451540">
       Mozilla Bug 451540
     </a>
--- a/toolkit/content/tests/chrome/test_bug570192.xul
+++ b/toolkit/content/tests/chrome/test_bug570192.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=570192
 -->
 <window title="Mozilla Bug 558406"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 570192</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
   <script type="application/javascript"
           src="RegisterUnregisterChrome.js"></script>
 
   <body  xmlns="http://www.w3.org/1999/xhtml">
--- a/toolkit/content/tests/chrome/test_bug792324.xul
+++ b/toolkit/content/tests/chrome/test_bug792324.xul
@@ -2,17 +2,16 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=792324
 -->
 <window title="Mozilla Bug 792324"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 792324</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
 <body  xmlns="http://www.w3.org/1999/xhtml">
   <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=792324">Mozilla Bug 792324</a>
 
   <p id="display"></p>
 <div id="content" style="display: none">
 </div>
--- a/toolkit/content/tests/chrome/test_closemenu_attribute.xul
+++ b/toolkit/content/tests/chrome/test_closemenu_attribute.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Menu closemenu Attribute Tests"
   onload="setTimeout(nextTest, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Menulist Key Navigation Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
 
 <button id="menu" type="menu" label="Menu" onpopuphidden="popupHidden(event)">
   <menupopup id="p1" onpopupshown="if (event.target == this) this.firstChild.open = true">
     <menu id="l1" label="One">
       <menupopup id="p2" onpopupshown="if (event.target == this) this.firstChild.open = true">
         <menu id="l2" label="Two">
--- a/toolkit/content/tests/chrome/test_colorpicker_popup.xul
+++ b/toolkit/content/tests/chrome/test_colorpicker_popup.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Colorpicker Tests"
   onload="setTimeout(runTests, 0);"
   onpopupshown="popupShown();"
   onpopuphidden="popupHiding();"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Colorpicker Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
 
 <colorpicker id="colorpicker-popup" type="button" color="#FF0000" tabindex="1"/>
 
 <script class="testbody" type="application/javascript">
 <![CDATA[
 
--- a/toolkit/content/tests/chrome/test_findbar.xul
+++ b/toolkit/content/tests/chrome/test_findbar.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet 
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=288254
 -->
 <window title="Mozilla Bug 288254"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 288254</title>
   <script type="application/javascript" 
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" 
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=288254">Mozilla Bug 288254</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/toolkit/content/tests/chrome/test_findbar_events.xul
+++ b/toolkit/content/tests/chrome/test_findbar_events.xul
@@ -2,20 +2,18 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet
   href="chrome://mochikit/content/tests/SimpleTest/test.css"
   type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=793275
 -->
 <window title="Mozilla Bug 793275"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 793275</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
   <body  xmlns="http://www.w3.org/1999/xhtml">
     <a target="_blank"
        href="https://bugzilla.mozilla.org/show_bug.cgi?id=793275">
       Mozilla Bug 793275
     </a>
--- a/toolkit/content/tests/chrome/test_largemenu.xul
+++ b/toolkit/content/tests/chrome/test_largemenu.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Large Menu Tests"
   onload="setTimeout(runTest, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Large Menu Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
 <script>
 SimpleTest.waitForExplicitFinish();
 function runTest()
 {
   window.open("window_largemenu.xul", "_blank", "chrome,width=200,height=200");
--- a/toolkit/content/tests/chrome/test_menuchecks.xul
+++ b/toolkit/content/tests/chrome/test_menuchecks.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Menu Checkbox and Radio Tests"
   onload="runTest()"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Menu Checkbox and Radio Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
 
   <hbox>
     <button id="menu" type="menu" label="View">
       <menupopup id="popup" onpopupshown="popupShown()" onpopuphidden="popupHidden()">
         <menuitem id="toolbar" label="Show Toolbar" type="checkbox"/>
         <menuitem id="statusbar" label="Show Status Bar" type="checkbox" checked="true"/>
--- a/toolkit/content/tests/chrome/test_menulist_null_value.xul
+++ b/toolkit/content/tests/chrome/test_menulist_null_value.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Menulist value property"
   onload="setTimeout(runTests, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Menulist value property</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
 
 <menulist id="list">
   <menupopup>
     <menuitem id="i0" label="Zero" value="0"/>
     <menuitem id="i1" label="One" value="item1"/>
     <menuitem id="i2" label="Two" value="item2"/>
--- a/toolkit/content/tests/chrome/test_panel_focus.xul
+++ b/toolkit/content/tests/chrome/test_panel_focus.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Panel Focus Tests"
   onload="setTimeout(runTest, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Panel Focus Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
 
 <script>
 // use a chrome window for this test as the focus in content windows can be
 // adjusted by the current selection position
--- a/toolkit/content/tests/chrome/test_popup_attribute.xul
+++ b/toolkit/content/tests/chrome/test_popup_attribute.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Popup Attribute Tests"
   onload="setTimeout(runTest, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Attribute Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <script>
 SimpleTest.waitForExplicitFinish();
 function runTest()
 {
   window.open("window_popup_attribute.xul", "_blank", "width=600,height=700");
 }
--- a/toolkit/content/tests/chrome/test_popup_button.xul
+++ b/toolkit/content/tests/chrome/test_popup_button.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Menu Button Popup Tests"
   onload="setTimeout(runTest, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Menu Button Popup Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <script>
 SimpleTest.waitForExplicitFinish();
 function runTest()
 {
   window.open("window_popup_button.xul", "_blank", "width=700,height=700");
 }
--- a/toolkit/content/tests/chrome/test_popup_coords.xul
+++ b/toolkit/content/tests/chrome/test_popup_coords.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Popup Coordinate Tests"
   onload="setTimeout(openThePopup, 0, 'outer');"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
 
 <deck style="margin-top: 5px; padding-top: 5px;">
   <label id="outer" popup="outerpopup" value="Popup"/>
 </deck>
 
 <panel id="outerpopup"
--- a/toolkit/content/tests/chrome/test_popup_moveToAnchor.xul
+++ b/toolkit/content/tests/chrome/test_popup_moveToAnchor.xul
@@ -1,21 +1,20 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup moveToAnchor Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
 
 <vbox align="start">
-  <button id="button1" label="Button 1" style="margin-top: 40px;"/>
-  <button id="button2" label="Button 2" style="margin-top: 50px;"/>
+  <button id="button1" label="Button 1" style="margin-top: 50px;"/>
+  <button id="button2" label="Button 2" style="margin-top: 60px;"/>
 </vbox>
 
 <menupopup id="popup" onpopupshown="popupshown()" onpopuphidden="SimpleTest.finish()">
   <menuitem label="One"/>
   <menuitem label="Two"/>
 </menupopup>
 
 <script>
--- a/toolkit/content/tests/chrome/test_popup_preventdefault.xul
+++ b/toolkit/content/tests/chrome/test_popup_preventdefault.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Popup Prevent Default Tests"
   onload="setTimeout(runTest, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Prevent Default Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
 
 <!--
   This tests checks that preventDefault can be called on a popupshowing
   event and that preventDefault has no effect for the popuphiding event.
   -->
 
 <script>
--- a/toolkit/content/tests/chrome/test_popup_preventdefault_chrome.xul
+++ b/toolkit/content/tests/chrome/test_popup_preventdefault_chrome.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Popup Attribute Tests"
   onload="setTimeout(runTest, 0);"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Attribute Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
 <script>
 SimpleTest.waitForExplicitFinish();
 function runTest()
 {
   window.open("window_popup_preventdefault_chrome.xul", "_blank", "chrome,width=600,height=600");
--- a/toolkit/content/tests/chrome/test_popup_recreate.xul
+++ b/toolkit/content/tests/chrome/test_popup_recreate.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Popup Recreate Test"
   onload="setTimeout(init, 0)"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Recreate Test</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>      
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
 
 <!--
   This is a test for bug 388361.
 
   This test checks that a menulist's popup is properly created and sized when
   the popup node is removed and another added in its place.
--- a/toolkit/content/tests/chrome/test_preferences.xul
+++ b/toolkit/content/tests/chrome/test_preferences.xul
@@ -1,16 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Preferences Window Tests"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="RunTest();">
-  <title>Preferences Window Tests</title>
 
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <script type="application/javascript">
   <![CDATA[
     if (navigator.platform.startsWith("Mac")) {
       SimpleTest.expectAssertions(4);
--- a/toolkit/content/tests/chrome/test_tooltip.xul
+++ b/toolkit/content/tests/chrome/test_tooltip.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Tooltip Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Tooltip Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <script type="application/javascript" src="popup_shared.js"></script>
 
 <tooltip id="thetooltip">
   <label id="label" value="This is a tooltip"/>
 </tooltip>
 
--- a/toolkit/content/tests/chrome/window_panel_focus.xul
+++ b/toolkit/content/tests/chrome/window_panel_focus.xul
@@ -3,18 +3,16 @@
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Panel Focus Tests"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
 
-  <title>Panel Focus Tests</title>
-
 <checkbox id="b1" label="Item 1"/>
 
 <!-- Focus should be in this order: 2 6 3 8 1 4 5 7 9 -->
 <panel id="panel" norestorefocus="true" onpopupshown="panelShown()" onpopuphidden="panelHidden()">
   <button id="t1" label="Button One"/>
   <button id="t2" tabindex="1" label="Button Two" onblur="gButtonBlur++;"/>
   <button id="t3" tabindex="2" label="Button Three"/>
   <button id="t4" tabindex="0" label="Button Four"/>
--- a/toolkit/content/tests/chrome/window_popup_attribute.xul
+++ b/toolkit/content/tests/chrome/window_popup_attribute.xul
@@ -1,15 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Popup Attribute Tests"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Attribute Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
   <script type="application/javascript" src="popup_shared.js"></script>      
   <script type="application/javascript" src="popup_trigger.js"></script>      
 
 <script>
 window.opener.SimpleTest.waitForFocus(runTests, window);
 </script>
 
--- a/toolkit/content/tests/chrome/window_popup_button.xul
+++ b/toolkit/content/tests/chrome/window_popup_button.xul
@@ -1,15 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Popup Tests"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>      
   <script type="application/javascript" src="popup_shared.js"></script>      
   <script type="application/javascript" src="popup_trigger.js"></script>
 
 <script>
 window.opener.SimpleTest.waitForFocus(runTests, window);
 </script>
 
--- a/toolkit/content/tests/chrome/window_popup_preventdefault_chrome.xul
+++ b/toolkit/content/tests/chrome/window_popup_preventdefault_chrome.xul
@@ -1,16 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <window title="Popup Prevent Default Tests"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Prevent Default Tests</title>
-
 <!--
   This tests checks that preventDefault can be called on a popupshowing
   event or popuphiding event to prevent the default behaviour.
   -->
 
 <script>
 
 var gBlockShowing = true;
--- a/toolkit/content/tests/widgets/test_editor_currentURI.xul
+++ b/toolkit/content/tests/widgets/test_editor_currentURI.xul
@@ -1,16 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin"
                  type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         title="Editor currentURI Tests" onload="runTest();">
-  <title>Editor currentURI Tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"/>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <body xmlns="http://www.w3.org/1999/xhtml">
   <p/>
   <editor xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
--- a/toolkit/content/tests/widgets/test_popupanchor.xul
+++ b/toolkit/content/tests/widgets/test_popupanchor.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Popup Anchor Tests"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Popup Tests</title>
-
   <panel id="testPanel"
          type="arrow"
          noautohide="true">
   </panel>
 
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <script>
--- a/toolkit/content/tests/widgets/test_popupreflows.xul
+++ b/toolkit/content/tests/widgets/test_popupreflows.xul
@@ -1,18 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
 
 <window title="Popup Reflow Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Reflow Tests</title>
-
   <panel id="testPanel"
          type="arrow"
          noautohide="true">
   </panel>
 
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <script>
--- a/toolkit/content/tests/widgets/window_menubar.xul
+++ b/toolkit/content/tests/widgets/window_menubar.xul
@@ -1,19 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 
 <!-- the condition in the focus event handler is because pressing Tab
      unfocuses and refocuses the window on Windows -->
 
 <window title="Popup Tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Popup Tests</title>
   <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <script type="application/javascript" src="popup_shared.js"></script>
 
 <!--
   Need to investigate these tests a bit more. Some of the accessibility events
   are firing multiple times or in different orders in different circumstances.
   Note that this was also the case before bug 279703.
   -->
--- a/widget/tests/test_bug343416.xul
+++ b/widget/tests/test_bug343416.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=343416
 -->
 <window title="Mozilla Bug 343416"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 343416</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=343416">Mozilla Bug 343416</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   
--- a/widget/tests/test_bug429954.xul
+++ b/widget/tests/test_bug429954.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=429954
 -->
 <window title="Mozilla Bug 429954"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 429954</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
--- a/widget/tests/test_bug485118.xul
+++ b/widget/tests/test_bug485118.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=485118
 -->
 <window title="Mozilla Bug 485118"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 485118</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
--- a/widget/tests/test_bug517396.xul
+++ b/widget/tests/test_bug517396.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=517396
 -->
 <window title="Mozilla Bug 517396"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 517396</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
--- a/widget/tests/test_bug522217.xul
+++ b/widget/tests/test_bug522217.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=522217
 -->
 <window title="Mozilla Bug 522217"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 522217</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
--- a/widget/tests/test_bug538242.xul
+++ b/widget/tests/test_bug538242.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=538242
 -->
 <window title="Mozilla Bug 538242"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 538242</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
--- a/widget/tests/test_bug586713.xul
+++ b/widget/tests/test_bug586713.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Native menu system tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Native menu system tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
   
 </div>
--- a/widget/tests/test_bug593307.xul
+++ b/widget/tests/test_bug593307.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=593307
 -->
 <window title="Mozilla Bug 593307"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 593307</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <div id="content" style="display: none">
   
 </div>
 <pre id="test">
--- a/widget/tests/test_bug596600.xul
+++ b/widget/tests/test_bug596600.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Native mouse event tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for bug 596600</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
 
 </div>
--- a/widget/tests/test_keycodes.xul
+++ b/widget/tests/test_keycodes.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Key event tests"
   onload="runTest()"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Key event tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/NativeKeyCodes.js" />
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js" />
 
 <keyset>
--- a/widget/tests/test_native_menus.xul
+++ b/widget/tests/test_native_menus.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Native menu system tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Native menu system tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
   
 </div>
--- a/widget/tests/test_native_mouse_mac.xul
+++ b/widget/tests/test_native_mouse_mac.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Native mouse event tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Native mouse event tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
 
 </div>
--- a/widget/tests/test_platform_colors.xul
+++ b/widget/tests/test_platform_colors.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Mac platform colors"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Mac platform colors</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=518395">Mozilla Bug 518395</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   
--- a/widget/tests/test_sizemode_events.xul
+++ b/widget/tests/test_sizemode_events.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Test for bug 715867"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for bug 715867</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
 
 </div>
--- a/widget/tests/test_standalone_native_menu.xul
+++ b/widget/tests/test_standalone_native_menu.xul
@@ -1,17 +1,15 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Standalone Native Menu tests"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Native menu system tests</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <p id="display"></p>
 <div id="content" style="display: none">
   
 </div>
--- a/widget/tests/test_taskbar_progress.xul
+++ b/widget/tests/test_taskbar_progress.xul
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <window title="Taskbar Previews Test"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   onload="loaded();">
 
-  <title>Progress - yeah!</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
   <script class="testbody" type="application/javascript">
   <![CDATA[
     let Cc = Components.classes;
     let Ci = Components.interfaces;
     let Cu = Components.utils;
     Cu.import("resource://gre/modules/XPCOMUtils.jsm");
--- a/xpfe/appshell/src/test/test_hiddenPrivateWindow.xul
+++ b/xpfe/appshell/src/test/test_hiddenPrivateWindow.xul
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=815847
 -->
 <window title="Mozilla Bug 815847"
-  xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <title>Test for Bug 815847</title>
   <script type="application/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=815847">Mozilla Bug 815847</a>
 <p id="display"></p>
 <div id="content" style="display: none">