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

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

Issue 1260793007: Generalize validation of developer input for Web Notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix actions 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-vibrate-throw.html
diff --git a/LayoutTests/http/tests/notifications/serviceworkerregistration-document-vibrate-throw.html b/LayoutTests/http/tests/notifications/serviceworkerregistration-document-vibrate-throw.html
index b7827242c555110f279e48d349dd8aa481595060..7cf8317a9d27d38337720424ea845448b4c84c5a 100644
--- a/LayoutTests/http/tests/notifications/serviceworkerregistration-document-vibrate-throw.html
+++ b/LayoutTests/http/tests/notifications/serviceworkerregistration-document-vibrate-throw.html
@@ -29,7 +29,7 @@
assert_unreached('showNotification() is expected to reject.');
}).catch(function(error) {
assert_equals(error.name, 'TypeError');
- assert_equals(error.message, 'Silent notifications must not specify vibration patterns.');
+ assert_equals(error.message, "Failed to execute 'showNotification' on 'ServiceWorkerRegistration': Silent notifications must not specify vibration patterns.");
test.done();
});

Powered by Google App Engine
This is Rietveld 408576698