Bug 1575096 - Disable beforeunload/unload event-breakpoint UI until fixed. r=jlast, a=RyanVM
authorLogan Smyth <loganfsmyth@gmail.com>
Tue, 20 Aug 2019 00:37:58 +0000
changeset 542009 35080e7f003d851d9b1503505faca78d49f20c41
parent 542008 d60979a33a6c2b7b186f79073816c22c93946794
child 542010 a3ad14c6651ade7030a813aaab237a6253d589c7
push id11818
push userryanvm@gmail.com
push dateTue, 20 Aug 2019 16:49:16 +0000
treeherdermozilla-beta@35080e7f003d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast, RyanVM
bugs1575096
milestone69.0
Bug 1575096 - Disable beforeunload/unload event-breakpoint UI until fixed. r=jlast, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D42577
devtools/server/actors/utils/event-breakpoints.js
--- a/devtools/server/actors/utils/event-breakpoints.js
+++ b/devtools/server/actors/utils/event-breakpoints.js
@@ -164,18 +164,19 @@ const AVAILABLE_BREAKPOINTS = [
       generalEvent("keyboard", "keypress"),
       generalEvent("keyboard", "input"),
     ],
   },
   {
     name: "Load",
     items: [
       globalEvent("load", "load"),
-      globalEvent("load", "beforeunload"),
-      globalEvent("load", "unload"),
+      // TODO: Disabled pending fixes for bug 1569775.
+      // globalEvent("load", "beforeunload"),
+      // globalEvent("load", "unload"),
       globalEvent("load", "abort"),
       globalEvent("load", "error"),
       globalEvent("load", "hashchange"),
       globalEvent("load", "popstate"),
     ],
   },
   {
     name: "Media",