aboutsummaryrefslogtreecommitdiffstats
path: root/tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix array index out of bounds due to malformed plugin message (PR539)Andrew Azores2013-10-241-0/+8
Failed calls to getString and getMember on JSObjects should not produce malformed result strings. "null" is appended to result rather than empty string. * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: (_getMember, _getString) append "null" to result when call is unsuccessful * tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.html: new test to ensure failed calls to getMember and getString on JSObject do not produce malformed results * tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js: same * tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java: same * tests/reproducers/simple/JSObjectWithoutToString/testcases/JSObjectWithoutToStringTest.java: same