[Webkit-unassigned] [Bug 25767] New: expressionBeginOffset, expressionCaretOffset, expressionEndOffset are relative to sourceId start

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 13 16:36:53 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25767

           Summary: expressionBeginOffset, expressionCaretOffset,
                    expressionEndOffset are relative to sourceId start
           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
 BugsThisDependsOn: 25745


expressionBeginOffset, expressionCaretOffset, expressionEndOffset
are relative to sourceId start instead of line start or sourceURL resource
start.  This makes them difficult for web authors to use.

If we're going to expose these, we should make them relative to the start of
hte line, or the start of the entire resource, instead of the start of the
script content itself (which could be an inline event handler and thus one
would have to work backwards from the sourceURL and line number and guess which
inline event handler on that line was the one throwing the exception).


-- 
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