Summary: | [Cocoa] Allow the web process plug-in to intercept resource requests | ||||||
---|---|---|---|---|---|---|---|
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
2013-12-18 16:12:14 PST
Created attachment 219580 [details]
Add -webProcessPlugInBrowserContextController:frame:willSendRequest:redirectResponse:
Comment on attachment 219580 [details] Add -webProcessPlugInBrowserContextController:frame:willSendRequest:redirectResponse: View in context: https://bugs.webkit.org/attachment.cgi?id=219580&action=review > Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:144 > + if (loadDelegate) { > setUpPageLoaderClient(self, *_page); > - else > + setUpResourceLoadClient(self, *_page); I'd use an early return here to get rid of the ugly one-liner inside the brace. Committed <https://trac.webkit.org/r160809>. |