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, 'respondWith'); | 6 assert_own_property(PaymentRequestEvent.prototype, 'respondWith'); |
7 assert_own_property(PaymentRequestEvent.prototype, 'data'); | 7 assert_own_property(PaymentRequestEvent.prototype, 'appRequest'); |
8 }); | 8 }); |
OLD | NEW |