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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js b/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js
index 50762512594175bfa0ff0a92854b191db6c95e49..addfad8ac606ffb16adc6fd3d316b541d428235c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js
+++ b/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js
@@ -3,6 +3,12 @@ importScripts('../../serviceworker/resources/worker-testharness.js');
test(() => {
assert_true('PaymentRequestEvent' in self);
assert_inherits(PaymentRequestEvent.prototype, 'waitUntil');
+ assert_own_property(PaymentRequestEvent.prototype, 'topLevelOrigin');
+ assert_own_property(PaymentRequestEvent.prototype, 'paymentRequestOrigin');
+ assert_own_property(PaymentRequestEvent.prototype, 'paymentRequestId');
+ assert_own_property(PaymentRequestEvent.prototype, 'methodData');
+ assert_own_property(PaymentRequestEvent.prototype, 'total');
+ assert_own_property(PaymentRequestEvent.prototype, 'modifiers');
+ assert_own_property(PaymentRequestEvent.prototype, 'instrumentKey');
assert_own_property(PaymentRequestEvent.prototype, 'respondWith');
- assert_own_property(PaymentRequestEvent.prototype, 'appRequest');
});

Powered by Google App Engine
This is Rietveld 408576698