Bug 1383208 - Allow for null functionName in console messages;r=baku
MozReview-Commit-ID: 47O6kPQ3W8o
This commit is contained in:
@@ -59,8 +59,8 @@ ContentProcessSingleton.prototype = {
|
||||
level: consoleMsg.level,
|
||||
filename: consoleMsg.filename.substring(0, MSG_MGR_CONSOLE_INFO_MAX),
|
||||
lineNumber: consoleMsg.lineNumber,
|
||||
functionName: consoleMsg.functionName.substring(0,
|
||||
MSG_MGR_CONSOLE_INFO_MAX),
|
||||
functionName: consoleMsg.functionName &&
|
||||
consoleMsg.functionName.substring(0, MSG_MGR_CONSOLE_INFO_MAX),
|
||||
timeStamp: consoleMsg.timeStamp,
|
||||
addonId: consoleMsg.addonId,
|
||||
arguments: [],
|
||||
|
||||
Reference in New Issue
Block a user