longtasks
longtasks copied to clipboard
Long Task API
[Several](https://github.com/w3c/longtasks/issues/42) [issues](https://github.com/w3c/longtasks/issues/28) and [previous design documents](https://docs.google.com/document/d/125d69JAC7nyx-Ob0a9Z31d1uHUGu4myYQ3os9EnGfdU/edit) have demonstrated a need for developers to be able to identify work in order to fix the issue. Proposals thusfar have mostly focused on...
In long task API has a name attribute, which value is **self**. It's not more specific detail to find long task. If we find which script or function is taking...
The event loop is currently still reentrant. It's not entirely clear to me the processing model takes that into account. That is, you might get the wrong results for certain...
We should likely truncate containerSrc in cases where it's too long.
Currently LTs from same-origin Documents that can control the current one (e.g. were opened by it without `rel=noopener`) don't get LT reports, even though they can observe long tasks and...
alert() triggers a task which requires user input to be completed, so it is special in that regard. We could add a flag to indicate 'tasks blocked on user input'....
Can the api tell us a little more specific information about what snippet of code which is causing the long task ? May be the A call stack ? Currently...
The attribution information in https://w3c.github.io/longtasks/#sec-TaskAttributionTiming should be hidden if the container element (iframe, etc...) appeared in a cross-origin document.
Right now, I think this is the only spec that has PerformanceObserver support but not PerformanceTimeline support (see https://github.com/w3c/performance-timeline/issues/78). Is that intentional? Could we get this data in the Timeline,...
50ms is good as the minimum threshold. However there is a lot of content on the web today that generates a lot of 50ms tasks, so it can spammy to...