-
Notifications
You must be signed in to change notification settings - Fork 135
Changes resulting from 28 February PING privacy review #843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ee9f7e5
Changes resulting from 28 February PING privacy review
ianbjacobs 53a36e1
One S&P section is normative, the others are informative. Adjusted ma…
ianbjacobs 5943bb1
- Editorial tweaks from Marcos
ianbjacobs b521c23
Merge branch 'gh-pages' of github.com:w3c/payment-request into ping-2…
ianbjacobs a365dbe
Added back canMakePayment() bullet about informing the user
ianbjacobs 4578d92
Update index.html
marcoscaceres 46d53bc
Update index.html
marcoscaceres 6441af1
Update index.html
marcoscaceres e3e3dd7
Update index.html
marcoscaceres 2800edd
Update index.html
ianbjacobs bd13452
Update index.html
ianbjacobs 2999df8
Update index.html
marcoscaceres ebf2556
Update index.html
ianbjacobs 2d4bbb3
Update index.html
marcoscaceres 41215e5
Update index.html
marcoscaceres bbb1fc4
removed inform user after more conversation with marcos
ianbjacobs 0fb02b7
Update index.html
marcoscaceres fa87e58
tidy
ianbjacobs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1375,17 +1375,9 @@ | |
"payment-request/payment-request-canmakepayment-method-protection.https.html"> | ||
Optionally, at the top-level browsing context's discretion, | ||
return a promise rejected with a "NotAllowedError" | ||
DOMException. | ||
This allows user agents to apply heuristics to detect and prevent | ||
abuse of the canMakePayment() method for fingerprinting | ||
purposes, such as creating PaymentRequest objects with a | ||
variety of supported payment methods and calling | ||
canMakePayment() on them one after the other. For example, | ||
a user agent may restrict the number of successful calls that can | ||
be made based on the top-level browsing context or the | ||
time period in which those calls were made. | ||
DOMException. As described in section | ||
"#canmakepayment-protections">, the user agent may limit the | ||
rate at which a page can call canMakePayment(). | ||
|
||
|
@@ -5191,7 +5183,7 @@ | |
|
||
|
||
Privacy and Security Considerations | ||
|
@@ -5271,11 +5263,6 @@ | |
payment method identifier. | ||
Privacy Considerations | ||
Exposing user information | ||
|
@@ -5301,17 +5288,47 @@ | |
consent. | ||
|
||
id="canmakepayment-protections"> |
||
canMakePayment() protections | ||
The canMakePayment() method enables the payee to call | ||
show() if the user is ready to take advantage of the API, or | ||
to fall back to a legacy checkout experience if not. Because this | ||
method shares some information with the payee, user agents are | ||
expected to protect the user from abuse of the method, for example, | ||
by restricting the number or frequency of calls. | ||
The canMakePayment() method enables the payee to determine | ||
—before calling show()— whether the user is ready to take | ||
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
advantage of the API. This enables the payee to fall back to a legacy | ||
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
checkout experience. Because this method shares some information with | ||
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
the payee, user agents are expected to protect the user from abuse of | ||
the method. For example, user agents may reduce user fingerprinting | ||
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
by: | ||
|
||
|
||
canMakePayment(). | ||
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
canMakePayment(); | ||
|
||
with different parameters. | ||
For rate-limiting the user agent might look at repeated calls from: | ||
|
||
|
||
|
||
block access to the API entirely for origins know to be bad actors. | ||
|
||
ianbjacobs marked this conversation as resolved.
Show resolved
Hide resolved
|
||
These rate-limiting techniques intend to increase the cost associated | ||
with repeated calls, whether it is the cost of managing multiple | ||
eTLDs or the user experience friction of opening multiple windows | ||
(tabs or pop-ups). | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.