Index: third_party/WebKit/LayoutTests/http/tests/budget/get-cost-fails-in-service-worker.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/budget/get-cost-fails-in-service-worker.html b/third_party/WebKit/LayoutTests/http/tests/budget/get-cost-fails-in-service-worker.html |
index a2f353b1c452c0267ba7d6b8b3c89b3e5529aba4..8ebb91b00e46067d19ed8101f9abd0601678bcc8 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/budget/get-cost-fails-in-service-worker.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/budget/get-cost-fails-in-service-worker.html |
@@ -20,7 +20,7 @@ |
getActiveServiceWorkerWithMessagePort(test, script, scope) |
.then(function(workerInfo) { |
port = workerInfo.port; |
- port.postMessage({command: 'getCostInvalidType'}); |
+ port.postMessage({ command: 'getCostInvalidType' }); |
port.addEventListener('message', function(event) { |
if (typeof event.data != 'object' || !event.data.command) |
@@ -29,7 +29,7 @@ |
assert_equals(event.data.command, 'getCostInvalidType'); |
assert_false(event.data.success, |
'getCost should fail with invalid arguments.'); |
- assert_equals(event.data.errorMessage, "Failed to execute 'getCost' on 'BudgetService': The provided value 'frobinator' is not a valid enum value of type ActionType."); |
+ assert_equals(event.data.errorMessage, "Failed to execute 'getCost' on 'BudgetService': The provided value 'frobinator' is not a valid enum value of type OperationType."); |
test.done(); |
}); |
}) |