Bug 185150 - [Apple Pay] Allow $0 totals
Summary: [Apple Pay] Allow $0 totals
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-04-30 16:21 PDT by Andy Estes
Modified: 2018-08-24 08:20 PDT (History)
10 users (show)

See Also:


Attachments
Patch (10.32 KB, patch)
2018-04-30 16:25 PDT, Andy Estes
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews206 for win-future (12.76 MB, application/zip)
2018-04-30 20:42 PDT, EWS Watchlist
no flags Details
Patch (12.78 KB, patch)
2018-08-23 17:07 PDT, Andy Estes
no flags Details | Formatted Diff | Diff
Patch (13.88 KB, patch)
2018-08-24 07:37 PDT, Andy Estes
no flags Details | Formatted Diff | Diff
Patch (13.88 KB, patch)
2018-08-24 07:42 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-04-30 16:21:59 PDT
[Apple Pay] Allow $0 totals
Comment 1 Andy Estes 2018-04-30 16:22:41 PDT
rdar://problem/39212331
Comment 2 Andy Estes 2018-04-30 16:25:06 PDT Comment hidden (obsolete)
Comment 3 Tim Horton 2018-04-30 16:37:58 PDT
Comment on attachment 339160 [details]
Patch

Is there a spec change to reference?
Comment 4 Andy Estes 2018-04-30 16:39:04 PDT
(In reply to Tim Horton from comment #3)
> Comment on attachment 339160 [details]
> Patch
> 
> Is there a spec change to reference?

No spec change. Payment Request has always allowed this, but we had an Apple Pay-specific restriction that we're now relaxing. Lots of justification for why in rdar://problem/39212331.
Comment 5 Andy Estes 2018-04-30 16:46:10 PDT
Alex pointed out that I need to add OS version checks, and he's right!
Comment 6 EWS Watchlist 2018-04-30 20:42:28 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2018-04-30 20:42:39 PDT Comment hidden (obsolete)
Comment 8 Andy Estes 2018-08-23 17:07:44 PDT
Created attachment 347976 [details]
Patch
Comment 9 Andy Estes 2018-08-23 17:08:46 PDT
(In reply to Andy Estes from comment #5)
> Alex pointed out that I need to add OS version checks, and he's right!

The version number was bumped in r235251, so clients can use this to check if $0 totals are supported.
Comment 10 Andy Estes 2018-08-24 07:37:23 PDT Comment hidden (obsolete)
Comment 11 WebKit Commit Bot 2018-08-24 07:40:01 PDT Comment hidden (obsolete)
Comment 12 Andy Estes 2018-08-24 07:42:08 PDT
Created attachment 348009 [details]
Patch
Comment 13 WebKit Commit Bot 2018-08-24 08:20:56 PDT
Comment on attachment 348009 [details]
Patch

Clearing flags on attachment: 348009

Committed r235318: <https://trac.webkit.org/changeset/235318>
Comment 14 WebKit Commit Bot 2018-08-24 08:20:58 PDT
All reviewed patches have been landed.  Closing bug.