Bug 1494322 - Remove unused UnsolicitedNotifications r=yulia
authorAlexandre Poirot <poirot.alex@gmail.com>
Thu, 27 Sep 2018 08:50:13 +0000
changeset 486877 6deb2ce64d81e21d14636e8114e72bbd6dbdde9b
parent 486876 ae212507ad516bc61b0acdf36dcfbf84ae6ad4cf
child 486878 0695226a80863e7e895fdb3155bf4e0c94149d85
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersyulia
bugs1494322
milestone64.0a1
Bug 1494322 - Remove unused UnsolicitedNotifications r=yulia MozReview-Commit-ID: Fc2upXImxP2 Differential Revision: https://phabricator.services.mozilla.com/D6940
devtools/shared/client/constants.js
--- a/devtools/shared/client/constants.js
+++ b/devtools/shared/client/constants.js
@@ -16,17 +16,16 @@ const ThreadStateTypes = {
 };
 
 /**
  * Set of protocol messages that are sent by the server without a prior request
  * by the client.
  */
 const UnsolicitedNotifications = {
   "consoleAPICall": "consoleAPICall",
-  "eventNotification": "eventNotification",
   "fileActivity": "fileActivity",
   "lastPrivateContextExited": "lastPrivateContextExited",
   "logMessage": "logMessage",
   "networkEvent": "networkEvent",
   "networkEventUpdate": "networkEventUpdate",
   "documentEvent": "documentEvent",
   "newGlobal": "newGlobal",
   "newScript": "newScript",
@@ -34,23 +33,16 @@ const UnsolicitedNotifications = {
   "tabListChanged": "tabListChanged",
   "reflowActivity": "reflowActivity",
   "addonListChanged": "addonListChanged",
   "workerListChanged": "workerListChanged",
   "serviceWorkerRegistrationListChanged": "serviceWorkerRegistrationList",
   "tabNavigated": "tabNavigated",
   "frameUpdate": "frameUpdate",
   "pageError": "pageError",
-  "documentLoad": "documentLoad",
-  "enteredFrame": "enteredFrame",
-  "exitedFrame": "exitedFrame",
-  "appOpen": "appOpen",
-  "appClose": "appClose",
-  "appInstall": "appInstall",
-  "appUninstall": "appUninstall",
   "evaluationResult": "evaluationResult",
   "newSource": "newSource",
   "updatedSource": "updatedSource",
   "inspectObject": "inspectObject"
 };
 
 /**
  * Set of pause types that are sent by the server and not as an immediate