WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(12.61 KB, patch)
2013-11-07 01:19 PST
,
László Langó
no flags
Details
Formatted Diff
Diff
Patch
(13.09 KB, patch)
2013-11-08 00:38 PST
,
László Langó
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-04-09 16:09:08 PDT
<
rdar://problem/13614521
>
László Langó
Comment 2
2013-11-07 00:50:38 PST
Created
attachment 216271
[details]
Patch
Build Bot
Comment 3
2013-11-07 00:53:29 PST
Comment on
attachment 216271
[details]
Patch
Attachment 216271
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/22718143
EFL EWS Bot
Comment 4
2013-11-07 00:56:05 PST
Comment on
attachment 216271
[details]
Patch
Attachment 216271
[details]
did not pass efl-ews (efl): Output:
http://webkit-queues.appspot.com/results/22768126
EFL EWS Bot
Comment 5
2013-11-07 00:57:23 PST
Comment on
attachment 216271
[details]
Patch
Attachment 216271
[details]
did not pass efl-wk2-ews (efl-wk2): Output:
http://webkit-queues.appspot.com/results/22698160
kov's GTK+ EWS bot
Comment 6
2013-11-07 01:08:36 PST
Comment on
attachment 216271
[details]
Patch
Attachment 216271
[details]
did not pass gtk-ews (gtk): Output:
http://webkit-queues.appspot.com/results/22368135
Build Bot
Comment 7
2013-11-07 01:13:42 PST
Comment on
attachment 216271
[details]
Patch
Attachment 216271
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/22728154
László Langó
Comment 8
2013-11-07 01:19:10 PST
Created
attachment 216274
[details]
Patch
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
Created
attachment 216364
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug