Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html b/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html |
| index 2755ea673dc82ce6a538dc6f3e107ed36dd6d969..2dc12e93d2920b79eddd9457432a02aefbe3bbc1 100644 |
| --- a/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html |
| +++ b/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworker-notification-properties.html |
| @@ -54,9 +54,11 @@ |
| // Deliberately add more actions than are supported. |
| for (var i = 0; i < 2 * Notification.maxActions; i++) { |
| options.actions.push({ |
| + type: i % 2 == 0 ? 'button' : 'text', |
|
Mike West
2016/04/05 14:41:00
Can you add some tests for invalid values?
Nina
2016/04/05 16:10:01
This is taken care of automatically by the IDL gen
|
| action: 'a' + i, |
| title: 'Action ' + i, |
| - icon: 'https://example/action_icon_' + i + '.png' |
| + icon: 'https://example/action_icon_' + i + '.png', |
| + placeholder: i % 2 == 0 ? null : 'Type a reply...' |
| }); |
| } |