Skip to content

Commit

Permalink
Merge pull request #227 from w3c/fix
Browse files Browse the repository at this point in the history
Replace return with resolve
  • Loading branch information
beaufortfrancois authored Sep 2, 2024
2 parents 59f7286 + b8bcff0 commit e819c96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ parallel</a>:
2. Run the <a>request Picture-in-Picture algorithm</a> with |video|.
3. If the previous step threw an exception, reject |promise| with that
exception and abort these steps.
4. Return |promise| with the <a>Picture-in-Picture window</a> associated with
4. [=/Resolve=] |promise| with the <a>Picture-in-Picture window</a> associated with
{{pictureInPictureElement}}.

## Extensions to <code>Document</code> ## {#document-extensions}
Expand Down Expand Up @@ -378,7 +378,7 @@ parallel</a>:
1. Run the <a>exit Picture-in-Picture algorithm</a>.
2. If the previous step threw an exception, reject |promise| with that
exception and abort these steps.
3. Return |promise|.
3. [=/Resolve=] |promise|.

## Extension to <code>DocumentOrShadowRoot</code> ## {#documentorshadowroot-extension}

Expand Down

0 comments on commit e819c96

Please sign in to comment.