Closed Bug 1232299 Opened 9 years ago Closed 6 years ago

TypeError: cm is undefined: Editor.prototype.setOption logspam on browser_toolbox_window_title_changes.js and others

Categories

(DevTools :: Debugger, defect)

45 Branch
defect
Not set
normal

Tracking

(firefox45 affected)

RESOLVED INVALID
Tracking Status
firefox45 --- affected

People

(Reporter: bgrins, Unassigned)

References

Details

STR: ./mach mochitest devtools/client/framework/test/browser_toolbox_window_title_changes.js Test passes but I see this exception in the logs. Which means it shows up in summaries when something else fails, like in the osx 10.10 dt2 run here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e7ed1be6e45b&selectedJob=14497211. 16 INFO Console message: [JavaScript Error: "TypeError: cm is undefined: Editor.prototype.setOption@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/sourceeditor/editor.js:1027:7 Editor.prototype.setMode@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/sourceeditor/editor.js:455:5 DebuggerView.handleTabNavigation@chrome://devtools/content/debugger/debugger-view.js:777:7 DebuggerController._onWillNavigate@chrome://devtools/content/debugger/debugger-controller.js:343:5 EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/event-emitter.js:147:11 TabTarget.prototype._setupRemoteListeners/this._onTabNavigated@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/target.js:491:9 eventSource/aProto.emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:131:9 DebuggerClient.prototype.onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:995:7 LocalDebuggerTransport.prototype.send/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/transport/transport.js:569:11 makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:87:14 makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:87:14 " {file: "resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/event-emitter.js" line: 152}]
I'm assuming this started after Bug 1200798 because I don't see the spam in the raw log for: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=13022e404bfd&selectedJob=2802293 (the m-c push before that landed) but I do in https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=a0897ec629f9&selectedJob=2807322. James, can you please take a look?
Blocks: 1200798
Flags: needinfo?(jlong)
Yeah, I'll take a look later this week.
Flags: needinfo?(jlong)
Product: Firefox → DevTools

This test is currently enabled so I'm presuming it's working fine.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.