If JavaScript is disabled then loading a page that contains the Silverlight plug-in will cause Safari to crash. * STEPS TO REPRODUCE 1. Disable JavaScript. 2. Load <http://feralpixel.com/default.htm#/Algorithms/A13.xaml>. * RESULTS Crash.
Created attachment 52323 [details] proposed fix
<rdar://problem/7817498>
Comment on attachment 52323 [details] proposed fix r=me
Comment on attachment 52323 [details] proposed fix > + (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::get): Use find() instead of get(), > + because the latter fails with an assertion when looking up 0 or -1. Why doesn't find() fail with an assertion looking up 0 or -1? Makes no sense to me that it would not.
Committed <http://trac.webkit.org/changeset/56932>.
That's because find() has an early return if m_table is null, and get() doesn't. You are right, the first part of this change is incorrect.
Created attachment 52326 [details] more fixes
Comment on attachment 52326 [details] more fixes r=me
Follow-up committed <http://trac.webkit.org/changeset/56935>.