Bug 72256 - Web Inspector: console's protocol payload does not have url and line properties.
Summary: Web Inspector: console's protocol payload does not have url and line properties.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 04:33 PST by Pavel Feldman
Modified: 2011-11-14 06:14 PST (History)
10 users (show)

See Also:


Attachments
Patch (6.20 KB, patch)
2011-11-14 05:07 PST, Pavel Feldman
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2011-11-14 04:33:04 PST
Invoke console.log, watch the protocol payloads. url and line properties come blank, one needs to use stackTrace property to compute the url.
Comment 1 Pavel Feldman 2011-11-14 05:07:33 PST
Created attachment 114920 [details]
Patch
Comment 2 Yury Semikhatsky 2011-11-14 05:33:38 PST
Comment on attachment 114920 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=114920&action=review

> Source/WebCore/inspector/ConsoleMessage.cpp:71
> +        ScriptCallFrame frame = callStack->at(0);

Should be const ScriptCallFrame& frame
Comment 3 Pavel Feldman 2011-11-14 06:14:45 PST
Committed r100137: <http://trac.webkit.org/changeset/100137>