Re: [mediacapture-region] What makes CropTarget special to require an asynchronous creation? (#17)

> It says to use sync if the "[API ... will not be _blocked_ by ... inter-process communication.](https://www.w3.org/TR/design-principles/#synchronous)" (emphasis on _blocked_)

You missed "locks" inside the elipsis



> here's no reason for JS to block on it since it cannot fail

It [can though](https://github.com/w3c/mediacapture-region/issues/48)

> Needs for failure are discussed and disputed in #48.

"disputed" != "settled". There's still an ongoing discussion.

> Exactly. [in Chrome: mint a dud `CropTarget` that always fails in `cropTo` instead]

That would create a significantly worse developer experience, as failures would be disconnected from the code/origin/party that causes them.

-- 
GitHub Notification of comment by yoavweiss
Please view or discuss this issue at https://github.com/w3c/mediacapture-region/issues/17#issuecomment-1168355500 using your GitHub account


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

Received on Tuesday, 28 June 2022 07:42:17 UTC