Bug 209117

Summary: Add missing checks needed for AppBound Quirk
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit2Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, bfulgham, cdumez, commit-queue, ews-watchlist, japhet, katherine_cheney, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Brent Fulgham 2020-03-14 15:56:56 PDT
In Bug 208777 I made it possible to turn off InAppBrowserPrivacy quirks, but missed a few places. This patch corrects that oversight.
Comment 1 Radar WebKit Bug Importer 2020-03-14 15:58:03 PDT
<rdar://problem/60460097>
Comment 2 Brent Fulgham 2020-03-14 16:10:45 PDT
Created attachment 393595 [details]
Patch
Comment 3 John Wilander 2020-03-14 16:18:37 PDT
Comment on attachment 393595 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393595&action=review

r=me with comments.

> Source/WebKit/ChangeLog:8
> +

Did you mean to put the same description here as in the WebCore change log?

> Source/WebCore/loader/FrameLoaderClient.h:383
> +    virtual bool needsInAppBrowserPrivacyQuirks() { return false; }

Is there a reason for not making this const?

> Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.h:292
> +    bool needsInAppBrowserPrivacyQuirks() final;

This too could be const.
Comment 4 Brent Fulgham 2020-03-14 16:22:52 PDT
Comment on attachment 393595 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393595&action=review

>> Source/WebKit/ChangeLog:8
>> +
> 
> Did you mean to put the same description here as in the WebCore change log?

Whoops! Yes.

>> Source/WebCore/loader/FrameLoaderClient.h:383
>> +    virtual bool needsInAppBrowserPrivacyQuirks() { return false; }
> 
> Is there a reason for not making this const?

Good catch.
Comment 5 Brent Fulgham 2020-03-14 16:30:29 PDT
Created attachment 393596 [details]
Patch for landing
Comment 6 WebKit Commit Bot 2020-03-14 17:14:38 PDT
Comment on attachment 393596 [details]
Patch for landing

Clearing flags on attachment: 393596

Committed r258476: <https://trac.webkit.org/changeset/258476>
Comment 7 WebKit Commit Bot 2020-03-14 17:14:39 PDT
All reviewed patches have been landed.  Closing bug.