WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
66680
Line numbers of Errors are too high in scripts containing objects that define getters
https://bugs.webkit.org/show_bug.cgi?id=66680
Summary
Line numbers of Errors are too high in scripts containing objects that define...
Nate Whetsell
Reported
2011-08-22 10:14:25 PDT
Created
attachment 104690
[details]
Test case If a file contains a script like DummyClass = function() {}; DummyClass.prototype = { get dummyGetter() { return null; } }; and then throw an Error, the Error's line number property will be too high. I've attached a simple test case to show this behavior. This is probably related to (and may even be a duplicate of)
bug #59926
, but I'm reporting it as a new bug because the attached test doesn't require the Web Inspector's debugger.
Attachments
Test case
(550 bytes, text/html)
2011-08-22 10:14 PDT
,
Nate Whetsell
no flags
Details
Test case
(951 bytes, text/html)
2012-01-08 11:21 PST
,
Nate Whetsell
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Nate Whetsell
Comment 1
2012-01-08 11:21:32 PST
Created
attachment 121583
[details]
Test case Updating test case so that it produces more readable results in Chrome and Firefox.
Nate Whetsell
Comment 2
2012-02-04 08:29:21 PST
This was fixed in changeset 106589 <
http://trac.webkit.org/changeset/106589
> for
bug #77675
.
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