Bug 1632413 - Remove webConsoleCommands trait. r=nchevobbe

Differential Revision: https://phabricator.services.mozilla.com/D72299
This commit is contained in:
GranjonAntoine 2020-04-24 14:23:42 +00:00
Родитель 2ff6ebcaa4
Коммит da09334a02
2 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -418,7 +418,7 @@ Tools.dom = {
inMenu: true, inMenu: true,
isTargetSupported: function(target) { isTargetSupported: function(target) {
return target.getTrait("webConsoleCommands"); return true;
}, },
build: function(iframeWindow, toolbox) { build: function(iframeWindow, toolbox) {

Просмотреть файл

@ -138,9 +138,6 @@ exports.RootActor = protocol.ActorClassWithSpec(rootSpec, {
// Whether the server can return wasm binary source // Whether the server can return wasm binary source
wasmBinarySource: true, wasmBinarySource: true,
bulk: true, bulk: true,
// Added in Firefox 40. Indicates that the backend supports registering custom
// commands through the WebConsoleCommands API.
webConsoleCommands: true,
// Whether root actor exposes chrome target actors and access to any window. // Whether root actor exposes chrome target actors and access to any window.
// If allowChromeProcess is true, you can: // If allowChromeProcess is true, you can:
// * get a ParentProcessTargetActor instance to debug chrome and any non-content // * get a ParentProcessTargetActor instance to debug chrome and any non-content