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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js

Issue 2380273002: Added reply field to blink NotificationEvent (not yet piped through) (Closed)
Patch Set: Created 4 years, 3 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/notifications/resources/serviceworker-notification-event.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js
index 7ed607eebcddbffd7c6bbaa447b810a3faefab49..906128b2cdb316105b6d01c18a78b0f7510ecf05 100644
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/serviceworker-notification-event.js
@@ -34,6 +34,7 @@ function runTest(notification) {
const customEvent = new NotificationEvent('NotificationEvent', {
notification: notification,
+ reply: 'my reply',
bubbles: true,
cancelable: true });
@@ -41,6 +42,7 @@ function runTest(notification) {
assert_equals(customEvent.cancelable, true);
assert_equals(customEvent.bubbles, true);
assert_equals(customEvent.notification, notification);
+ assert_equals(customEvent.reply, 'my reply');
} catch (e) {
result.success = false;
result.message = e.message + '\n' + e.stack;

Powered by Google App Engine
This is Rietveld 408576698