[Webkit-unassigned] [Bug 25745] New: JSC exposes unused offsets and sourceId on every exception
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 12 23:29:13 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25745
Summary: JSC exposes unused offsets and sourceId on every
exception
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: mjs at apple.com, ggaren at apple.com, jparent at google.com,
ojan at chromium.org, arv at chromium.org
JSC exposes unused offsets and sourceId on every exception
Currently JSC exposes the following "non-standard" properties on every
exception:
sourceId
expressionBeginOffset
expressionCaretOffset
expressionEndOffset
Talking to oliver, they were original intended for the Inspector, but they
aren't used there. These could be really useful, but they aren't quite.
sourceId is only useful for the inspector, since random web pages have no way
to get the actual script source from a sourceId handle.
expression*Offset would be *really* useful to web pages (for printing where in
the line the actual erroring expression is) except that they're relative to the
start of the sourceId source, instead of the start of the sourceURL resource.
This bug is asking for 2 things:
1. remove these unused properties from exception (since we shouldn't really be
exposing them).
2. Add some *offset properties which are either relative to the line or
relative to the source document (both of which a web page could use to figure
out where exactly the error is ocurring).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list