Bug 175710

Summary: [Fetch API] Add support for a callback-based fetch
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebCore Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Description youenn fablet 2017-08-17 21:57:55 PDT
This will be useful for Cache add/addAll.
Comment 1 youenn fablet 2017-08-17 22:03:20 PDT
Created attachment 318471 [details]
Patch
Comment 2 Alex Christensen 2017-08-18 10:38:04 PDT
Comment on attachment 318471 [details]
Patch

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

> Source/WebCore/Modules/fetch/FetchResponse.h:62
> +    using NotificationCallbak = WTF::Function<void(ExceptionOr<FetchResponse&>&&)>;

Callback
Comment 3 youenn fablet 2017-08-18 11:13:54 PDT
Created attachment 318520 [details]
Patch for landing
Comment 4 WebKit Commit Bot 2017-08-18 12:32:21 PDT
Comment on attachment 318520 [details]
Patch for landing

Clearing flags on attachment: 318520

Committed r220927: <http://trac.webkit.org/changeset/220927>
Comment 5 WebKit Commit Bot 2017-08-18 12:32:23 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2017-08-18 12:33:45 PDT
<rdar://problem/33967940>