[Webkit-unassigned] [Bug 143037] WebContent Crash when instantiating class in Web Inspector console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 24 21:53:02 PDT 2015


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

Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joepeck at webkit.org

--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org> ---
> var baseclass = class A { constructor(){} methodA(a,b){} };
> var derivedclass = class B extends baseclass { constructor(){} methodB(a,b){} };
> new derivedclass;

As written I would expect a TDZ exception since derivedclass does not have a call to super() in its constructor.

-- 
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/20150325/b19c54de/attachment-0002.html>


More information about the webkit-unassigned mailing list