mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1069490 - Part 3: Set columnNumber when processing console messages. r=bz
This commit is contained in:
parent
24b168eed6
commit
6b5f563b51
@ -764,6 +764,12 @@ StackFrameToStackEntry(nsIStackFrame* aStackFrame,
|
|||||||
|
|
||||||
aStackEntry.mLineNumber = lineNumber;
|
aStackEntry.mLineNumber = lineNumber;
|
||||||
|
|
||||||
|
int32_t columnNumber;
|
||||||
|
rv = aStackFrame->GetColumnNumber(&columnNumber);
|
||||||
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
|
aStackEntry.mColumnNumber = columnNumber;
|
||||||
|
|
||||||
rv = aStackFrame->GetName(aStackEntry.mFunctionName);
|
rv = aStackFrame->GetName(aStackEntry.mFunctionName);
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_ENSURE_SUCCESS(rv, rv);
|
||||||
|
|
||||||
@ -1062,6 +1068,7 @@ Console::ProcessCallData(ConsoleCallData* aData)
|
|||||||
event.mLevel = aData->mMethodString;
|
event.mLevel = aData->mMethodString;
|
||||||
event.mFilename = frame.mFilename;
|
event.mFilename = frame.mFilename;
|
||||||
event.mLineNumber = frame.mLineNumber;
|
event.mLineNumber = frame.mLineNumber;
|
||||||
|
event.mColumnNumber = frame.mColumnNumber;
|
||||||
event.mFunctionName = frame.mFunctionName;
|
event.mFunctionName = frame.mFunctionName;
|
||||||
event.mTimeStamp = aData->mTimeStamp;
|
event.mTimeStamp = aData->mTimeStamp;
|
||||||
event.mPrivate = aData->mPrivate;
|
event.mPrivate = aData->mPrivate;
|
||||||
|
Loading…
Reference in New Issue
Block a user