Bug 56941 - Web Inspector: fix reveal line in formatted script.
Summary: Web Inspector: fix reveal line in formatted script.
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 Podivilov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 11:29 PDT by Pavel Podivilov
Modified: 2011-04-01 08:26 PDT (History)
9 users (show)

See Also:


Attachments
Patch. (14.27 KB, patch)
2011-03-23 11:30 PDT, Pavel Podivilov
no flags Details | Formatted Diff | Diff
Patch. (14.27 KB, patch)
2011-03-23 11:33 PDT, Pavel Podivilov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Podivilov 2011-03-23 11:29:55 PDT
Web Inspector: fix reveal line in formatted script.

Replace Panel's showSourceLine method with showAnchorLocation method. This is needed to highlight correct line in formatted script.
This will also allow creating anchor for console messages in anonymous scripts.
Comment 1 Pavel Podivilov 2011-03-23 11:30:29 PDT
Created attachment 86649 [details]
Patch.
Comment 2 Pavel Podivilov 2011-03-23 11:33:38 PDT
Created attachment 86651 [details]
Patch.
Comment 3 Pavel Podivilov 2011-04-01 08:26:42 PDT
Committed r82685: <http://trac.webkit.org/changeset/82685>