Nicolás Peña Moreno

Results 116 comments of Nicolás Peña Moreno

Is that common though? The thinking was to align with Resource Timing on URLs that are fetched (that API does not trim URL names) but to not store the enormous...

What is the benefit of 'encapsulation' when we are trying to measure the performance of a website? I think it would be very unfortunate if shadow trees cannot be measured...

Ok, I think this is fine as long as the performance of slots can be monitored in practice. In other words, following the example on [MDN](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_templates_and_slots), if I have this...

Ok thanks @annevk! I'm not super familiar with Shadow DOM, could you elaborate on what's the design invariant for open shadow DOM here? Hayato suggested we could have an opt-in...

We're ignoring shadow DOM elements even if they have their elementtiming attribute set, for now. I attempted to reflect this in the spec as follows: In https://wicg.github.io/element-timing/#sec-process-loaded-image, step 4 checks...

Hmmm I wonder if there is no CSS box which specifies the content size of a text node or text run then?

I think it is different. An image is considered load until it's decoded, right?

Sure, an attacker can already obtain arbitrarily accurate image load times using an image onload handler.

The time when the browser paints the image once it's loaded is much harder to obtain. This is why we gate the renderTime on headers.

There is no API today that allows computing renderTime, and allowing arbitrary embedders to compute it may introduce some privacy concerns. For instance, image an image that takes longer to...