Skip to content

[worklets] Allow long running scripts to be informed that they are being treated as unresponsive? #507

@asajeffrey

Description

@asajeffrey

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions