Bug 1526619 [wpt PR 15283] - [Payment Request][WPT] Fix abort() tests., a=testonly
commit4278066734d8721d50b969286504225eaa626ab6
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Mon, 18 Feb 2019 19:26:15 +0000 (18 19:26 +0000)
committerJames Graham <james@hoppipolla.co.uk>
Tue, 26 Feb 2019 12:05:12 +0000 (26 12:05 +0000)
tree8f34a95113bee4fb831e4c0432b3471a1e598897
parentdb5df4abdf945ddf6c3c9535cf4c46524eb6ad8f
Bug 1526619 [wpt PR 15283] - [Payment Request][WPT] Fix abort() tests., a=testonly

Automatic update from web-platform-tests
[Payment Request][WPT] Fix abort() tests. (#15283)

Before this patch, the WPT tests for PaymentRequest.abort() were
expected to fail due to including the vendor testdriver JavaScript file
before the generic testdriver file. The vendor file was attempting to
use the objects defined in the generic file, but the incorrect include
order caused a JS error.

This patch reorders the vendor JS file to be after the generic JS file
and splits out the manual tests that require a user gesture for
PaymentRequest.show().

After this patch, the PaymentRequest.abort() tests are passing.

Bug: 929773
Change-Id: Ic0f8ff84b478116821e98775d1cec31cfad32d9f
--

wpt-commits: ba78e657cbc2648e1540216e5a7973bc91f221f0
wpt-pr: 15283
testing/web-platform/tests/payment-request/payment-request-abort-method-manual.https.html [new file with mode: 0644]
testing/web-platform/tests/payment-request/payment-request-abort-method.https.html