Contact emails

[email protected]

Explainer

https://github.com/abinpaul1/resource-timing/blob/explainer-content-type/Explainers/Content-Type.md

Specification

Resource Timing PR : https://github.com/w3c/resource-timing/pull/341

Fetch PR : https://github.com/whatwg/fetch/pull/1481

Summary

Adds the contentType field to PerformanceResourceTiming to hold a string
corresponding to the content type of the fetched resource as returned by
the server. The contentType field reflects the value returned by the server
and not the sniffed value.


Blink component

Blink>PerformanceAPIs>ResourceTiming
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EPerformanceAPIs%3EResourceTiming>

Motivation

Servers and CDNs sometimes "swap out" file formats transparently (URL
doesn't change) based on User Agent string, `Accept` headers or Client
Hints when responding to a request for a resource. By providing access to
the content type in those cases it would be possible for developers to know
exactly which format the server has declared.


Initial public proposal

https://github.com/w3c/resource-timing/issues/203

TAG review

TAG review status

Pending

Risks

Interoperability and Compatibility

Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behaviour of existing APIs, such that
it has potentially high risk for Android WebView-based applications?


Debuggability

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?

Yes

Flag name

ResourceTimingContentType

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1366706

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5156068351541248

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM2ZH3dMwZjjKjEv2L264fAwqYOyK_FfeE14LGXrcqdtwZkyWA%40mail.gmail.com.

Reply via email to