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

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

Issue 2785523003: PaymentHandler: Rename PaymentAppManager to PaymentManager. (Closed)
Patch Set: PaymentHandler: Rename PaymentAppManager to PaymentManager. Created 3 years, 8 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, 'PaymentAppManager', 'PaymentAppManager needs to be exposed as a global.'); 13 assert_own_property(self, 'PaymentManager', 'PaymentManager needs to be ex posed as a global.');
14 14
15 assert_own_property(PaymentAppManager.prototype, 'setManifest'); 15 assert_own_property(PaymentManager.prototype, 'setManifest');
16 assert_own_property(PaymentAppManager.prototype, 'getManifest'); 16 assert_own_property(PaymentManager.prototype, 'getManifest');
17 }, 'PaymentAppManager should be exposed and have the expected interface in a D ocument.'); 17 }, 'PaymentManager should be exposed and have the expected interface in a Docu ment.');
18 </script> 18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698