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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/payments/payment-manager.html

Issue 2785523003: PaymentHandler: Rename PaymentAppManager to PaymentManager. (Closed)
Patch Set: PaymentHandler: Rename PaymentAppManager to PaymentManager. Created 3 years, 9 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/payment-manager.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/payments/payment-app-manager.html b/third_party/WebKit/LayoutTests/http/tests/payments/payment-manager.html
similarity index 92%
rename from third_party/WebKit/LayoutTests/http/tests/payments/payment-app-manager.html
rename to third_party/WebKit/LayoutTests/http/tests/payments/payment-manager.html
index dba3cf6a8ecaf650fa1ed366164040e63356914d..e2676cab38df3d96a86afcaad2801d3423dced03 100644
--- a/third_party/WebKit/LayoutTests/http/tests/payments/payment-app-manager.html
+++ b/third_party/WebKit/LayoutTests/http/tests/payments/payment-manager.html
@@ -16,7 +16,7 @@ promise_test(test => {
})
.then(state => {
assert_equals(state, 'activated');
- return registration.paymentAppManager.setManifest({
+ return registration.paymentManager.setManifest({
name: 'Payment App',
icon: 'payment-app-icon',
options: [{
@@ -46,7 +46,7 @@ promise_test(test => {
})
.then(state => {
assert_equals(state, 'installed');
- return registration.paymentAppManager.setManifest({
+ return registration.paymentManager.setManifest({
name: 'Payment App',
icon: 'payment-app-icon',
options: [{
@@ -80,7 +80,7 @@ promise_test(test => {
assert_equals(registration.installing, null);
assert_equals(registration.waiting, null);
assert_equals(registration.active, null);
- return registration.paymentAppManager.setManifest({
+ return registration.paymentManager.setManifest({
name: 'Payment App',
icon: 'payment-app-icon',
options: [{
@@ -120,11 +120,11 @@ promise_test(test => {
})
.then(state => {
assert_equals(state, 'activated');
- return registration.paymentAppManager.setManifest(manifest);
+ return registration.paymentManager.setManifest(manifest);
})
.then(result => {
assert_equals(result, undefined);
- return registration.paymentAppManager.getManifest();
+ return registration.paymentManager.getManifest();
})
.then(read_manifest => {
assert_object_equals(read_manifest, manifest);
@@ -154,7 +154,7 @@ promise_test(test => {
})
.then(state => {
assert_equals(state, 'activated');
- return registration.paymentAppManager.setManifest(manifest);
+ return registration.paymentManager.setManifest(manifest);
})
.then(result => {
assert_equals(result, undefined);
@@ -162,7 +162,7 @@ promise_test(test => {
})
.then(result => {
assert_equals(result, true);
- return registration.paymentAppManager.getManifest();
+ return registration.paymentManager.getManifest();
})
.then(unreached_fulfillment(test))
.catch(error => {
@@ -182,7 +182,7 @@ promise_test(test => {
})
.then(state => {
assert_equals(state, 'activated');
- return registration.paymentAppManager.getManifest();
+ return registration.paymentManager.getManifest();
})
.then(unreached_fulfillment(test))
.catch(error => {
@@ -202,7 +202,7 @@ promise_test(test => {
})
.then(state => {
assert_equals(state, 'activated');
- return registration.paymentAppManager.setManifest({
+ return registration.paymentManager.setManifest({
name: 'Payment App',
icon: 'payment-app-icon',
options: [{

Powered by Google App Engine
This is Rietveld 408576698