Bug 795009 - REMOTE_PROFILE_NAME should actually be chrome, r=past
authorVictor Porof <vporof@mozilla.com>
Mon, 01 Oct 2012 15:15:10 +0300
changeset 115099 59783c7c3040b0ca871930ffb77a5b49f317eb92
parent 115098 2f2fc4efee8905ea75382a7efcb0b50db3e5e87a
child 115100 0c8442db91feccee0add2a0173ef66c0e2ea47e2
push id1708
push userakeybl@mozilla.com
push dateMon, 19 Nov 2012 21:10:21 +0000
treeherdermozilla-beta@27b14fe50103 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspast
bugs795009
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 795009 - REMOTE_PROFILE_NAME should actually be chrome, r=past
browser/devtools/debugger/DebuggerUI.jsm
--- a/browser/devtools/debugger/DebuggerUI.jsm
+++ b/browser/devtools/debugger/DebuggerUI.jsm
@@ -6,17 +6,17 @@
 "use strict";
 
 const Cc = Components.classes;
 const Ci = Components.interfaces;
 const Cu = Components.utils;
 
 const DBG_XUL = "chrome://browser/content/debugger.xul";
 const DBG_STRINGS_URI = "chrome://browser/locale/devtools/debugger.properties";
-const REMOTE_PROFILE_NAME = "_remote-debug";
+const CHROME_DEBUGGER_PROFILE_NAME = "_chrome-debugger-profile";
 const TAB_SWITCH_NOTIFICATION = "debugger-tab-switch";
 
 Cu.import("resource://gre/modules/devtools/dbg-server.jsm");
 Cu.import("resource://gre/modules/Services.jsm");
 Cu.import("resource://gre/modules/FileUtils.jsm");
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 
 let EXPORTED_SYMBOLS = ["DebuggerUI"];
@@ -484,19 +484,19 @@ ChromeDebuggerProcess.prototype = {
    * Initializes a profile for the remote debugger process.
    */
   _initProfile: function RDP__initProfile() {
     let profileService = Cc["@mozilla.org/toolkit/profile-service;1"]
       .createInstance(Ci.nsIToolkitProfileService);
 
     let dbgProfileName;
     try {
-      dbgProfileName = profileService.selectedProfile.name + REMOTE_PROFILE_NAME;
+      dbgProfileName = profileService.selectedProfile.name + CHROME_DEBUGGER_PROFILE_NAME;
     } catch(e) {
-      dbgProfileName = REMOTE_PROFILE_NAME;
+      dbgProfileName = CHROME_DEBUGGER_PROFILE_NAME;
       Cu.reportError(e);
     }
 
     this._dbgProfile = profileService.createProfile(null, null, dbgProfileName);
     profileService.flush();
   },
 
   /**