Bug 175710 - [Fetch API] Add support for a callback-based fetch
Summary: [Fetch API] Add support for a callback-based fetch
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-08-17 21:57 PDT by youenn fablet
Modified: 2017-08-18 12:33 PDT (History)
4 users (show)

See Also:


Attachments
Patch (9.83 KB, patch)
2017-08-17 22:03 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Patch for landing (9.82 KB, patch)
2017-08-18 11:13 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

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