| Summary: | Add SPI for getting bundle parameters from the injected bundle | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
| Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | ||||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Anders Carlsson
2014-03-17 13:07:43 PDT
Created attachment 226947 [details]
Patch
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. Committed r165755: <http://trac.webkit.org/changeset/165755> |