Skip to content

Commit

Permalink
Resolve showNotification() after showing notification
Browse files Browse the repository at this point in the history
Fixes #90.
  • Loading branch information
jakearchibald authored and annevk committed Jan 13, 2017
1 parent d0b63b6 commit bc5b359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notifications.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1079,11 +1079,11 @@ method, when invoked, must run these steps:
"<code>granted</code>", then reject <var>promise</var> with a <code>TypeError</code> exception,
and terminate these substeps.

<li><p>Resolve <var>promise</var> with undefined.

<li><p>Run the <a>fetch steps</a> for <var>notification</var>.

<li><p>Run the <a>show steps</a> for <var>notification</var>.

<li><p>Resolve <var>promise</var> with undefined.
</ol>

<li><p>Return <var>promise</var>.
Expand Down

0 comments on commit bc5b359

Please sign in to comment.