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.
Created attachment 121583 [details] Test case Updating test case so that it produces more readable results in Chrome and Firefox.
This was fixed in changeset 106589 <http://trac.webkit.org/changeset/106589> for bug #77675.