Commit b30c6035 authored by Stephen McGruer's avatar Stephen McGruer Committed by Commit Bot

Revert "[Web Payment] Very long instrumentId string test."

This reverts commit 4fb20b8a.

Reason for revert: Suspect for failures on WebKit Linux ASAN; https://crbug.com/1115526

Original change's description:
> [Web Payment] Very long instrumentId string test.
> 
> This patch adds a test for JSON serialization of a very long string
> being passed into PaymentRequest API.
> 
> Bug: 1110324, 1115091
> Change-Id: I7966d71c3752d1e4378a54f534a1915fb8fade39
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348411
> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org>
> Reviewed-by: Nick Burris <nburris@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#797165}

TBR=rouslan@chromium.org,nburris@chromium.org

Change-Id: Ieef62c51b197a87a04b4bfc4fd6c91f8bcea85a6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1110324
Bug: 1115091
Bug: 1115526
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352549Reviewed-by: default avatarStephen McGruer <smcgruer@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797244}
parent 75a006b7
......@@ -174,20 +174,4 @@ test(() => {
}], details);
});
}, 'Timeout longer than 1 hour throws exception.');
test(() => {
assert_throws_js(TypeError, () => {
new PaymentRequest([{
supportedMethods: 'secure-payment-confirmation',
data: {
action: 'authenticate',
// Large instrumentId value.
instrumentId: 'x'.repeat(1024 * 1024),
networkData: Uint8Array.from('x', c => c.charCodeAt(0)),
timeout: 60000,
fallbackUrl: 'https://fallback.example/url'
},
}], details);
});
}, 'Large instrumentId value throws exception.');
</script>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment