-
tony@chromium.org authored
Reviewed by Adam Barth. run platform/chromium/plugins/refcount-leaks.html on all platforms https://bugs.webkit.org/show_bug.cgi?id=49485 Moving the test into the top level plugins dir. * platform/chromium/drt_expectations.txt: * platform/chromium/plugins/refcount-leaks-expected.txt: Removed. * platform/chromium/plugins/refcount-leaks.html: Removed. * plugins/refcount-leaks-expected.txt: Copied from LayoutTests/platform/chromium/plugins/refcount-leaks-expected.txt. * plugins/refcount-leaks.html: Copied from LayoutTests/platform/chromium/plugins/refcount-leaks.html. 2010-11-18 Tony Chang <tony@chromium.org> Reviewed by Adam Barth. run platform/chromium/plugins/refcount-leaks.html on all platforms https://bugs.webkit.org/show_bug.cgi?id=49485 Add PluginObject.testObjectCount which returns the number of allocated TestObjects. Add PluginObject.testCreateTestObject which allocates and returns a TestObject. Add TestObject.refCount which returns the number of refs on the TestObject. * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp: (pluginGetProperty): (pluginInvoke): * DumpRenderTree/TestNetscapePlugIn/TestObject.cpp: (getTestObjectCount): (testAllocate): (testDeallocate): (testGetProperty): (testScriptObjectInvoke): Release a ref to a plugin object that was previously leaked. * DumpRenderTree/TestNetscapePlugIn/TestObject.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d3ff3ea8