Bug 147872

Summary: [Content Filtering] REGRESSION (r182356): Provisional URL is incorrect in didReceiveServerRedirectForProvisionalLoadForFrame when Content Filtering is enabled
Product: WebKit Reporter: Andy Estes <aestes>
Component: Page LoadingAssignee: Andy Estes <aestes>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, cdumez, commit-queue, darin, japhet, koivisto, mitz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Bug Depends on: 147871, 148317    
Bug Blocks:    
Attachments:
Description Flags
Patch mitz: review+

Andy Estes
Reported 2015-08-11 00:16:21 PDT
When Content Filtering is enabled and a server redirect occurs, the provisional URL does is not updated to the redirect URL when didReceiveServerRedirectForProvisionalLoadForFrame is sent to the load delegate.
Attachments
Patch (28.85 KB, patch)
2015-08-23 17:40 PDT, Andy Estes
mitz: review+
Andy Estes
Comment 1 2015-08-11 00:18:05 PDT
Andy Estes
Comment 2 2015-08-23 17:40:11 PDT
mitz
Comment 3 2015-08-23 18:12:22 PDT
Comment on attachment 259742 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259742&action=review > Tools/TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig:32 > +LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../.."; Is this number of ../ right for iOS as well? > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:38 > +static bool isDone = false; Don’t have to initialize to false.
Andy Estes
Comment 4 2015-08-23 22:36:42 PDT
(In reply to comment #3) > Comment on attachment 259742 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=259742&action=review > > > Tools/TestWebKitAPI/Configurations/WebProcessPlugIn.xcconfig:32 > > +LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../.."; > > Is this number of ../ right for iOS as well? Nope, it's not. Good catch. > > > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/ContentFiltering.mm:38 > > +static bool isDone = false; > > Don’t have to initialize to false. Ok. Thanks again for the review!
Andy Estes
Comment 5 2015-08-23 23:48:50 PDT
Note You need to log in before you can comment on or make changes to this bug.