WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
25767
expressionBeginOffset, expressionCaretOffset, expressionEndOffset are relative to sourceId start
https://bugs.webkit.org/show_bug.cgi?id=25767
Summary
expressionBeginOffset, expressionCaretOffset, expressionEndOffset are relativ...
Eric Seidel (no email)
Reported
2009-05-13 16:36:52 PDT
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).
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug