w3c / longtasks

Long Task API
https://w3c.github.io/longtasks/
Other
246 stars 32 forks source link

Should LongTasks from same-origin same-event-loop tabs be reported? #88

Open yoavweiss opened 3 years ago

yoavweiss commented 3 years ago

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 that can be useful information. Should we report that?

npm1 commented 3 years ago

Hmm is this just a question? :) I guess I'm not sure what the answer here should be, and if we do want to surface them then we'd want to loop in some folks to make sure that it's sane to do so (but I imagine it should be, as this is not about leaking any 3p information).

By the way, did you happen to test what is currently being implemented (in Chrome)?

noamr commented 1 year ago

I think that when we break down long tasks we should be able to see how long a task is delayed, rather than exposing things about tasks from same-event-loop tabs