Bug 190333

Summary: [Payment Request] Requests should be aborted after details settle when the user cancels
Product: WebKit Reporter: Andy Estes <aestes>
Component: New BugsAssignee: Andy Estes <aestes>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, andersca, commit-queue, darin, sam, simon.fraser, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Andy Estes 2018-10-06 17:22:24 PDT
[Payment Request] Requests should be aborted after details settle when the user cancels
Comment 1 Andy Estes 2018-10-06 17:40:39 PDT Comment hidden (obsolete)
Comment 2 Andy Estes 2018-10-06 17:55:37 PDT
Created attachment 351736 [details]
Patch
Comment 3 Alex Christensen 2018-10-08 09:33:38 PDT
Comment on attachment 351736 [details]
Patch

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

> Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp:668
>  void PaymentRequest::whenDetailsSettled(std::function<void()>&& callback)

Please use WTF::Function or WTF::CompletionHandler
Comment 4 Andy Estes 2018-10-08 09:51:07 PDT
(In reply to Alex Christensen from comment #3)
> Comment on attachment 351736 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=351736&action=review
> 
> > Source/WebCore/Modules/paymentrequest/PaymentRequest.cpp:668
> >  void PaymentRequest::whenDetailsSettled(std::function<void()>&& callback)
> 
> Please use WTF::Function or WTF::CompletionHandler

Unable, unfortunately, because JSNativeStdFunction is a std::function.
Comment 5 WebKit Commit Bot 2018-10-08 10:22:29 PDT
Comment on attachment 351736 [details]
Patch

Clearing flags on attachment: 351736

Committed r236922: <https://trac.webkit.org/changeset/236922>
Comment 6 WebKit Commit Bot 2018-10-08 10:22:30 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2018-10-08 10:23:32 PDT
<rdar://problem/45092116>