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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js

Issue 2885793003: ** DO NOT COMMIT** Only for test
Patch Set: Replace yaho 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 importScripts('../../serviceworker/resources/worker-testharness.js'); 1 importScripts('../../serviceworker/resources/worker-testharness.js');
2 2
3 test(() => { 3 test(() => {
4 assert_true('PaymentRequestEvent' in self); 4 assert_true('PaymentRequestEvent' in self);
5 assert_inherits(PaymentRequestEvent.prototype, 'waitUntil'); 5 assert_inherits(PaymentRequestEvent.prototype, 'waitUntil');
6 assert_own_property(PaymentRequestEvent.prototype, 'topLevelOrigin');
7 assert_own_property(PaymentRequestEvent.prototype, 'paymentRequestOrigin');
8 assert_own_property(PaymentRequestEvent.prototype, 'paymentRequestId');
9 assert_own_property(PaymentRequestEvent.prototype, 'methodData');
10 assert_own_property(PaymentRequestEvent.prototype, 'total');
11 assert_own_property(PaymentRequestEvent.prototype, 'modifiers');
12 assert_own_property(PaymentRequestEvent.prototype, 'instrumentKey');
6 assert_own_property(PaymentRequestEvent.prototype, 'respondWith'); 13 assert_own_property(PaymentRequestEvent.prototype, 'respondWith');
7 assert_own_property(PaymentRequestEvent.prototype, 'appRequest');
8 }); 14 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698