<?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>22115</bug_id>
          
          <creation_ts>2008-11-06 13:41:00 -0800</creation_ts>
          <short_desc>NPN_HasPropertyUPP and NPN_HasMethodUPP entries in NPNetscapeFuncs are NULL</short_desc>
          <delta_ts>2008-11-06 20:05:48 -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>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://jdk6.dev.java.net/nonav/plugin2/liveconnect/ArrayAccess.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kenneth Russell">kenneth.russell</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>kenneth.russell</cc>
    
    <cc>swingler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97872</commentid>
    <comment_count>0</comment_count>
    <who name="Kenneth Russell">kenneth.russell</who>
    <bug_when>2008-11-06 13:41:00 -0800</bug_when>
    <thetext>With the current nightly build of WebKit, the following entries in the NPNetscapeFuncs passed from the browser to plug-ins are NULL:

    NPN_HasPropertyUPP hasproperty;
    NPN_HasMethodUPP hasmethod;

This causes the new NPRuntime-based Java Plug-In to crash WebKit on the above test case. It relies on being able to query JavaScript objects for the presence of certain fields, including the &quot;length&quot; field of arrays.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97873</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kenneth.russell</who>
    <bug_when>2008-11-06 13:46:42 -0800</bug_when>
    <thetext>The following test case similarly crashes the browser:
https://jdk6.dev.java.net/nonav/plugin2/liveconnect/JavaJSTest.html
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97903</commentid>
    <comment_count>2</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2008-11-06 20:05:48 -0800</bug_when>
    <thetext>Committed revision 38210.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>