- From: ianbjacobs <notifications@github.com>
- Date: Thu, 17 Nov 2016 06:50:26 -0800
- To: w3c/webpayments-method-identifiers <webpayments-method-identifiers@noreply.github.com>
- Message-ID: <w3c/webpayments-method-identifiers/pull/16/review/9039201@github.com>
ianbjacobs commented on this pull request.
> </section>
<section>
- <h2>Identifier equivalence</h2>
- <p>When the PaymentRequest API is invoked, the web page provides a list of identifiers for supported payment methods.
- The user agent must compare these identifiers to those available to the user and use this to filter what the user
- can select. To determine whether two identifiers match, perform the following test:</p>
+ <h2>Matching</h2>
Two notes:
1) I don't think this specification should say how to handle strings that are neither URLs nor W3C short strings. Behavior may vary in different contexts.
2) Similarly, I don't think this specification should say what to do when there is, for example a 404 on a manifest file.
So if the URL parser fails, it means that the string is not a PMI per this specification (unless it happens to be a W3C short string). When the parser fails, the browser might do any number of things, including (1) still trying to match the string (2) ignoring the string. I think that the PR API spec should speak to this behavior but not the PMI spec.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments-method-identifiers/pull/16
Received on Thursday, 17 November 2016 14:50:59 UTC