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

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

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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script src="../serviceworker/resources/test-helpers.js"></script>
5 <script>
6 // Tests that the expected Payment App API interfaces are being exposed on bot h
7 // the Service Worker and Document global scopes.
8 service_worker_test(
9 'resources/payment-app.js',
10 'Exposure of interfaces in a Service Worker.');
11
12 test(function() {
13 assert_own_property(self, 'PaymentAppManager', 'PaymentAppManager needs to be exposed as a global.');
14
15 assert_own_property(PaymentAppManager.prototype, 'setManifest');
16 assert_own_property(PaymentAppManager.prototype, 'getManifest');
17 }, 'PaymentAppManager should be exposed and have the expected interface in a D ocument.');
18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698