Bug 112206

Summary: Primary plugin hit detection needs to run after plugin creation
Product: WebKit Reporter: Dean Jackson <dino>
Component: Plug-insAssignee: Dean Jackson <dino>
Severity: Normal CC: thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch thorton: review+

Description Dean Jackson 2013-03-12 16:28:55 PDT
We can't always guarantee that the didFinishLoad will happen before the plugins are created. Move the plugin hit detection to a more reliable spot.
Comment 1 Radar WebKit Bug Importer 2013-03-12 16:29:13 PDT
Comment 2 Tim Horton 2013-03-12 16:29:35 PDT
Let's not move it, let's just call it from more than one place.
Comment 3 Tim Horton 2013-03-12 16:30:33 PDT
(it was designed to allow calling it again later (the plan was on-plugin-creation), and will choose a primary snapshotted plugin then if there isn't already one)
Comment 4 Dean Jackson 2013-03-12 17:12:30 PDT
Created attachment 192838 [details]
Comment 5 Dean Jackson 2013-03-12 18:01:34 PDT
Committed r145644: <http://trac.webkit.org/changeset/145644>