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

Unified Diff: LayoutTests/http/tests/notifications/serviceworkerregistration-document-actions-throw.html

Issue 1260793007: Generalize validation of developer input for Web Notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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: LayoutTests/http/tests/notifications/serviceworkerregistration-document-actions-throw.html
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-document-actions-throw.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-document-actions-throw.html
index a2c050aa31df988e774a9e77a12d40de73106d42..433afa4df9fc50aa44af125741bc4e124801655c 100644
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-document-actions-throw.html
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-document-actions-throw.html
@@ -42,7 +42,7 @@
actions: [{title: ""}]
}).then(unreached_fulfillment(test)).catch(function(error) {
assert_equals(error.name, 'TypeError');
- assert_equals(error.message, 'Notification action titles must not be empty.');
+ assert_equals(error.message, "Failed to execute 'showNotification' on 'ServiceWorkerRegistration': Notification action titles must not be empty.");
test.done();
});
}).catch(unreached_rejection(test));

Powered by Google App Engine
This is Rietveld 408576698