2016-09-29 20:02:28 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
2021-03-03 20:02:42 +03:00
|
|
|
function InspectorPanel(iframeWindow, toolbox, commands) {
|
|
|
|
this._inspector = new iframeWindow.Inspector(toolbox, commands);
|
2016-09-29 20:02:28 +03:00
|
|
|
}
|
|
|
|
InspectorPanel.prototype = {
|
|
|
|
open() {
|
|
|
|
return this._inspector.init();
|
|
|
|
},
|
|
|
|
|
|
|
|
destroy() {
|
2022-05-17 19:45:13 +03:00
|
|
|
this._inspector.destroy();
|
2018-10-23 10:08:24 +03:00
|
|
|
},
|
2016-09-29 20:02:28 +03:00
|
|
|
};
|
|
|
|
exports.InspectorPanel = InspectorPanel;
|