Skip to content

Commit

Permalink
Reland "[PaymentRequest] Add activation for show() call in a few more…
Browse files Browse the repository at this point in the history
… tests"

This reverts commit 66c81706bfb17f7b3ff4256cf181a193d7b2f60d,
effectively relanding c6f872a6bb922df859350d4164da671ab968d1e7

Bug: 825270, 1286707
Change-Id: I19dd25fb86bf9b20f38ae27508f98d72c0f0a43a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3383683
Auto-Submit: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#958579}
  • Loading branch information
stephenmcgruer authored and chromium-wpt-export-bot committed Jan 13, 2022
1 parent 5aebc33 commit b1a982c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions permissions-policy/reporting/payment-report-only.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src='/resources/testdriver.js'></script>
<script src='/resources/testdriver-vendor.js'></script>
</head>
<body>
<script>
Expand All @@ -19,6 +21,7 @@
{types: ['permissions-policy-violation']}).observe();
});
try {
await test_driver.bless();
const request = new PaymentRequest(
[{ supportedMethods: 'basic-card' }],
{ total: { label: 'Total', amount: { currency: 'USD', value: 0 }}},
Expand Down

0 comments on commit b1a982c

Please sign in to comment.