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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/payments/payment-app-interfaces.html

Issue 2875493003: PaymentHandler: Remove PaymentAppManifest and PaymentAppOption. (Closed)
Patch Set: global-interface-listing Created 3 years, 7 months 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 unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script src="../serviceworker/resources/test-helpers.js"></script> 4 <script src="../serviceworker/resources/test-helpers.js"></script>
5 <script> 5 <script>
6 // Tests that the expected Payment App API interfaces are being exposed on bot h 6 // Tests that the expected Payment App API interfaces are being exposed on bot h
7 // the Service Worker and Document global scopes. 7 // the Service Worker and Document global scopes.
8 service_worker_test( 8 service_worker_test(
9 'resources/payment-app.js', 9 'resources/payment-app.js',
10 'Exposure of interfaces in a Service Worker.'); 10 'Exposure of interfaces in a Service Worker.');
11 11
12 test(function() { 12 test(function() {
13 assert_own_property(self, 'PaymentManager', 'PaymentManager needs to be ex posed as a global.'); 13 assert_own_property(self, 'PaymentManager', 'PaymentManager needs to be ex posed as a global.');
14
15 assert_own_property(PaymentManager.prototype, 'setManifest');
16 assert_own_property(PaymentManager.prototype, 'getManifest');
17 }, 'PaymentManager should be exposed and have the expected interface in a Docu ment.'); 14 }, 'PaymentManager should be exposed and have the expected interface in a Docu ment.');
18 </script> 15 </script>
OLDNEW
« no previous file with comments | « content/public/browser/payment_app_provider.h ('k') | third_party/WebKit/LayoutTests/http/tests/payments/payment-manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698