Bug 209117 - Add missing checks needed for AppBound Quirk
Summary: Add missing checks needed for AppBound Quirk
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-14 15:56 PDT by Brent Fulgham
Modified: 2020-03-14 17:14 PDT (History)
9 users (show)

See Also:


Attachments
Patch (8.48 KB, patch)
2020-03-14 16:10 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch for landing (8.69 KB, patch)
2020-03-14 16:30 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.