Bug 189235 - [Payment Request] Implement the MerchantValidationEvent constructor
Summary: [Payment Request] Implement the MerchantValidationEvent constructor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andy Estes
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-09-02 20:12 PDT by Andy Estes
Modified: 2018-09-03 10:17 PDT (History)
13 users (show)

See Also:


Attachments
Patch (73.68 KB, patch)
2018-09-02 20:15 PDT, Andy Estes
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews106 for mac-sierra-wk2 (2.83 MB, application/zip)
2018-09-02 21:26 PDT, EWS Watchlist
no flags Details
Patch (99.36 KB, patch)
2018-09-02 21:50 PDT, Andy Estes
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews107 for mac-sierra-wk2 (2.80 MB, application/zip)
2018-09-02 23:11 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews122 for ios-simulator-wk2 (2.28 MB, application/zip)
2018-09-02 23:52 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews124 for ios-simulator-wk2 (8.68 MB, application/zip)
2018-09-03 01:51 PDT, EWS Watchlist
no flags Details
Patch (99.41 KB, patch)
2018-09-03 08:54 PDT, Andy Estes
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Estes 2018-09-02 20:12:24 PDT
Update payment-request web platform tests to 0313d9f
Comment 1 Andy Estes 2018-09-02 20:15:31 PDT Comment hidden (obsolete)
Comment 2 EWS Watchlist 2018-09-02 21:26:33 PDT Comment hidden (obsolete)
Comment 3 EWS Watchlist 2018-09-02 21:26:35 PDT Comment hidden (obsolete)
Comment 4 Andy Estes 2018-09-02 21:50:16 PDT Comment hidden (obsolete)
Comment 5 Daniel Bates 2018-09-02 22:52:06 PDT
Comment on attachment 348757 [details]
Patch

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

r=me

> Source/WebCore/Modules/paymentrequest/MerchantValidationEvent.cpp:51
>  MerchantValidationEvent::MerchantValidationEvent(const AtomicString& type, const URL& validationURL, PaymentRequest& paymentRequest)

For your consideration, I suggest we change the data type of paymentRequest to a Ref<PaymentRequest>&& to convey that the caller is transferring ownership.
Comment 6 Daniel Bates 2018-09-02 23:07:52 PDT
(In reply to Daniel Bates from comment #5)
> > Source/WebCore/Modules/paymentrequest/MerchantValidationEvent.cpp:51
> >  MerchantValidationEvent::MerchantValidationEvent(const AtomicString& type, const URL& validationURL, PaymentRequest& paymentRequest)
> 
> For your consideration, I suggest we change the data type of paymentRequest
> to a Ref<PaymentRequest>&& to convey that the caller is transferring
> ownership.


Disregard this remark.
Comment 7 EWS Watchlist 2018-09-02 23:11:15 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2018-09-02 23:11:16 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2018-09-02 23:52:45 PDT Comment hidden (obsolete)
Comment 10 EWS Watchlist 2018-09-02 23:52:47 PDT Comment hidden (obsolete)
Comment 11 EWS Watchlist 2018-09-03 01:51:40 PDT Comment hidden (obsolete)
Comment 12 EWS Watchlist 2018-09-03 01:51:42 PDT Comment hidden (obsolete)
Comment 13 Andy Estes 2018-09-03 08:54:31 PDT
Created attachment 348773 [details]
Patch
Comment 14 WebKit Commit Bot 2018-09-03 10:16:08 PDT
Comment on attachment 348773 [details]
Patch

Clearing flags on attachment: 348773

Committed r235600: <https://trac.webkit.org/changeset/235600>
Comment 15 WebKit Commit Bot 2018-09-03 10:16:10 PDT
All reviewed patches have been landed.  Closing bug.
Comment 16 Radar WebKit Bug Importer 2018-09-03 10:17:20 PDT
<rdar://problem/44074727>