[Webkit-unassigned] [Bug 35451] New: Inspector and debugger line numbers are different between Safari and Chrome
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 26 14:06:35 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=35451
Summary: Inspector and debugger line numbers are different
between Safari and Chrome
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jparent at google.com
CC: timothy at hatcher.name, pfeldman at chromium.org
For multi-line statements, Safari uses the line number from the last line, and
Chrome uses the line number from the first line.
For example, given the following:
<html>
<head>
<script>
throw('which line number am i?' +
'I start on line 4' +
' but end on line 6');
</script>
</head>
<body>
</body>
</html>
Safari will list the error and stop the debugger pointing to line 6, whereas
chrome will point to line 4.
My intuition is that the first line is more what developers would expect.
--
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