Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is it called "name" instead of "url"? #1

Closed
domenic opened this issue Jul 27, 2016 · 2 comments
Closed

Why is it called "name" instead of "url"? #1

domenic opened this issue Jul 27, 2016 · 2 comments

Comments

@domenic
Copy link
Contributor

domenic commented Jul 27, 2016

It seems to always be a URL.

@igrigorik
Copy link
Member

Name is the generic identifier on PerformanceEntry objects [1], and we already have ResourceTiming/NavigationTiming that use it to communicate the URL [2]. Admittedly not the greatest semantics, but it is an established and well-known pattern in the RUM space.. I'd prefer that we stick with consistent nomenclature.

[1] https://w3c.github.io/performance-timeline/#the-performanceentry-interface
[2] https://w3c.github.io/resource-timing/#performanceresourcetiming

@domenic
Copy link
Contributor Author

domenic commented Jul 27, 2016

Got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants