Bug 221960

Summary: REGRESSION(r271735): PaymentShippingOption.selected ignored
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: WebCore Misc.Assignee: Andy Estes <aestes>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, benjamin, cdumez, cmarcelo, esprehn+autocc, ews-watchlist, hi, kondapallykalyan, pangle, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=220566
Bug Depends on:    
Bug Blocks: 234893, 256439    
Attachments:
Description Flags
Patch
none
Patch none

Attachments
Patch (46.45 KB, patch)
2021-11-08 13:02 PST, Devin Rousso
no flags
Patch (39.14 KB, patch)
2021-11-08 17:26 PST, Devin Rousso
no flags
Devin Rousso
Comment 1 2021-02-16 09:10:38 PST
Are you sure this was not caused by r271735? If it is r271735, then this is expected (see the comment in the ChangeLog of r271735 as to why).
Sam Sneddon [:gsnedders]
Comment 2 2021-02-16 10:55:50 PST
rdar://problem/73464404 Okay, so the basic answer is that we just outright ignore PaymentShippingOption.selected now, and always use the first item, given the current spec cannot be implemented on macOS/iOS with PassKit? And that the tests previously passed because we had disagreement between the JS API and the UI presented by PassKit? If the spec is unimplementable with a major OS payment API, that sounds like feedback we should send to the WG. Leaving this issue open to: 1. Send feedback (assigned to Andy to do so, per Devin) 2. Update the spec and tests, thereby resolving the issue by making us compliant with the spec; or fix our implementation v. the current spec if PassKit adds a suitable API, and to document our current violation of the spec
Devin Rousso
Comment 3 2021-11-08 13:02:09 PST
Tim Horton
Comment 4 2021-11-08 13:27:16 PST
Comment on attachment 443595 [details] Patch If there is a regression, it should be fixed separately from new feature work.
Devin Rousso
Comment 5 2021-11-08 17:26:03 PST
EWS
Comment 6 2021-11-09 12:04:28 PST
Committed r285521 (244038@main): <https://commits.webkit.org/244038@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443637 [details].
Note You need to log in before you can comment on or make changes to this bug.