WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
114312
JSCustomXPathNSResolver::lookupNamespaceURI Console Message should render with a column number
https://bugs.webkit.org/show_bug.cgi?id=114312
Summary
JSCustomXPathNSResolver::lookupNamespaceURI Console Message should render wit...
Joseph Pecoraro
Reported
2013-04-09 15:55:40 PDT
JSCustomXPathNSResolver::lookupNamespaceURI (Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp) logs a ConsoleMessage error. it should include a line, column, and sourceURL so an error in the inspector can jump to the source code that made the call.
Attachments
test case
(867 bytes, application/xhtml+xml)
2015-11-20 13:18 PST
,
Blaze Burg
no flags
Details
[PATCH] Proposed Fix
(1.59 KB, patch)
2016-01-04 12:52 PST
,
Joseph Pecoraro
bfulgham
: review+
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
[PATCH] For Landing
(1.62 KB, patch)
2016-01-04 15:23 PST
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-04-09 15:55:57 PDT
<
rdar://problem/13614284
>
Diego Pino
Comment 2
2014-09-19 03:46:42 PDT
I reproduced the bug by opening LayoutTests/fast/xpath/nsresolver-bad-object.xhtml in MiniBrowser and opening the WebInspector console. There's a link to the source file, column number, and line number, although console->addMessage is logged without these values. Maybe this information is filled up somewhere by the inspector in case it was not provided? Or maybe I'm not reproducing this bug correctly :)
Alexey Proskuryakov
Comment 3
2015-02-23 12:20:48 PST
This appears to work in shipping Safari now.
Blaze Burg
Comment 4
2015-11-20 13:18:54 PST
Created
attachment 265983
[details]
test case
Brent Fulgham
Comment 5
2015-12-22 14:53:13 PST
This now works properly.
Joseph Pecoraro
Comment 6
2016-01-04 12:30:56 PST
This bug is probably fixed, but there is still a FIXME to fix it in Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp. I'll test and remove if it appears fixed.
Joseph Pecoraro
Comment 7
2016-01-04 12:52:25 PST
Reopening so we can remove the FIXME.
Joseph Pecoraro
Comment 8
2016-01-04 12:52:57 PST
Created
attachment 268223
[details]
[PATCH] Proposed Fix Yep, works even when the JS code is minified. Remove the FIXME.
Brent Fulgham
Comment 9
2016-01-04 12:55:57 PST
Comment on
attachment 268223
[details]
[PATCH] Proposed Fix r=me. Do it!
WebKit Commit Bot
Comment 10
2016-01-04 12:57:04 PST
Comment on
attachment 268223
[details]
[PATCH] Proposed Fix Rejecting
attachment 268223
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 268223, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit /Volumes/Data/EWS/WebKit/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output:
http://webkit-queues.webkit.org/results/649861
Joseph Pecoraro
Comment 11
2016-01-04 15:23:30 PST
Created
attachment 268240
[details]
[PATCH] For Landing
WebKit Commit Bot
Comment 12
2016-01-04 16:22:52 PST
Comment on
attachment 268240
[details]
[PATCH] For Landing Clearing flags on attachment: 268240 Committed
r194564
: <
http://trac.webkit.org/changeset/194564
>
WebKit Commit Bot
Comment 13
2016-01-04 16:22:57 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