mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815246 - GCLI helper buttons shouldn't be available in the remote window; r=paul
This commit is contained in:
parent
e0d809e500
commit
88dbe2ab92
@ -233,6 +233,10 @@ Toolbox.prototype = {
|
|||||||
* The iframe to contain the buttons
|
* The iframe to contain the buttons
|
||||||
*/
|
*/
|
||||||
_buildButtons: function TBOX_buildButtons(frame) {
|
_buildButtons: function TBOX_buildButtons(frame) {
|
||||||
|
if (this.target.isRemote) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let toolbarSpec = CommandUtils.getCommandbarSpec("devtools.toolbox.toolbarSpec");
|
let toolbarSpec = CommandUtils.getCommandbarSpec("devtools.toolbox.toolbarSpec");
|
||||||
let environment = { chromeDocument: frame.ownerDocument };
|
let environment = { chromeDocument: frame.ownerDocument };
|
||||||
let requisition = new Requisition(environment);
|
let requisition = new Requisition(environment);
|
||||||
|
Loading…
Reference in New Issue
Block a user