diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | plugin/icedteanp/IcedTeaScriptablePluginObject.cc | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2014-01-17 Andrew Azores <[email protected]> + + Fixes JS reproducer regression. + http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-January/025764.html + * plugin/icedteanp/IcedTeaScriptablePluginObject.cc: (hasMethod) fixed + regression from rev 757:ee92f55c69a3 + 2014-01-16 Jiri Vanek <[email protected]> Reproducers stabilization by removing check for not presented general Exception diff --git a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc index 416cde6..02c7c25 100644 --- a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc +++ b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc @@ -474,7 +474,7 @@ IcedTeaScriptableJavaObject::hasMethod(NPObject *npobj, NPIdentifier name_id) bool hasMethod = false; // If object is an array and requested "method" may be a number, check for it first - if ( scriptable_object->is_object_array || + if ( !scriptable_object->is_object_array || (browser_functions.intfromidentifier(name_id) < 0)) { |