[Webkit-unassigned] [Bug 164262] Web Inspector: Jump to definition doesn't work for classes with a default constructor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 31 20:34:09 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=164262

--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
Ahh, so this is the case when the class has a default constructor. In which case the constructor is actually an anonymous script that looks like:

   (function() {
        super(...arguments);
   })

Which we hide by default because it doesn't have a name.

In this case, it would make more sense for us to jump to the `class {}` definition.

If JavaScriptCore has that location information, we could work out how to hook this up. (Maybe JSC doesn't, I don't know).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161101/d83e2d50/attachment.html>


More information about the webkit-unassigned mailing list