Summary: | [Cocoa] -[WKWebProcessPlugInController parameters] returns nil if no parameters have been set yet | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||
Component: | WebKit2 | Assignee: | mitz | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
mitz
2014-04-26 18:53:28 PDT
Created attachment 230249 [details]
Create m_bundleParameters if needed
Comment on attachment 230249 [details] Create m_bundleParameters if needed View in context: https://bugs.webkit.org/attachment.cgi?id=230249&action=review > Source/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:137 > + m_bundleParameters = adoptNS([[WKWebProcessBundleParameters alloc] initWithDictionary:[NSDictionary dictionary]]); Maybe @{ } instead of [NSDictionary dictionary]? (In reply to comment #2) > (From update of attachment 230249 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=230249&action=review > > > Source/WebKit2/WebProcess/InjectedBundle/mac/InjectedBundleMac.mm:137 > > + m_bundleParameters = adoptNS([[WKWebProcessBundleParameters alloc] initWithDictionary:[NSDictionary dictionary]]); > > Maybe @{ } instead of [NSDictionary dictionary]? Done. Fixed in <http://trac.webkit.org/r167865>. |