commit | 9948ab7e20fc8161f0c8f2f9c139c7e22d3a9ccf | [log] [tgz] |
---|---|---|
author | peter@chromium.org <peter@chromium.org> | Fri Nov 21 15:06:08 2014 |
committer | peter@chromium.org <peter@chromium.org> | Fri Nov 21 15:06:08 2014 |
tree | 25c843353908d0df9ceae25b69a1a31c3d2d1d95 | |
parent | 8a2d78d80f6050b7ab63f46743bc3f628e234122 [diff] |
Mark the Notification as being closed before dispatching the event. This avoids a situation in which we can crash when the developer calls the Notification.close() method in the "onclose" event of a Notification. BUG=435201 Review URL: https://codereview.chromium.org/745713003 git-svn-id: svn://svn.chromium.org/blink/trunk@185800 bbb929c8-8fbe-4397-9dbb-9b2b20218538