Bug 1555236 - Implement Send Report subview stub. r=johannh
☠☠ backed out by 683a10931b19 ☠ ☠
authorNihanth Subramanya <nhnt11@gmail.com>
Wed, 03 Jul 2019 11:28:43 +0000
changeset 543933 7b6d88faaab25837018b6f12cfdf7078c6ab6e40
parent 543932 33c1b3a1948396623611cc2b985dd19493b0385e
child 543934 24fda9469423ae76fdaff0e2a273a2c475e9df21
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjohannh
bugs1555236
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1555236 - Implement Send Report subview stub. r=johannh Differential Revision: https://phabricator.services.mozilla.com/D34519
browser/base/content/browser-siteProtections.js
browser/components/controlcenter/content/protectionsPanel.inc.xul
--- a/browser/base/content/browser-siteProtections.js
+++ b/browser/base/content/browser-siteProtections.js
@@ -259,9 +259,13 @@ var gProtectionsHandler = {
       position: "bottomcenter topleft",
       triggerEvent: event,
     }).catch(Cu.reportError);
   },
 
   showSiteNotWorkingView() {
     this._protectionsPopupMultiView.showSubView("protections-popup-siteNotWorkingView");
   },
+
+  showSendReportView() {
+    this._protectionsPopupMultiView.showSubView("protections-popup-sendReportView");
+  },
 };
--- a/browser/components/controlcenter/content/protectionsPanel.inc.xul
+++ b/browser/components/controlcenter/content/protectionsPanel.inc.xul
@@ -96,10 +96,19 @@
         <hbox id="protections-popup-siteNotWorkingView-footer"
               class="panel-footer">
           <label id="protections-popup-siteNotWorkingView-siteStillBroken" flex="1">Site Still Broken?</label>
           <label id="protections-popup-siteNotWorkingView-sendReport"
             onclick="gProtectionsHandler.showSendReportView();"
             class="text-link">Send Report</label>
         </hbox>
     </panelview>
+
+
+    <!-- Send Report SubView -->
+    <panelview id="protections-popup-sendReportView"
+               title="Send Report"
+               descriptionheightworkaround="true"
+               flex="1">
+        <label>Under Construction</label>
+    </panelview>
   </panelmultiview>
 </panel>