Bug 1239239 - Part 3. Pref network.dir.format should no longer be changeable. Option 3 has been removed. r=stefanh
authorFrank-Rainer Grahl <frgrahl@gmx.net>
Mon, 22 Jan 2018 08:49:43 +0100
changeset 30033 54533507e7b21db321817c9afa1d7e7ed86f2025
parent 30032 fd0fd7d28d8c1ac3a9e37abed620c39bc987c4a8
child 30034 eadd0577e853c192bdb6f178a0780b6eceec8e2b
push id2108
push userclokep@gmail.com
push dateMon, 22 Jan 2018 17:53:55 +0000
treeherdercomm-beta@c44930d8ad9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstefanh
bugs1239239
Bug 1239239 - Part 3. Pref network.dir.format should no longer be changeable. Option 3 has been removed. r=stefanh
suite/extensions/debugQA/content/pref-debug2.xul
suite/extensions/debugQA/locales/en-US/pref-debug2.dtd
--- a/suite/extensions/debugQA/content/pref-debug2.xul
+++ b/suite/extensions/debugQA/content/pref-debug2.xul
@@ -5,49 +5,28 @@
 <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
 
 <!DOCTYPE overlay SYSTEM "chrome://debugQA/locale/pref-debug2.dtd" >
 
 <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   <prefpane id="debugqa_prefs_debug2" label="&lHeader;">
 
     <preferences id="debugqa_preferences2">
-      <preference id="network.dir.format" name="network.dir.format" type="int"/>
       <preference id="nglayout.debug.disable_xul_cache"
                   name="nglayout.debug.disable_xul_cache" type="bool"/>
       <preference id="browser.cache.disk.enable"
                   name="browser.cache.disk.enable" type="bool"/>
       <preference id="browser.cache.memory.enable"
                   name="browser.cache.memory.enable" type="bool"/>
     </preferences>
 
     <!-- nothing on this page has accesskeys because this is a temporary debug
          panel and you can damn well click the widgets! -->
 
     <groupbox>
-      <caption label="&debugNetworking.label;"/>
-      <vbox align="start">
-        <description>&dirFormat;</description>
-        <vbox align="start" class="indent">
-          <radiogroup id="dirFormat"
-                      preference="network.dir.format">
-            <!-- If we display a raw option, then people select it, and complain
-                 when they don't actually get results -->
-            <!-- <radio value="1" label="&raw.label;"/> -->
-            <radio value="2" label="&html.label;"/>
-            <!-- OK, this is application/http-index-format, not XUL. But the
-                 result is that the XUL viwer is used. Anyway, this is only a
-                 debug panel, so lets not get worked up about it -->
-            <radio value="3" label="&xul.label;"/>
-          </radiogroup>
-        </vbox>
-      </vbox>
-    </groupbox>
-
-    <groupbox>
       <caption label="&debugCache.label;"/>
       <vbox align="start">
         <checkbox id="nglayoutDebugDisableXULCache" label="&debugDisableXULCache.label;"
                   preference="nglayout.debug.disable_xul_cache"/>
         <checkbox id="browserEnableDiskCache" label="&debugEnableDiskCache.label;"
                   preference="browser.cache.disk.enable"/>
         <checkbox id="browserEnableCache" label="&debugEnableMemCache.label;"
                   preference="browser.cache.memory.enable"/>
--- a/suite/extensions/debugQA/locales/en-US/pref-debug2.dtd
+++ b/suite/extensions/debugQA/locales/en-US/pref-debug2.dtd
@@ -4,21 +4,13 @@
 
 <!-- extracted from content/pref-debug.xul -->
 
 <!--LOCALIZATION NOTE : FILE DONT_TRANSLATE This file should not be translated -->
 
 <!ENTITY lHeader "Networking">
 <!ENTITY rHeader "Network debugging preferences">
 
-<!-- Network-->
-<!ENTITY debugNetworking.label        "Networking">
-<!ENTITY dirFormat                    "Directory Listing Format">
-<!ENTITY raw.label                    "Raw - for debugging only">
-<!ENTITY html.label                   "HTML">
-<!ENTITY xul.label                    "XUL (tree-based)">
-<!ENTITY httpVersion.label            "HTTP Version">
-
 <!-- Cache -->
 <!ENTITY debugCache.label             "Cache">
 <!ENTITY debugDisableXULCache.label   "Disable XUL Cache">
 <!ENTITY debugEnableMemCache.label    "Enable Mem Cache">
 <!ENTITY debugEnableDiskCache.label   "Enable Disk Cache">