зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1632413 - Remove webConsoleCommands trait. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D72299
This commit is contained in:
Родитель
2ff6ebcaa4
Коммит
da09334a02
|
@ -418,7 +418,7 @@ Tools.dom = {
|
|||
inMenu: true,
|
||||
|
||||
isTargetSupported: function(target) {
|
||||
return target.getTrait("webConsoleCommands");
|
||||
return true;
|
||||
},
|
||||
|
||||
build: function(iframeWindow, toolbox) {
|
||||
|
|
|
@ -138,9 +138,6 @@ exports.RootActor = protocol.ActorClassWithSpec(rootSpec, {
|
|||
// Whether the server can return wasm binary source
|
||||
wasmBinarySource: 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.
|
||||
// If allowChromeProcess is true, you can:
|
||||
// * get a ParentProcessTargetActor instance to debug chrome and any non-content
|
||||
|
|
Загрузка…
Ссылка в новой задаче