Bug 1575096 - Disable beforeunload/unload event-breakpoint UI until fixed. r=jlast
authorLogan Smyth <loganfsmyth@gmail.com>
Tue, 20 Aug 2019 00:37:58 +0000
changeset 488866 a0b2d7e9e932a329691f7eeeb5446c56d21d6ebe
parent 488865 6b6d05d2d55007ae3f470ee7b1db848651a2e4ac
child 488867 696fbe6740c241264c45eb168c0c1bf2fe5c0f74
push id92998
push userlsmyth@mozilla.com
push dateTue, 20 Aug 2019 00:44:56 +0000
treeherderautoland@a0b2d7e9e932 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast
bugs1575096
milestone70.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 1575096 - Disable beforeunload/unload event-breakpoint UI until fixed. r=jlast 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
@@ -162,18 +162,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",