[Webkit-unassigned] [Bug 79130] New: Web Inspector: replace RawSourceCode with a set of global mappings.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 21 11:06:39 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=79130
Summary: Web Inspector: replace RawSourceCode with a set of
global mappings.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: podivilov at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
Single source file could be referenced from a bunch of compiler source mappings that came from scripts with different urls (see bug 79122).
RawSourceCode doesn't support this scenario. We need a more generic interface that maps VM scripts to UISourceCodes and back, e.g.:
SourceMapping {
uiLocation rawLocationToUILocation(scriptId, lineNumber, columnNumber)
rawLocation uiLocationToRawLocation(uiSourceCode, lineNumber, columnNumber)
Array<UISourceCode> uiSourceCodeList()
[event] UISourceCodeListChanged(removed, added)
addScript(script)
}
As a bonus, resources-based mapping and compiler mapping could be cleanly separated.
As an another bonus, we can easily implement identical mapping that could be used for a "sanity" debugging mode. Identical mapping doesn't bind scripts to resources and displays VM scripts "as is".
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list