<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>155293</bug_id>
          
          <creation_ts>2016-03-10 02:16:58 -0800</creation_ts>
          <short_desc>WebKit returns &quot;object&quot; for &quot;typeof XMLHttpRequest&quot; and &quot;typeof WebSocket&quot; which are clearly constructable.</short_desc>
          <delta_ts>2016-03-10 08:48:30 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>154038</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Toller">mark.toller</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>cdumez</cc>
    
    <cc>j.isorce</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1173035</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Toller">mark.toller</who>
    <bug_when>2016-03-10 02:16:58 -0800</bug_when>
    <thetext>typeof WebSocket and XMLHttpRequest is &quot;function&quot; in IE, Firefox and Chrome, WebKit returns &quot;object&quot; here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173100</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-03-10 08:48:01 -0800</bug_when>
    <thetext>Already fixed in Bug 154038. Note however that this has nothing to do with being constructible or not. `typeof Node` returns &quot;function&quot; in all browsers as well but is not constructible.

*** This bug has been marked as a duplicate of bug 154038 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173102</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-03-10 08:48:30 -0800</bug_when>
    <thetext>You can confirm this by trying a nightly build:
https://nightly.webkit.org</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>