<?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>33716</bug_id>
          
          <creation_ts>2010-01-15 05:50:23 -0800</creation_ts>
          <short_desc>typeof returns &quot;function&quot; for NodeList</short_desc>
          <delta_ts>2010-01-15 13:41:47 -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>WebCore JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14547</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="Yury Semikhatsky">yurys</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181217</commentid>
    <comment_count>0</comment_count>
      <attachid>46676</attachid>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2010-01-15 05:50:23 -0800</bug_when>
    <thetext>Created attachment 46676
Test case

In WebKit typeof returns &quot;function&quot; for document.documentElement.childNodes and other DOM properties whose value is a NodeList. It should be &quot;object&quot; as in Firefox and Chromium.

Test is attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181219</commentid>
    <comment_count>1</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2010-01-15 06:24:46 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; Created an attachment (id=46676) [details]
&gt; Test case
&gt; 
&gt; In WebKit typeof returns &quot;function&quot; for document.documentElement.childNodes and
&gt; other DOM properties whose value is a NodeList. It should be &quot;object&quot; as in
&gt; Firefox and Chromium.
&gt; 
&gt; Test is attached.

typeof document.all is always &apos;undefined&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181362</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-01-15 13:41:47 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 14547 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46676</attachid>
            <date>2010-01-15 05:50:23 -0800</date>
            <delta_ts>2010-01-15 05:50:23 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>nodelist-type.html</filename>
            <type>text/html</type>
            <size>218</size>
            <attacher name="Yury Semikhatsky">yurys</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c2NyaXB0PgpmdW5jdGlvbiBoYW5kbGVMb2FkKGUpIHsKICB2YXIgY29s
bGVjdGlvbiA9IGRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5jaGlsZE5vZGVzOwogIGFsZXJ0KHR5
cGVvZiBjb2xsZWN0aW9uICsgJyAgJyArIGNvbGxlY3Rpb24pOwp9Cjwvc2NyaXB0Pgo8L2hlYWQ+
Cjxib2R5IG9ubG9hZD0naGFuZGxlTG9hZCgpJz4KPC9ib2R5Pgo8L2h0bWw+Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>