mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 761252 - Set devtools.debugger.remote-enabled from Marionette, a=test-only, DONTBUILD because NPOTB
This commit is contained in:
parent
64609e2437
commit
adf8c51c90
@ -70,6 +70,9 @@ MarionetteComponent.prototype = {
|
||||
try {
|
||||
Cu.import('resource:///modules/devtools/dbg-server.jsm');
|
||||
DebuggerServer.addActors('chrome://marionette/content/marionette-actors.js');
|
||||
// This pref is required for the remote debugger to open a socket,
|
||||
// so force it to true. See bug 761252.
|
||||
Services.prefs.setBoolPref('devtools.debugger.remote-enabled', true);
|
||||
// Always allow remote connections.
|
||||
DebuggerServer.initTransport(function () { return true; });
|
||||
DebuggerServer.openListener(port, true);
|
||||
|
Loading…
Reference in New Issue
Block a user