[Payment Request] Updates PaymentRequestUpdateEvent.updateWith function

Updates the updateWith function to accept an instance of
window.PaymentDetails as well as a promise that fulfills with one:
https://w3c.github.io/browser-payment-api/#paymentrequestupdateevent-interface

BUG=602666

Review-Url: https://codereview.chromium.org/2850723003
Cr-Original-Commit-Position: refs/heads/master@{#467985}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5b56f229932277a95f08420e0d2031656d66e471
1 file changed