Bug 125959

Summary: [Cocoa] Allow the web process plug-in to intercept resource requests
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add -webProcessPlugInBrowserContextController:frame:willSendRequest:redirectResponse: andersca: review+

mitz
Reported 2013-12-18 16:12:14 PST
[Cocoa] Allow the web process plug-in to intercept resource requests
Attachments
Add -webProcessPlugInBrowserContextController:frame:willSendRequest:redirectResponse: (5.25 KB, patch)
2013-12-18 16:17 PST, mitz
andersca: review+
mitz
Comment 1 2013-12-18 16:17:03 PST
Created attachment 219580 [details] Add -webProcessPlugInBrowserContextController:frame:willSendRequest:redirectResponse:
Anders Carlsson
Comment 2 2013-12-18 16:34:44 PST
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.
mitz
Comment 3 2017-03-25 19:22:40 PDT
Note You need to log in before you can comment on or make changes to this bug.