Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-app.js

Issue 2476343002: PaymentApp: Initial implementation for PaymentAppManager.setManifest(). (Closed)
Patch Set: fix lint error Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.');

Powered by Google App Engine
This is Rietveld 408576698