[Webkit-unassigned] [Bug 74193] typeof Node should be function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 9 09:07:43 PST 2015


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

--- Comment #2 from Erik Arvidsson <arv at chromium.org> ---
ES6 classes have a [[Call]] but it throws immediately.

http://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-function-objects-call-thisargument-argumentslist

2. If F’s [[FunctionKind]] internal slot is "classConstructor", throw a TypeError exception.


For WebIDL all constructors have a [[Call]]. It used to do the same thing as [[Construct]], which was to throw if non constructable. There is an open WebIDL bug to throw on [[Call]], See https://www.w3.org/Bugs/Public/show_bug.cgi?id=22808, and Firefox just made that change too.

-- 
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/20150209/756aeb92/attachment-0002.html>


More information about the webkit-unassigned mailing list