Bug 221960 - REGRESSION(r271735): PaymentShippingOption.selected ignored
Summary: REGRESSION(r271735): PaymentShippingOption.selected ignored
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: Andy Estes
URL:
Keywords: InRadar
Depends on:
Blocks: 234893 256439
  Show dependency treegraph
 
Reported: 2021-02-16 06:34 PST by Sam Sneddon [:gsnedders]
Modified: 2023-05-07 20:33 PDT (History)
11 users (show)

See Also:


Attachments
Patch (46.45 KB, patch)
2021-11-08 13:02 PST, Devin Rousso
no flags Details | Formatted Diff | Diff
Patch (39.14 KB, patch)
2021-11-08 17:26 PST, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Devin Rousso 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).
Comment 2 Sam Sneddon [:gsnedders] 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
Comment 3 Devin Rousso 2021-11-08 13:02:09 PST
Created attachment 443595 [details]
Patch
Comment 4 Tim Horton 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.
Comment 5 Devin Rousso 2021-11-08 17:26:03 PST
Created attachment 443637 [details]
Patch
Comment 6 EWS 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].