[notifications-tests] Change `Notification.requestPermission()` to return a promise. (#2532)

Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=1241278

View on GitHub: https://github.com/w3c/web-platform-tests/pull/2532

Received on Friday, 29 January 2016 23:20:45 UTC