OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://notifications.spec.whatwg.org/#notificationevent | 5 // https://notifications.spec.whatwg.org/#notificationevent |
6 | 6 |
7 dictionary NotificationEventInit : ExtendableEventInit { | 7 dictionary NotificationEventInit : ExtendableEventInit { |
8 required Notification notification; | 8 // TODO(foolip): |notification| should not be nullable. |
| 9 // https://crbug.com/647693 |
| 10 required Notification? notification; |
9 DOMString action = ""; | 11 DOMString action = ""; |
10 }; | 12 }; |
OLD | NEW |