In https://www.w3.org/TR/css-paint-api-1/#drawing-an-image, there is a note
Note: The user agent should consider long running paint functions similar to long running script in the main execution context. For example, they should show a "unresponsive script" dialog or similar. In addition user agents should provide tooling within their debugging tools to show authors how expensive their paint classes are.
This provides user and developer feedback in the UI, but does not inform the script that the UA is considering it to be unresponsive. Should unresponsive scripts be informed that they are unresponsive?