Gmail notifications let you know when you have a new email. You'll see a pop-up when a new message arrives so you can keep track of your mail even when you’re not looking at Gmail.
Web notifications defines an API for end-user notifications. A notification allows alerting the user outside the context of a web page of an occurrence, such as the delivery of email.
0.9.0
Notification.requestPermission(function(res){})
Notification.permission
onshow(function(){})
, onclick(function(){})
, onclose(function(){})
and onerror(function(){})
[experimental]