Re: [presentation-api] Fix task queueing. (#524)

Thanks for your detailed review and clear comments as usual @tidoust 😺 

> the algorithm to [start a presentation from a default presentation request](https://w3c.github.io/presentation-api/#starting-a-presentation-from-a-default-presentation-request) could say that the user agent must run the algorithm "in parallel" too

Added an explicit step to run these steps in parallel.

> Also, it's not clear to me that the algorithm that [terminates a connection in a controlling browsing context](https://w3c.github.io/presentation-api/#terminating-a-presentation-in-a-controlling-browsing-context) actually runs in parallel because it is called directly when the application calls terminate(). If it needs to run in parallel, the call to it should probably indicate that the user agent must run the algorithm in parallel.

I think the only step that needs to run "in parallel" is notifying the receiving browsing context of the termination.  I updated the steps to clarify that.



-- 
GitHub Notification of comment by markafoltz
Please view or discuss this issue at https://github.com/w3c/presentation-api/pull/524#issuecomment-2357266217 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 September 2024 00:45:20 UTC