-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add content-type to resource-timing #341
Conversation
I was trying to spec this out keeping in mind, the points mentioning not to reflect the header directly and only a set of relevant MIME types.
|
@abinpaul1 - can we just reflect the MIME type's essensce? |
Why is the full MIME type string not reflected? I couldn't find any reasoning in the explainer at https://github.com/abinpaul1/resource-timing/blob/explainer-content-type/Explainers/Content-Type.md#content-type-values. |
During the WG call when this was discussed, a concern was raised regarding reflecting the exact same value returned by server. |
I believe the concerns are related to w3c/server-timing#89 and are planned to be discussed at TPAC. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the Fetch PR lands
This CL introduces a contentType field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#341 Fetch PR : whatwg/fetch#1481 Bug:1366706 Change-Id: If4c92ef96d74e3ddbb71420ac61dbea4bfa1163b
This CL introduces a contentType field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#341 Fetch PR : whatwg/fetch#1481 Bug: 1366706 Change-Id: If4c92ef96d74e3ddbb71420ac61dbea4bfa1163b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3916841 Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Mike West <[email protected]> Commit-Queue: Abin Paul <[email protected]> Cr-Commit-Position: refs/heads/main@{#1063289}
This CL introduces a contentType field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#341 Fetch PR : whatwg/fetch#1481 Bug: 1366706 Change-Id: If4c92ef96d74e3ddbb71420ac61dbea4bfa1163b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3916841 Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Mike West <[email protected]> Commit-Queue: Abin Paul <[email protected]> Cr-Commit-Position: refs/heads/main@{#1063289}
This CL introduces a contentType field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#341 Fetch PR : whatwg/fetch#1481 Bug: 1366706 Change-Id: If4c92ef96d74e3ddbb71420ac61dbea4bfa1163b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3916841 Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Mike West <[email protected]> Commit-Queue: Abin Paul <[email protected]> Cr-Commit-Position: refs/heads/main@{#1063289}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…iming, a=testonly Automatic update from web-platform-tests Add content-type to PerformanceResourceTiming This CL introduces a contentType field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#341 Fetch PR : whatwg/fetch#1481 Bug: 1366706 Change-Id: If4c92ef96d74e3ddbb71420ac61dbea4bfa1163b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3916841 Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Mike West <[email protected]> Commit-Queue: Abin Paul <[email protected]> Cr-Commit-Position: refs/heads/main@{#1063289} -- wpt-commits: 4c8e480994182b5cdc60f5c01ebf208df70ec73e wpt-pr: 36059
…iming, a=testonly Automatic update from web-platform-tests Add content-type to PerformanceResourceTiming This CL introduces a contentType field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#341 Fetch PR : whatwg/fetch#1481 Bug: 1366706 Change-Id: If4c92ef96d74e3ddbb71420ac61dbea4bfa1163b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3916841 Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Mike West <[email protected]> Commit-Queue: Abin Paul <[email protected]> Cr-Commit-Position: refs/heads/main@{#1063289} -- wpt-commits: 4c8e480994182b5cdc60f5c01ebf208df70ec73e wpt-pr: 36059
Is there something blocking this PR from landing? |
This is waiting on the Fetch PR to land. |
This defines the content type field as a minimized version of the response's parsed Content-Type header, to give web developers enough information to distinguish responses, but not enough to make it an additional communication channel. This feature will be used by Resource Timing as per w3c/resource-timing#341. Tests: ...
This defines the content type field as a minimized version of the response's parsed Content-Type header, to give web developers enough information to distinguish responses, but not enough to make it an additional communication channel. This feature will be used by Resource Timing as per w3c/resource-timing#341. Co-authored-by: Anne van Kesteren <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Introducing Content type. (#203)
Fetch changes : whatwg/fetch#1481
Explainer : https://github.com/abinpaul1/resource-timing/blob/explainer-content-type/Explainers/Content-Type.md
💥 Error: Server Error 💥
PR Preview failed to build. (Last tried on May 8, 2023, 11:28 AM UTC).
More
If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.