-
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 response status code to PerfomanceResourceTiming #335
Conversation
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.
Looks great, other than some respec errors
I don't know if this is the place you want this feedback, but please see mozilla/standards-positions#665 (comment) for comments on the use of TAO here. |
4b1f190
to
5567229
Compare
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 here. Did you make the corresponding change in the Fetch PR as well
index.html
Outdated
@@ -942,7 +948,10 @@ <h3> | |||
{{PerformanceResourceTiming/encodedBodySize}}, and | |||
{{PerformanceResourceTiming/decodedBodySize}}. Further, the | |||
{{PerformanceResourceTiming/nextHopProtocol}} attribute will be set | |||
to the empty string. | |||
to the empty string. In addition, if the <a data-cite= | |||
"FETCH#concept-cors-check"> CORS check</a> fails the following |
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.
I think we need to enforce this in the processing model as well. (e.g. in the getter above)
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.
Do we still need to enforce this in the getter
, since whatwg/fetch#1468 (comment) notes it's already enforced when we recieve it from fetch?
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.
That comment makes sense! Can you add a note indicating that info next to the getter? Thanks! :)
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.
Added
@martinthomson - Thanks for the valuable feedback. @abinpaul1 modified the PR to address it. |
5567229
to
284faf4
Compare
This CL introduces a responseStatus field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#335 Fetch PR : whatwg/fetch#1468 Bug:1343293 Change-Id: I60d1b6ba00f055481ca526a490144d88ddaf881b
This CL introduces a responseStatus field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#335 Fetch PR : whatwg/fetch#1468 Bug:1343293 Change-Id: I60d1b6ba00f055481ca526a490144d88ddaf881b
This CL introduces a responseStatus field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#335 Fetch PR : whatwg/fetch#1468 Bug: 1343293 Change-Id: I60d1b6ba00f055481ca526a490144d88ddaf881b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3754923 Reviewed-by: Noam Rosenthal <[email protected]> Commit-Queue: Abin Paul <[email protected]> Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Takashi Toyoshima <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Cr-Commit-Position: refs/heads/main@{#1040902}
This CL introduces a responseStatus field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#335 Fetch PR : whatwg/fetch#1468 Bug: 1343293 Change-Id: I60d1b6ba00f055481ca526a490144d88ddaf881b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3754923 Reviewed-by: Noam Rosenthal <[email protected]> Commit-Queue: Abin Paul <[email protected]> Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Takashi Toyoshima <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Cr-Commit-Position: refs/heads/main@{#1040902}
This CL introduces a responseStatus field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#335 Fetch PR : whatwg/fetch#1468 Bug: 1343293 Change-Id: I60d1b6ba00f055481ca526a490144d88ddaf881b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3754923 Reviewed-by: Noam Rosenthal <[email protected]> Commit-Queue: Abin Paul <[email protected]> Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Takashi Toyoshima <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Cr-Commit-Position: refs/heads/main@{#1040902} Co-authored-by: Abin K Paul <[email protected]>
…ing, a=testonly Automatic update from web-platform-tests Add response status code to Resource Timing (#34828) This CL introduces a responseStatus field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#335 Fetch PR : whatwg/fetch#1468 Bug: 1343293 Change-Id: I60d1b6ba00f055481ca526a490144d88ddaf881b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3754923 Reviewed-by: Noam Rosenthal <[email protected]> Commit-Queue: Abin Paul <[email protected]> Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Takashi Toyoshima <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Cr-Commit-Position: refs/heads/main@{#1040902} Co-authored-by: Abin K Paul <[email protected]> -- wpt-commits: 9e8b0dbba979679efc9230834ea89cb3b0f06685 wpt-pr: 34828
cab0383
to
32ccbbf
Compare
This CL introduces a responseStatus field to Performance Resource Timing object. This field is behind a Runtime Enabled Flag. Resource Timing PR : w3c/resource-timing#335 Fetch PR : whatwg/fetch#1468 Bug: 1343293 Change-Id: I60d1b6ba00f055481ca526a490144d88ddaf881b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3754923 Reviewed-by: Noam Rosenthal <[email protected]> Commit-Queue: Abin Paul <[email protected]> Reviewed-by: Yoav Weiss <[email protected]> Reviewed-by: Takashi Toyoshima <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Cr-Commit-Position: refs/heads/main@{#1040902} NOKEYCHECK=True GitOrigin-RevId: fe7385a80df9cb4f7b7bc07609f3ac8228281541
Resource Timing PR: w3c/resource-timing#335. HTML PR: whatwg/html#8405. Follow-up to provide more clarity around filtered responses (which this relies on): #1509.
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 HTTP response status code. (#90)
Fetch changes : whatwg/fetch#1468
Explainer : https://github.com/abinpaul1/resource-timing/blob/explainer-resource-response-status/Explainers/Response_Status_Code.md
Preview | Diff