Bug 177480

Summary: Make PolicyAction an encodable enum class
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, dbates, japhet, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Alex Christensen 2017-09-25 21:48:21 PDT
Make PolicyAction an encodable enum class
Comment 1 Alex Christensen 2017-09-25 21:56:25 PDT
Created attachment 321789 [details]
Patch
Comment 2 Antti Koivisto 2017-09-25 22:00:19 PDT
Comment on attachment 321789 [details]
Patch

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

> Source/WebKit/UIProcess/WebPageProxy.messages.in:102
> +    DecidePolicyForNavigationAction(uint64_t frameID, struct WebCore::SecurityOriginData frameSecurityOrigin, uint64_t navigationID, struct WebKit::NavigationActionData navigationActionData, struct WebKit::FrameInfoData originatingFrameInfoData, uint64_t originatingPageID, WebCore::ResourceRequest originalRequest, WebCore::ResourceRequest request, uint64_t listenerID, WebKit::UserData userData) -> (uint64_t newNavigationID, enum WebCore::PolicyAction policyAction, WebKit::DownloadID downloadID, struct WebKit::WebsitePolicies websitePolicies) Delayed

Would be nice make these sane at some point (by packing all the million arguments into a struct for example).
Comment 3 Antti Koivisto 2017-09-25 22:00:31 PDT
r=me
Comment 4 Alex Christensen 2017-09-25 22:28:53 PDT
Created attachment 321795 [details]
Patch
Comment 5 Alex Christensen 2017-09-25 22:52:59 PDT
http://trac.webkit.org/r222492
Comment 6 Radar WebKit Bug Importer 2017-09-27 12:15:55 PDT
<rdar://problem/34692891>