Skip to content
Browse files

Bug 761252 - Set devtools.debugger.remote-enabled from Marionette, a=…

…test-only, DONTBUILD because NPOTB
  • Loading branch information...
1 parent 8075a48 commit b4b673520c1ad646463b8635c3febf055726ca9f @jonallengriffin jonallengriffin committed Jun 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 testing/marionette/components/marionettecomponent.js
View
3 testing/marionette/components/marionettecomponent.js
@@ -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);

0 comments on commit b4b6735

Please sign in to comment.
Something went wrong with that request. Please try again.