Closed Bug 901138 Opened 7 years ago Closed 6 months ago
.Script .prototype should provide a start Column getter
Debugger.Script.prototype.startLine provides the line at which a script's code starts (e.g. a function definition), but there is no accessor for the column. This would allow actors to provide complete source locations for function definitions (especially important in minified JS).
Assignee: nobody → general
Product: Firefox → Core
Summary: Debugger.Script.prototype should provide a startColumn getter → [jsdbg2] Debugger.Script.prototype should provide a startColumn getter
In bug 917583, I am hardcoding a column of 0 for function definition sites, since we don't have this yet. When we fix this bug, we should also replace that hard coding with startColumn.
I tried, but the results are wrong and I'm not really sure what's going on there. Would appreciate any help.
(In reply to Jakub Jurovych from comment #3) > Created attachment 8479340 [details] [diff] [review] > bug-901138-wip.patch > > I tried, but the results are wrong and I'm not really sure what's going on > there. Would appreciate any help. I'm willing to mentor you on this bug if you'd like.
You need to log in before you can comment on or make changes to this bug.