OLD | NEW |
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 }); |
OLD | NEW |