RESOLVED FIXED 114316
InspectorConsoleAgent::didFinishXHRLoading ConsoleMessage should include a column number
https://bugs.webkit.org/show_bug.cgi?id=114316
Summary InspectorConsoleAgent::didFinishXHRLoading ConsoleMessage should include a co...
Joseph Pecoraro
Reported 2013-04-09 16:08:50 PDT
InspectorConsoleAgent::didFinishXHRLoading creates a ConsoleMessage with a line number, but it should also include a column number. It looks like ultimately the line number comes from JSXMLHttpRequest::send, it should also be possible to get the column number at the time. The column number would be needed by the Web Inspector to jump to the proper place in source code to show where the XHR originated from.
Attachments
Patch (8.09 KB, patch)
2013-11-07 00:50 PST, László Langó
no flags
Patch (12.61 KB, patch)
2013-11-07 01:19 PST, László Langó
no flags
Patch (13.09 KB, patch)
2013-11-08 00:38 PST, László Langó
no flags
Radar WebKit Bug Importer
Comment 1 2013-04-09 16:09:08 PDT
László Langó
Comment 2 2013-11-07 00:50:38 PST
Build Bot
Comment 3 2013-11-07 00:53:29 PST
EFL EWS Bot
Comment 4 2013-11-07 00:56:05 PST
EFL EWS Bot
Comment 5 2013-11-07 00:57:23 PST
kov's GTK+ EWS bot
Comment 6 2013-11-07 01:08:36 PST
Build Bot
Comment 7 2013-11-07 01:13:42 PST
László Langó
Comment 8 2013-11-07 01:19:10 PST
WebKit Commit Bot
Comment 9 2013-11-07 09:34:28 PST
Comment on attachment 216274 [details] Patch Rejecting attachment 216274 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 216274, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Full output: http://webkit-queues.appspot.com/results/22588219
Timothy Hatcher
Comment 10 2013-11-07 09:35:47 PST
Oh, it wasn't the reviewer OOPS. It was the tests OOPS.
Joseph Pecoraro
Comment 11 2013-11-07 10:21:27 PST
Comment on attachment 216274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216274&action=review > Source/WebCore/xml/XMLHttpRequest.h:141 > void setLastSendLineNumber(unsigned lineNumber) { m_lastSendLineNumber = lineNumber; } > + void setLastSendColumnNumber(unsigned columnNumber) { m_lastSendColumnNumber = columnNumber; } This could probably be: setLastSendLineAndColumnNumber(…). Making it two separate setters leaves the possibility that someone might do one and forgot to do the other. However, that is just a nit, the patch looks good!
László Langó
Comment 12 2013-11-08 00:38:58 PST
WebKit Commit Bot
Comment 13 2013-11-08 11:43:41 PST
Comment on attachment 216364 [details] Patch Clearing flags on attachment: 216364 Committed r158935: <http://trac.webkit.org/changeset/158935>
WebKit Commit Bot
Comment 14 2013-11-08 11:43:44 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.