-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=113139 Patch by Arunprasad Rajkumar <arunprasadr@nds.com> on 2013-04-08 Reviewed by Anders Carlsson. Source/WebCore: Tests: plugins/npruntime/tostring.html plugins/npruntime/valueof.html * bridge/c/c_instance.cpp: (JSC::Bindings::CInstance::~CInstance): (JSC::Bindings::CInstance::invokeMethod): (JSC::Bindings::CInstance::invokeDefaultMethod): (Bindings): (JSC::Bindings::CInstance::invokeConstruct): (JSC::Bindings::CInstance::stringValue): (JSC::Bindings::CInstance::booleanValue): (JSC::Bindings::CInstance::valueOf): (JSC::Bindings::CInstance::toJSPrimitive): * bridge/c/c_instance.h: (CInstance): Tools: * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj: * DumpRenderTree/DumpRenderTree.vcxproj/TestNetscapePlugin/TestNetscapePlugin.vcxproj.filters: * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: * DumpRenderTree/TestNetscapePlugIn/Tests/ToStringAndValueOfObject.cpp: Added. (ToStringAndValueOfObject): (ToStringAndValueOfObject::ToStringAndValueOfObject): (ScriptableObject): (ToStringAndValueOfObject::ScriptableObject::hasMethod): (ToStringAndValueOfObject::ScriptableObject::invoke): (ToStringAndValueOfObject::ScriptableObject::pluginTest): (ToStringAndValueOfObject::NPP_GetValue): * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj: * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro: * GNUmakefile.am: LayoutTests: * platform/qt-mac/TestExpectations: * platform/wk2/TestExpectations: * plugins/npruntime/tostring-expected.txt: Added. * plugins/npruntime/tostring.html: Added. * plugins/npruntime/valueof-expected.txt: Added. * plugins/npruntime/valueof.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0cb90f97