RESOLVED DUPLICATE of bug 154038 155293
WebKit returns "object" for "typeof XMLHttpRequest" and "typeof WebSocket" which are clearly constructable.
https://bugs.webkit.org/show_bug.cgi?id=155293
Summary WebKit returns "object" for "typeof XMLHttpRequest" and "typeof WebSocket" wh...
Mark Toller
Reported 2016-03-10 02:16:58 PST
typeof WebSocket and XMLHttpRequest is "function" in IE, Firefox and Chrome, WebKit returns "object" here.
Attachments
Chris Dumez
Comment 1 2016-03-10 08:48:01 PST
Already fixed in Bug 154038. Note however that this has nothing to do with being constructible or not. `typeof Node` returns "function" in all browsers as well but is not constructible. *** This bug has been marked as a duplicate of bug 154038 ***
Chris Dumez
Comment 2 2016-03-10 08:48:30 PST
You can confirm this by trying a nightly build: https://nightly.webkit.org
Note You need to log in before you can comment on or make changes to this bug.