Index: third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-app.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-app.js b/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-app.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9ed381e3e22a8298de441d74ac642c3f4b9698e6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-app.js |
@@ -0,0 +1,8 @@ |
+importScripts('/resources/testharness.js'); |
+ |
+test(function() { |
+ assert_idl_attribute(registration, 'paymentAppManager', 'One-shot PaymentAppManager needs to be exposed on the registration.'); |
+ |
+ assert_inherits(registration.paymentAppManager, 'setManifest'); |
+ assert_inherits(registration.paymentAppManager, 'getManifest'); |
+}, 'PaymentAppManager should be exposed and have the expected interface.'); |