Closed Bug 1063927 Opened 10 years ago Closed 10 years ago

ReferenceError Cr is not defined in _initProfile in ToolboxProcess.jsm

Categories

(DevTools :: Debugger, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1060464

People

(Reporter: anaran, Unassigned)

Details

I don't find a component for Developer Tools: Browser Toolbox, which is what I would have used.

ToolboxProcess.jsm:

  _initProfile: function() {
    dumpn("Initializing the chrome toolbox user profile.");

    let debuggingProfileDir = Services.dirsvc.get("ProfLD", Ci.nsIFile);
    debuggingProfileDir.append(CHROME_DEBUGGER_PROFILE_NAME);
    try {
      debuggingProfileDir.create(Ci.nsIFile.DIRECTORY_TYPE, 0o755);
    } catch (ex) {
=>    if (ex.result !== Cr.NS_ERROR_FILE_ALREADY_EXISTS) {

Browser Toolbox can be opened once in a new profile.

Then the problem returns.

Apparently this is Bug 1060464, marking mine as duplicate.

Just reporting some that others can find it.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.