<?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>58519</bug_id>
          
          <creation_ts>2011-04-14 00:08:24 -0700</creation_ts>
          <short_desc>unable define XML DOM object</short_desc>
          <delta_ts>2011-04-18 20:01:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9063</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="aluri balahari">alurib</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>aestes</cc>
    
    <cc>inferno</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>385557</commentid>
    <comment_count>0</comment_count>
    <who name="aluri balahari">alurib</who>
    <bug_when>2011-04-14 00:08:24 -0700</bug_when>
    <thetext>the error is &quot;object # &lt;Document&gt;has no method load&quot;.

well i am using dom object it works fine in IE,MOZILLA but not in crome ,unable to execute load method .the code is 

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
&lt;script type=&quot;text/javascript&quot; &gt;
function loadXMLDoc(file)
{
try
{
xmlDoc=new ActiveXObject(&quot;Microsoft.XMLDOM&quot;);
}
catch(e)
{
try
{
xmlDoc=document.implementation.createDocument(&quot;&quot;,&quot;&quot;,null);
}
catch(e)
{alert(e.message)
}
}
try
{
xmlDoc.async=false;
xmlDoc.load(file);
return(xmlDoc);
}
catch(e)
{ alert(e.message)
}
return (null);
}
function getNeela()
{
var xmlFile=loadXMLDoc(&quot;books.xml&quot;);
var neelaCount=xmlFile.getElementsByTagName(&quot;title&quot;)[0].childNodes[0].nodeValue;
var id=document.getElementById(&quot;fname&quot;).value;
if(neelaCount==id)
{
return true ;
}
else
{
alert(&quot;Sorry Wrong ID,Try Again...!!!&quot;);
return false;
}
}

&lt;/script&gt;

&lt;/head&gt;
&lt;body style=&quot;background-color:#FAFFF6&quot;&gt;

&lt;form action=&quot;content1.htm&quot; method=&quot;post&quot; &gt;
&lt;table align=&quot;center&quot; style=&quot;font-family:Arial;color:brown;border:3px solid green;font-weight:bold&quot;&gt; 
&lt;tr&gt;
&lt;td&gt;Enter Employee ID&lt;/td&gt;
&lt;td&gt;&lt;input type=&quot;text&quot; id=&quot;fname&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td &gt;&lt;/td&gt;
&lt;td&gt;&lt;input type=&quot;submit&quot; value=&quot;Enter&quot; onclick=&quot;return getNeela()&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>385784</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-04-14 08:46:28 -0700</bug_when>
    <thetext>This is just a missing feature of WebKit.  Is there some reason this is a security bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>385911</commentid>
    <comment_count>2</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2011-04-14 11:38:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/9285813&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>385918</commentid>
    <comment_count>3</comment_count>
    <who name="aluri balahari">alurib</who>
    <bug_when>2011-04-14 11:46:32 -0700</bug_when>
    <thetext>Hi i am sorry,this is not a securit bug,it&apos;s just a crome browser bug,unable to  define DOM object xmlhttprequest.load(),it&apos;s just couldn&apos;t recognize the object,if you run the code ,the error is ....
------------------------------------------

Object#&lt;Document&gt;  has no method &quot;load&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388251</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-18 20:01:00 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 9063 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>