Closed Bug 1244075 Opened 10 years ago Closed 10 years ago

Screenshot button is broken in Nightly

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)

defect
Not set
normal

Tracking

(firefox47 affected)

RESOLVED WORKSFORME
Tracking Status
firefox47 --- affected

People

(Reporter: past, Unassigned)

Details

(Keywords: regression)

Clicking on the screenshot button in the toolbox I get the following errors in the browser console: "Failed to load module devtools/shared/gcli/commands/mdn: Module `devtools/shared/gcli/commands/mdn` is not found at resource://devtools/shared/gcli/commands/mdn.js" system.js:132 exports.createSystem/system.addItemsByModule/</options.loader@resource://devtools/shared/gcli/source/lib/gcli/system.js:165:20 exports.createSystem/loadModule@resource://devtools/shared/gcli/source/lib/gcli/system.js:112:30 exports.createSystem/system.load/promises<@resource://devtools/shared/gcli/source/lib/gcli/system.js:210:16 exports.createSystem/system.load@resource://devtools/shared/gcli/source/lib/gcli/system.js:208:22 exports.getSystem@resource://devtools/shared/gcli/commands/index.js:152:14 CommandUtils.createRequisition@resource://devtools/client/shared/DeveloperToolbar.jsm:76:12 Toolbox.prototype._buildButtons@resource://devtools/client/framework/toolbox.js:914:12 Toolbox.prototype.open/<@resource://devtools/client/framework/toolbox.js:406:28 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 Handler.prototype.process@resource://gre/modules/Promise-backend.js:937:23 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:816:7 Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise-backend.js:747:11 this.PromiseWalker.schedulePromise@resource://gre/modules/Promise-backend.js:779:7 this.PromiseWalker.completePromise@resource://gre/modules/Promise-backend.js:714:7 attachThread/handleResponse/<@resource://devtools/client/framework/attach-thread.js:75:7 DebuggerClient.requester/</<@resource://devtools/shared/client/main.js:294:9 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 DebuggerClient.requester/<@resource://devtools/shared/client/main.js:282:12 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 ThreadClient.prototype.resume@resource://devtools/shared/client/main.js:1742:12 attachThread/handleResponse@resource://devtools/client/framework/attach-thread.js:64:5 TabClient.prototype.attachThread/<@resource://devtools/shared/client/main.js:1282:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 TabClient.prototype.attachThread@resource://devtools/shared/client/main.js:1277:12 attachThread@resource://devtools/client/framework/attach-thread.js:86:5 Toolbox.prototype.open/<@resource://devtools/client/framework/toolbox.js:367:34 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 Handler.prototype.process@resource://gre/modules/Promise-backend.js:937:23 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:816:7 Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise-backend.js:747:11 this.PromiseWalker.schedulePromise@resource://gre/modules/Promise-backend.js:779:7 this.PromiseWalker.completePromise@resource://gre/modules/Promise-backend.js:714:7 TabTarget.prototype.makeRemote/onConsoleAttached@resource://devtools/client/framework/target.js:407:7 DebuggerClient.prototype.attachConsole/<@resource://devtools/shared/client/main.js:541:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 DebuggerClient.prototype.attachConsole@resource://devtools/shared/client/main.js:531:12 TabTarget.prototype.makeRemote/attachConsole@resource://devtools/client/framework/target.js:411:7 TabTarget.prototype.makeRemote/attachTab/<@resource://devtools/client/framework/target.js:397:9 DebuggerClient.prototype.attachTab/<@resource://devtools/shared/client/main.js:456:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 DebuggerClient.prototype.attachTab@resource://devtools/shared/client/main.js:450:12 TabTarget.prototype.makeRemote/attachTab@resource://devtools/client/framework/target.js:390:7 TabTarget.prototype.makeRemote/</<@resource://devtools/client/framework/target.js:420:11 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 RootClient.prototype.getTab@resource://devtools/shared/client/main.js:1618:12 DebuggerClient.prototype.getTab@resource://devtools/shared/client/main.js:423:39 TabTarget.prototype.makeRemote/<@resource://devtools/client/framework/target.js:418:9 DebuggerClient.prototype.connect/<@resource://devtools/shared/client/main.js:349:9 eventSource/aProto.addOneTimeListener/l@resource://devtools/shared/client/main.js:68:7 eventSource/aProto.emit@resource://devtools/shared/client/main.js:131:9 exports.DebuggerClient/<@resource://devtools/shared/client/main.js:225:5 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DebuggerClient.prototype.onPacket@resource://devtools/shared/client/main.js:1012:9 LocalDebuggerTransport.prototype.send/<@resource://devtools/shared/transport/transport.js:569:11 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 system.js:133 Use of nsIFile in content process is deprecated. filesystem.js:40:9 IndexSizeError: Index or size is negative or greater than the allowed amount utils.js:87:0 TypeError: context.environment is undefined Stack trace: saveToFile/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:439:11 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 TaskImpl@resource://gre/modules/Task.jsm:280:3 createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14 Task_spawn@resource://gre/modules/Task.jsm:168:12 saveToFile@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:437:10 saveScreenshot@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:252:22 promise callback*exports.items<.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:203:14 Requisition.prototype.exec/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2083:16 createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:243:18 Task_spawn@resource://gre/modules/Task.jsm:168:12 exports.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/host.js:71:10 Requisition.prototype.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2082:14 Requisition.prototype.updateExec/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2122:12 promise callback*Requisition.prototype.updateExec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2121:10 CommandUtils.createButtons/</</<@resource://devtools/client/shared/DeveloperToolbar.jsm:137:11 EventListener.handleEvent*CommandUtils.createButtons/</<@resource://devtools/client/shared/DeveloperToolbar.jsm:136:9 promise callback*CommandUtils.createButtons/<@resource://devtools/client/shared/DeveloperToolbar.jsm:109:14 exports.promiseEach/</promise<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/util.js:279:19 promise callback*exports.promiseEach/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/util.js:278:15 exports.promiseEach@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/util.js:277:3 CommandUtils.createButtons@resource://devtools/client/shared/DeveloperToolbar.jsm:107:12 Toolbox.prototype._buildButtons/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:918:14 promise callback*Toolbox.prototype._buildButtons@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:914:12 Toolbox.prototype.open/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:406:28 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7 Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:747:11 this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:779:7 this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:714:7 attachThread/handleResponse/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/attach-thread.js:75:7 DebuggerClient.requester/</<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:294:9 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 emitOnObject@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:713:5 DebuggerClient.requester/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:282:12 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 ThreadClient.prototype.resume@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1742:12 attachThread/handleResponse@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/attach-thread.js:64:5 TabClient.prototype.attachThread/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1282:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:713:5 TabClient.prototype.attachThread@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1277:12 attachThread@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/attach-thread.js:86:5 screenshot.js:455 ReferenceError: filename is not defined Stack trace: saveToFile/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:456:31 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 TaskImpl@resource://gre/modules/Task.jsm:280:3 createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:254:14 Task_spawn@resource://gre/modules/Task.jsm:168:12 saveToFile@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:437:10 saveScreenshot@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:252:22 promise callback*exports.items<.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/commands/screenshot.js:203:14 Requisition.prototype.exec/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2083:16 createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:243:18 Task_spawn@resource://gre/modules/Task.jsm:168:12 exports.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/host.js:71:10 Requisition.prototype.exec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2082:14 Requisition.prototype.updateExec/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2122:12 promise callback*Requisition.prototype.updateExec@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/cli.js:2121:10 CommandUtils.createButtons/</</<@resource://devtools/client/shared/DeveloperToolbar.jsm:137:11 EventListener.handleEvent*CommandUtils.createButtons/</<@resource://devtools/client/shared/DeveloperToolbar.jsm:136:9 promise callback*CommandUtils.createButtons/<@resource://devtools/client/shared/DeveloperToolbar.jsm:109:14 exports.promiseEach/</promise<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/util.js:279:19 promise callback*exports.promiseEach/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/util.js:278:15 exports.promiseEach@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/gcli/source/lib/gcli/util/util.js:277:3 CommandUtils.createButtons@resource://devtools/client/shared/DeveloperToolbar.jsm:107:12 Toolbox.prototype._buildButtons/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:918:14 promise callback*Toolbox.prototype._buildButtons@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:914:12 Toolbox.prototype.open/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/toolbox.js:406:28 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:937:23 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:816:7 Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:747:11 this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:779:7 this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:714:7 attachThread/handleResponse/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/attach-thread.js:75:7 DebuggerClient.requester/</<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:294:9 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 emitOnObject@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:713:5 DebuggerClient.requester/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:282:12 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 ThreadClient.prototype.resume@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1742:12 attachThread/handleResponse@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/attach-thread.js:64:5 TabClient.prototype.attachThread/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1282:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:713:5 TabClient.prototype.attachThread@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/client/main.js:1277:12 attachThread@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/framework/attach-thread.js:86:5 cli.js:2054 "Failed to load module devtools/shared/gcli/commands/mdn: Module `devtools/shared/gcli/commands/mdn` is not found at resource://devtools/shared/gcli/commands/mdn.js" system.js:132 exports.createSystem/system.addItemsByModule/</options.loader@resource://devtools/shared/gcli/source/lib/gcli/system.js:165:20 exports.createSystem/loadModule@resource://devtools/shared/gcli/source/lib/gcli/system.js:112:30 exports.createSystem/system.load/promises<@resource://devtools/shared/gcli/source/lib/gcli/system.js:210:16 exports.createSystem/system.load@resource://devtools/shared/gcli/source/lib/gcli/system.js:208:22 exports.getSystem@resource://devtools/shared/gcli/commands/index.js:152:14 CommandUtils.createRequisition@resource://devtools/client/shared/DeveloperToolbar.jsm:76:12 Toolbox.prototype._buildButtons@resource://devtools/client/framework/toolbox.js:914:12 Toolbox.prototype.open/<@resource://devtools/client/framework/toolbox.js:406:28 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 Handler.prototype.process@resource://gre/modules/Promise-backend.js:937:23 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:816:7 Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise-backend.js:747:11 this.PromiseWalker.schedulePromise@resource://gre/modules/Promise-backend.js:779:7 this.PromiseWalker.completePromise@resource://gre/modules/Promise-backend.js:714:7 attachThread/handleResponse/<@resource://devtools/client/framework/attach-thread.js:75:7 DebuggerClient.requester/</<@resource://devtools/shared/client/main.js:294:9 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 DebuggerClient.requester/<@resource://devtools/shared/client/main.js:282:12 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 ThreadClient.prototype.resume@resource://devtools/shared/client/main.js:1742:12 attachThread/handleResponse@resource://devtools/client/framework/attach-thread.js:64:5 TabClient.prototype.attachThread/<@resource://devtools/shared/client/main.js:1282:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 TabClient.prototype.attachThread@resource://devtools/shared/client/main.js:1277:12 attachThread@resource://devtools/client/framework/attach-thread.js:86:5 Toolbox.prototype.open/<@resource://devtools/client/framework/toolbox.js:367:34 TaskImpl_run@resource://gre/modules/Task.jsm:319:40 Handler.prototype.process@resource://gre/modules/Promise-backend.js:937:23 this.PromiseWalker.walkerLoop@resource://gre/modules/Promise-backend.js:816:7 Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise-backend.js:747:11 this.PromiseWalker.schedulePromise@resource://gre/modules/Promise-backend.js:779:7 this.PromiseWalker.completePromise@resource://gre/modules/Promise-backend.js:714:7 TabTarget.prototype.makeRemote/onConsoleAttached@resource://devtools/client/framework/target.js:407:7 DebuggerClient.prototype.attachConsole/<@resource://devtools/shared/client/main.js:541:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 DebuggerClient.prototype.attachConsole@resource://devtools/shared/client/main.js:531:12 TabTarget.prototype.makeRemote/attachConsole@resource://devtools/client/framework/target.js:411:7 TabTarget.prototype.makeRemote/attachTab/<@resource://devtools/client/framework/target.js:397:9 DebuggerClient.prototype.attachTab/<@resource://devtools/shared/client/main.js:456:7 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 DebuggerClient.prototype.attachTab@resource://devtools/shared/client/main.js:450:12 TabTarget.prototype.makeRemote/attachTab@resource://devtools/client/framework/target.js:390:7 TabTarget.prototype.makeRemote/</<@resource://devtools/client/framework/target.js:420:11 resolve@resource://devtools/shared/deprecated-sync-thenables.js:40:40 then@resource://devtools/shared/deprecated-sync-thenables.js:20:43 resolve@resource://devtools/shared/deprecated-sync-thenables.js:72:11 listenerJson@resource://devtools/shared/client/main.js:729:9 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DevTools RDP*DebuggerClient.prototype.request@resource://devtools/shared/client/main.js:713:5 RootClient.prototype.getTab@resource://devtools/shared/client/main.js:1618:12 DebuggerClient.prototype.getTab@resource://devtools/shared/client/main.js:423:39 TabTarget.prototype.makeRemote/<@resource://devtools/client/framework/target.js:418:9 DebuggerClient.prototype.connect/<@resource://devtools/shared/client/main.js:349:9 eventSource/aProto.addOneTimeListener/l@resource://devtools/shared/client/main.js:68:7 eventSource/aProto.emit@resource://devtools/shared/client/main.js:131:9 exports.DebuggerClient/<@resource://devtools/shared/client/main.js:225:5 emitOnObject@resource://gre/modules/commonjs/sdk/event/core.js:112:9 emit@resource://gre/modules/commonjs/sdk/event/core.js:89:38 Request.prototype.emit@resource://devtools/shared/client/main.js:1223:29 DebuggerClient.prototype.onPacket/emitReply@resource://devtools/shared/client/main.js:1007:29 DebuggerClient.prototype.onPacket@resource://devtools/shared/client/main.js:1012:9 LocalDebuggerTransport.prototype.send/<@resource://devtools/shared/transport/transport.js:569:11 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:101:14 system.js:133 [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIAnnotationService.setPageAnnotation]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://app/modules/DownloadsCommon.jsm :: onDownloadChanged :: line 737" data: no]
The first error: Failed to load module devtools/shared/gcli/commands/mdn: Module `devtools/shared/gcli/commands/mdn` is not found at resource://devtools/shared/gcli/commands/mdn.js" Is fixed already, and will be in tomorrow's nightly (see bug 1243682)
I can reproduce on a fx-team build from today too, and I see the following error in the console: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIAnnotationService.setPageAnnotation]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource:///modules/DownloadsCommon.jsm :: onDownloadChanged :: line 737" data: no] DownloadsCommon.jsm:743:0
This is a problem with the gcli screenshot command code.
Component: Developer Tools → Developer Tools: Graphic Commandline and Toolbar
Keywords: regression
After investigating more, I found out that the screenshot was being taken anyway. The screenshot was in my download folder as expected. So it looks like the command isn't broken after all, but we do have this error in the logs that's annoying (comment 2). After searching bugzilla, I found a few bugs that mention the same error, none of them being fixed: bug 1206501, bug 1011304, bug 1122458 We do have a somewhat related problem with the screenshot command though: it doesn't always give feedback that the screenshot has been taken. For instance on windows, if I don't have the download button in my browser toolbar, then nothing happens when I click on the screenshot button in the toolbox. If I use the gcli command instead, then at least a preview of the screenshot is shown. (In that case however, if I click on the preview, then I get another error: NS_ERROR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath] I'll file this separately: bug 1244079). Fixing the feedback problem is being tracked in bug 1243525.
Patrick, can we close this out WFM?
Flags: needinfo?(pbrosset)
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(pbrosset)
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.