Bug 22115

Summary: NPN_HasPropertyUPP and NPN_HasMethodUPP entries in NPNetscapeFuncs are NULL
Product: WebKit Reporter: Kenneth Russell <kenneth.russell>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Critical CC: andersca, kenneth.russell, swingler
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: https://jdk6.dev.java.net/nonav/plugin2/liveconnect/ArrayAccess.html

Kenneth Russell
Reported 2008-11-06 13:41:00 PST
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 "length" field of arrays.
Attachments
Kenneth Russell
Comment 1 2008-11-06 13:46:42 PST
The following test case similarly crashes the browser: https://jdk6.dev.java.net/nonav/plugin2/liveconnect/JavaJSTest.html
Anders Carlsson
Comment 2 2008-11-06 20:05:48 PST
Committed revision 38210.
Note You need to log in before you can comment on or make changes to this bug.