Bug 103288 - Ensure that plugins are initialized before using handleEditingCommand/isEditingCommandEnabled/shouldAllowScripting
Summary: Ensure that plugins are initialized before using handleEditingCommand/isEditi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 13:45 PST by Tim Horton
Modified: 2012-11-26 18:03 PST (History)
6 users (show)

See Also:


Attachments
patch (2.84 KB, patch)
2012-11-26 14:46 PST, Tim Horton
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2012-11-26 13:45:57 PST
Other PluginView methods that use m_plugin null-check m_plugin and check that the plugin has finished initializing before using it. These three should do the same thing.
Comment 1 Tim Horton 2012-11-26 14:46:07 PST
Created attachment 176076 [details]
patch
Comment 2 Tim Horton 2012-11-26 18:03:07 PST
http://trac.webkit.org/changeset/135797