angler-fishThe Vulnerability History Project

Disable web payments API on blob: and data: schemes.

      This patch makes PaymentRequest.show() always reject with
NotSupportedError and PaymentRequest.canMakePayments() always return
false on origins that are not either localhost, file://, or
cryptographic scheme.

BUG=717476

Review-Url: https://codereview.chromium.org/2859613002
Cr-Commit-Position: refs/heads/master@{#469991}
    
commit b28f4539b767b634d9257964f04e72b8987910b5
-10
-2
-32
-39
+3 -15
-27
+9 -76
+33 -30
-35
+9
+6
-2
-17
-17
+5 -20
-1
expand_less