CrashTracer: [REGRESSION] 1090 crashes in Safari at com.apple.JavaScriptCore: KJS...
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Jan 2009 08:34:58 +0000 (08:34 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Jan 2009 08:34:58 +0000 (08:34 +0000)
commitcc778de925d1857b8ea764191000e084d0ed2672
tree81e1b34a699a976593aadd6bf2dd3302eb570b7b
parenta89d97b74a1922ff8b84007eed1182a6203ca8c2
CrashTracer: [REGRESSION] 1090 crashes in Safari at com.apple.JavaScriptCore: KJS::JSGlobalObject::stopTimeoutCheck + 0
<rdar://problem/5821130>

Reviewed by Cameron Zwarich.

This was caused by a plugin instance calling into JS code that removed the plugin
object.  This fix is to cache the global object locally in a ProtectedPtr so we don't
need to rely on the continued existence of the plugin instance.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/NP_jsobject.cpp