Bug 205236

Summary: [iOS] The WebContent process should not use API to get the user interface idiom
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
bfulgham: review+
Patch
none
Patch none

Per Arne Vollan
Reported 2019-12-14 10:50:11 PST
This should be done in the UI process, since using the API in the WebContent process will connect to daemons we intend to block access to.
Attachments
Patch (24.92 KB, patch)
2019-12-14 11:09 PST, Per Arne Vollan
no flags
Patch (24.95 KB, patch)
2019-12-14 11:32 PST, Per Arne Vollan
bfulgham: review+
Patch (24.96 KB, patch)
2019-12-17 16:47 PST, Per Arne Vollan
no flags
Patch (993 bytes, patch)
2019-12-17 17:49 PST, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2019-12-14 11:09:04 PST
Per Arne Vollan
Comment 2 2019-12-14 11:32:42 PST
Radar WebKit Bug Importer
Comment 3 2019-12-16 07:17:03 PST
Brent Fulgham
Comment 4 2019-12-17 16:27:09 PST
Comment on attachment 385696 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385696&action=review r=me > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:2929 > + return !WebKit::currentUserInterfaceIdiomIsPad(); Incorrect indentation.
Per Arne Vollan
Comment 5 2019-12-17 16:35:55 PST
(In reply to Brent Fulgham from comment #4) > Comment on attachment 385696 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=385696&action=review > > r=me > > > Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:2929 > > + return !WebKit::currentUserInterfaceIdiomIsPad(); > > Incorrect indentation. Thanks for reviewing!
Per Arne Vollan
Comment 6 2019-12-17 16:47:44 PST
WebKit Commit Bot
Comment 7 2019-12-17 17:32:48 PST
Comment on attachment 385929 [details] Patch Clearing flags on attachment: 385929 Committed r253661: <https://trac.webkit.org/changeset/253661>
Per Arne Vollan
Comment 8 2019-12-17 17:49:39 PST
Per Arne Vollan
Comment 9 2019-12-17 17:50:48 PST
(In reply to Per Arne Vollan from comment #8) > Created attachment 385931 [details] > Patch Added patch to address iOS build failure. Will land as soon as it compiles successfully on iOS.
Per Arne Vollan
Comment 10 2019-12-17 17:55:53 PST
(In reply to Per Arne Vollan from comment #9) > (In reply to Per Arne Vollan from comment #8) > > Created attachment 385931 [details] > > Patch > > Added patch to address iOS build failure. Will land as soon as it compiles > successfully on iOS. Landed https://trac.webkit.org/changeset/253663/webkit.
Note You need to log in before you can comment on or make changes to this bug.