[Webkit-unassigned] [Bug 139655] Web Inspector: functions and accessors not shown when debugger paused in constructor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 15 15:04:23 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139655
--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> ---
> Foo = new function() {
> this._luckyNumber = 3;
> debugger;
> }
>
> [snip]
>
> var f = new Foo();
As written, this causes an exception. Since you are doing "Foo = new function" up above and then "new Foo".
[Error] TypeError: Object is not a constructor (evaluating 'new Foo()')
Things behave as expected when you create the constructor:
function Foo() {
this._luckyNumber = 3;
debugger;
}
Is there still an issue here?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141215/f35c34fc/attachment-0002.html>
More information about the webkit-unassigned
mailing list