Comments (9)
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
from navigation-timing.
How would the prototype chain look like? We have 2 choices imho.
- we simply add NT attributes into the RT interface:
partial interface PerformanceResourceTiming {} - we extend the interface and define the NT attributes there:
interface PerformanceNavigationTiming : PerformanceResourceTiming {}
I believe option 2 is the least disruptive.
from navigation-timing.
NT is a superset of RT.. +1 to option 2.
from navigation-timing.
+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.
from navigation-timing.
A lot of the attributes in RT have the following text:
[[
If the last non-redirected fetch of the resource is not the same origin as the current document, secureConnectionStart/responseStart/requestStart MUST return zero unless the timing allow check algorithm passes.
]]
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).
from navigation-timing.
RT has initiatorType but NT doesn't. How about, in the case of NT, we return "navigation" for initiatorType (same as entryType)?
from navigation-timing.
Reassigning this one to me so that I get around it.
from navigation-timing.
See #36
from navigation-timing.
Resolved via #36, closing.
from navigation-timing.
Related Issues (20)
- Reporting timestamps rely on a global object which might not exist yet HOT 1
- ToT spec has a bunch of respec warnings and errors HOT 1
- Should pages with different COOP be able to get unload event start/end. HOT 13
- Extend Navigation Timing API to include back/forward cache NotRestoredReasons HOT 4
- Links to "relevant application caches" are broken HOT 1
- Report that Critical-CH was used to restart a navigation HOT 5
- Extend the navigationType enum to include "reload after being discarded" navigations HOT 3
- Detecting whether a navigation was BFCache-eligible HOT 2
- Extend 'NavigationType' to include User Agent Launch HOT 13
- Clarify how PerformanceTiming.responseStart relates to Early Hint responses HOT 5
- performance.timeOrigin vs performance.timing.navigationStart HOT 3
- Extending the NavigationTimingType HOT 5
- NavigationTimingType enum need updates as HTML spec changed HOT 7
- Broken references in Navigation Timing Level 2 HOT 1
- Broken references in Navigation Timing Level 2
- Measuring `beforeunload` HOT 3
- Consider using `reload` instead of `back_forward` for "tab restore" HOT 1
- Proposal: add timestamp for when "activation" or "dismissal" starts HOT 2
- Chore: Fix overloading in WebIDL
- "Process Unload Event" in wrong place on timing diagram HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from navigation-timing.