w3c / longtasks

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

Change name to be less confusing #47

Closed npm1 closed 5 years ago

npm1 commented 6 years ago

LongTasks can report long tasks that come from sources other than just scripts. Thus, the name should be renamed because 'script' makes it sound like it's only reporting tasks from scripts.

igrigorik commented 6 years ago

To clarify, which name is this referring to? :) Name of the spec, something else?

npm1 commented 6 years ago

The |name| attribute of a TaskAttributionTiming object is currently 'script'.

yoavweiss commented 6 years ago

This is one takeaway from the F2F, where folks were surprised that LongTasks currently covers more than just scripts. We discussed changing the name attribute to "unknown" or "unclassified" (at least until we have full attribution).