[Cocoa] -[WKWebProcessPlugInController parameters] returns nil if no parameters have been set yet
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>.