WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22115
NPN_HasPropertyUPP and NPN_HasMethodUPP entries in NPNetscapeFuncs are NULL
https://bugs.webkit.org/show_bug.cgi?id=22115
Summary
NPN_HasPropertyUPP and NPN_HasMethodUPP entries in NPNetscapeFuncs are NULL
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug