Closed
Bug 1235292
Opened 9 years ago
Closed 9 years ago
Exception in server-logger.js:238
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: bugzilla.mozilla.org, Unassigned)
Details
I'm getting the following exception when using a custom nsiChannel implementation
> Handler function threw an exception: TypeError: aChannel.loadInfo is null
> Stack: ServerLoggingListener<._matchRequest@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/webconsole/server-logger.js:238:1
> ServerLoggingListener<.onExamineResponse<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/webconsole/server-logger.js:196:10
> makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/DevToolsUtils.js:87:14
> Line: 238, column: 1
server-logger.js, lines 237ff:
> if (!aChannel.loadInfo &&
> aChannel.loadInfo.loadingDocument === null &&
> aChannel.loadInfo.loadingPrincipal === Services.scriptSecurityManager.getSystemPrincipal()) {
> return false;
> }
the null check looks incorrect
Firefox 46.0a1 20151227030239
Nevermind, I can work around this by implementing newChannel2
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•