Bug 1493192: Flip order of sent/unsent crashes on about:crashes r=mconley a=jcristau
authorErrolyn <sam@fishy.ninja>
Fri, 02 Nov 2018 19:20:06 +0000
changeset 501079 0bf8a52ad207c50853d48a1ba11999f5f67b2a54
parent 501078 063b9e4ccceb439d3ec795da08924c6a70f9cd6f
child 501080 1370c2a23ff7a681191c40ca9bd744b7597a3a75
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, jcristau
bugs1493192
milestone64.0
Bug 1493192: Flip order of sent/unsent crashes on about:crashes r=mconley a=jcristau Differential Revision: https://phabricator.services.mozilla.com/D10526
toolkit/crashreporter/content/crashes.xhtml
--- a/toolkit/crashreporter/content/crashes.xhtml
+++ b/toolkit/crashreporter/content/crashes.xhtml
@@ -13,47 +13,47 @@
     <script type="application/javascript" src="chrome://global/content/crashes.js"/>
     <title data-l10n-id="crash-reports-title"></title>
   </head>
 
   <body>
     <p id="noConfig" class="hidden" data-l10n-id="no-config-label"></p>
     <p id="noSubmittedReports" class="hidden" data-l10n-id="no-reports-label"></p>
 
+    <div id="reportListUnsubmitted" class="hidden">
+      <div class="table-title-container">
+        <h2 class="lighter-font-weight" data-l10n-id="crashes-unsubmitted-label"></h2>
+        <button id="clearUnsubmittedReports" class="wide-button" data-l10n-id="delete-button-label"></button>
+      </div>
+      <table>
+        <thead>
+          <tr>
+            <th data-l10n-id="id-heading"></th>
+            <th data-l10n-id="date-crashed-heading"></th>
+          </tr>
+        </thead>
+        <tbody id="unsubmitted"></tbody>
+      </table>
+    </div>
+
     <div id="reportListSubmitted" class="hidden">
       <div class="table-title-container">
         <h2 class="lighter-font-weight" data-l10n-id="crashes-submitted-label"></h2>
         <button id="clearSubmittedReports" class="wide-button" data-l10n-id="delete-button-label"></button>
       </div>
       <table>
         <thead>
           <tr>
             <th data-l10n-id="id-heading"></th>
             <th data-l10n-id="date-submitted-heading"></th>
           </tr>
         </thead>
         <tbody id="submitted"></tbody>
       </table>
     </div>
-
-    <div id="reportListUnsubmitted" class="hidden">
-      <div class="table-title-container">
-        <h2 class="lighter-font-weight" data-l10n-id="crashes-unsubmitted-label"></h2>
-        <button id="clearUnsubmittedReports" class="wide-button" data-l10n-id="delete-button-label"></button>
-      </div>
-      <table>
-        <thead>
-          <tr>
-            <th data-l10n-id="id-heading"></th>
-            <th data-l10n-id="date-crashed-heading"></th>
-          </tr>
-        </thead>
-        <tbody id="unsubmitted"></tbody>
-      </table>
-    </div>
   </body>
 
   <template id="crashReportRow">
     <tr>
       <td class="crash-id"></td>
       <td></td>
       <td class="float-right"></td>
     </tr>