Bug 196755

Summary: Add SPI WKNavigationResponse._downloadAttribute
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, cdumez, commit-queue, dbates, ews-watchlist, japhet, sam, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Alex Christensen 2019-04-09 18:06:24 PDT
Add SPI WKNavigationResponse._downloadAttribute
Comment 1 Alex Christensen 2019-04-09 18:12:55 PDT
Created attachment 367090 [details]
Patch
Comment 2 EWS Watchlist 2019-04-09 18:17:30 PDT
Attachment 367090 [details] did not pass style-queue:


ERROR: Source/WebCore/loader/EmptyFrameLoaderClient.h:96:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.  [build/webcore_export] [4]
Total errors found: 1 in 25 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Sam Weinig 2019-04-10 11:56:44 PDT
Comment on attachment 367090 [details]
Patch

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

> Source/WebKit/ChangeLog:10
> +        Reviewed by NOBODY (OOPS!).
> +
> +        * UIProcess/API/APINavigationResponse.h:
> +        * UIProcess/API/Cocoa/WKNavigationResponse.mm:

Please fill out this change log. At least explain what the intent of this change is.
Comment 4 Alex Christensen 2019-04-10 13:02:07 PDT
Created attachment 367148 [details]
Patch
Comment 5 EWS Watchlist 2019-04-10 13:05:03 PDT
Attachment 367148 [details] did not pass style-queue:


ERROR: Source/WebCore/loader/EmptyFrameLoaderClient.h:96:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.  [build/webcore_export] [4]
Total errors found: 1 in 25 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Brady Eidson 2019-04-10 15:17:29 PDT
Comment on attachment 367148 [details]
Patch

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

> Source/WebKit/UIProcess/API/APINavigationResponse.h:42
> +    static Ref<NavigationResponse> create(API::FrameInfo& frame, const WebCore::ResourceRequest& request, const WebCore::ResourceResponse& response, bool canShowMIMEType, const WTF::String& downloadAttribute)
>      {
> +        return adoptRef(*new NavigationResponse(frame, request, response, canShowMIMEType, downloadAttribute));
>      }

Can take the opportunity to make the static create() just be a variadic template :)
Comment 7 Alex Christensen 2019-04-10 15:24:50 PDT
Created attachment 367170 [details]
Patch
Comment 8 EWS Watchlist 2019-04-10 15:27:46 PDT
Attachment 367170 [details] did not pass style-queue:


ERROR: Source/WebCore/loader/EmptyFrameLoaderClient.h:96:  Inline functions should not be in classes annotated with WEBCORE_EXPORT. Remove the macro from the class and apply it to each appropriate method, or move the inline function definition out-of-line.  [build/webcore_export] [4]
Total errors found: 1 in 25 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 WebKit Commit Bot 2019-04-10 15:56:41 PDT
Comment on attachment 367170 [details]
Patch

Clearing flags on attachment: 367170

Committed r244161: <https://trac.webkit.org/changeset/244161>
Comment 10 WebKit Commit Bot 2019-04-10 15:56:43 PDT
All reviewed patches have been landed.  Closing bug.
Comment 11 Radar WebKit Bug Importer 2019-04-10 15:57:15 PDT
<rdar://problem/49794165>