fix a use-after-free in TestNetscapePlugIn
Created attachment 132099 [details] Patch
Anders, I don't know if you remember this code from about 2 years ago, but valgrind caught this as a use-after-free in Chromium's drt.
Comment on attachment 132099 [details] Patch I don't think this is correct. Chromium shouldn't destroy the plug-in as long as there's plug-in code on the stack.
(In reply to comment #3) > (From update of attachment 132099 [details]) > I don't think this is correct. Chromium shouldn't destroy the plug-in as long as there's plug-in code on the stack. You're right, this is a bug in Chromium code. I was able to see the behavior you described in Firefox (Linux) and Safari single-process (I tried to run in Safari multi-process, but that just hangs-- the test was skipped on SL and Lion in bug 32229).