-
Notifications
You must be signed in to change notification settings - Fork 30
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
Consider refactoring navigation-timing to extend resource-timing #11
Comments
We have attributes that were surfaced in one but not the other (e.g. linkNegotiation{Start,End}), and others use out of sync language, etc... big +1 to this! As we discussed on the call today, it seems like we can build NT on top of RT? /cc @plehegar |
How would the prototype chain look like? We have 2 choices imho.
I believe option 2 is the least disruptive. |
NT is a superset of RT.. +1 to option 2. |
+1 to option 2. Also, "algorithm" piece of the spec that refers to these fields should probably also be a pointer to a section within resource-timings spec as well. |
A lot of the attributes in RT have the following text: However, NT doesn't have the text. I presume this is intended and will have to be taken into account, correct? Ie the the document being navigated to isn't from the same origin, you still return a proper value (and not zero). |
RT has initiatorType but NT doesn't. How about, in the case of NT, we return "navigation" for initiatorType (same as entryType)? |
Reassigning this one to me so that I get around it. |
See #36 |
Resolved via #36, closing. |
Much of the navigation-timing spec is the same as resource-timing. To avoid issues of copy/paste, perhaps we can define resource section in resource-timing spec and extend?
The text was updated successfully, but these errors were encountered: