index.js (770B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 "use strict"; 6 7 const { createEnum } = require("resource://devtools/client/shared/enum.js"); 8 9 createEnum( 10 [ 11 // Update the extension sidebar with an object TreeView. 12 "EXTENSION_SIDEBAR_OBJECT_TREEVIEW_UPDATE", 13 14 // Update the extension sidebar with an expression result. 15 "EXTENSION_SIDEBAR_EXPRESSION_RESULT_VIEW_UPDATE", 16 17 // Switch the extension sidebar into an extension page container. 18 "EXTENSION_SIDEBAR_PAGE_UPDATE", 19 20 // Remove an extension sidebar from the inspector store. 21 "EXTENSION_SIDEBAR_REMOVE", 22 ], 23 module.exports 24 );