| Index: third_party/WebKit/LayoutTests/http/tests/budget/get-cost.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/budget/get-cost.html b/third_party/WebKit/LayoutTests/http/tests/budget/get-cost.html
|
| index 66290d7c268dce6855cbe5f0c040dc40874562ee..55d47e7af30b2ee7c4b03ac8f83af1127a4fb396 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/budget/get-cost.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/budget/get-cost.html
|
| @@ -15,6 +15,7 @@
|
| promise_test(function() {
|
| return budgetServiceMock.then(mock => {
|
| assert_own_property(Navigator.prototype, 'budget');
|
| + mock.setCost("silent-push", TEST_BUDGET_COST);
|
| return navigator.budget.getCost("silent-push");
|
| }).then(cost => {
|
| assert_equals(cost, TEST_BUDGET_COST);
|
| @@ -29,7 +30,7 @@
|
| assert_unreached('getCost should have failed with an invalid argument.');
|
| }, function(error) {
|
| assert_equals(error.name, 'TypeError');
|
| - assert_equals(error.message, "Failed to execute 'getCost' on 'BudgetService': The provided value 'frobinator' is not a valid enum value of type ActionType.");
|
| + assert_equals(error.message, "Failed to execute 'getCost' on 'BudgetService': The provided value 'frobinator' is not a valid enum value of type OperationType.");
|
| });
|
| }, 'BudgetService.GetCost should return Type Error if an invalid argument is provided.');
|
| </script>
|
|
|