Bug 130355

Summary: Add SPI for getting bundle parameters from the injected bundle
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mitz: review+

Anders Carlsson
Reported 2014-03-17 13:07:43 PDT
Add SPI for getting bundle parameters from the injected bundle
Attachments
Patch (18.98 KB, patch)
2014-03-17 13:09 PDT, Anders Carlsson
mitz: review+
Anders Carlsson
Comment 1 2014-03-17 13:09:03 PDT
mitz
Comment 2 2014-03-17 13:28:21 PDT
Comment on attachment 226947 [details] Patch >+ _parameters = adoptNS([[NSMutableDictionary alloc] initWithDictionary:dictionary]); Is this better than -mutableCopy? > > #if USE(FOUNDATION) > OBJC_CLASS NSBundle; >+OBJC_CLASS NSMutableDictionary; >+OBJC_CLASS WKWebProcessBundleParameters; Shouldn’t this be only #if WK_API_ENABLED ? > >+#if PLATFORM(COCOA) >+ WKWebProcessBundleParameters *bundleParameters(); >+#endif Ditto. >+ >+#if PLATFORM(COCOA) >+ RetainPtr<WKWebProcessBundleParameters> m_bundleParameters; >+#endif Ditto.
Anders Carlsson
Comment 3 2014-03-17 13:38:53 PDT
Note You need to log in before you can comment on or make changes to this bug.