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
Avoid redefining secureConnectionStart #106
Avoid redefining secureConnectionStart #106
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.
LGTM, modulo questions:
- Do we need to special-case for when the document does not have an associated resource?
- It looks like this changes the definition of this attribute because it was not identical to what was specified in ResourceTiming. Is this covered by a test, or do we need to add one?
Thanks for reviewing! :)
Yeah, makes sense to do that. (even if handwavy...)
Yeah, I'll add a test around connection reuse (which is the piece that's changed) |
e080b7a
to
41ed1ae
Compare
During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519
During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519
Took a second look and it seems like RT's secureConnectionStart is using [https://w3c.github.io/resource-timing/#sec-timing-allow-origin](Timing allow check) which will fail for resources which didn't result in network requests. So, I think we're good for now, at least until we better define what an "associated resource" is... |
Well, there is no associated resource in this case, though? So calling algorithms which assume the existence of a resource is not well-defined. |
During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519
During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweiss@chromium.org> Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#677521}
During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweiss@chromium.org> Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#677521}
…n start reuse test, a=testonly Automatic update from web-platform-tests [Navigation timing] Add secure connection start reuse test During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweiss@chromium.org> Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#677521} -- wpt-commits: 391c8f12e270cf0cadb26dc06b5d9984afe34a4c wpt-pr: 17832
…n start reuse test, a=testonly Automatic update from web-platform-tests [Navigation timing] Add secure connection start reuse test During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweiss@chromium.org> Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#677521} -- wpt-commits: 391c8f12e270cf0cadb26dc06b5d9984afe34a4c wpt-pr: 17832
During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweiss@chromium.org> Reviewed-by: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#677521}
…n start reuse test, a=testonly Automatic update from web-platform-tests [Navigation timing] Add secure connection start reuse test During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweisschromium.org> Reviewed-by: Nicolás Peña Moreno <npmchromium.org> Cr-Commit-Position: refs/heads/master{#677521} -- wpt-commits: 391c8f12e270cf0cadb26dc06b5d9984afe34a4c wpt-pr: 17832 UltraBlame original commit: 7d46cf3817a323c5047e4b8726c6708a1e2c9091
…n start reuse test, a=testonly Automatic update from web-platform-tests [Navigation timing] Add secure connection start reuse test During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweisschromium.org> Reviewed-by: Nicolás Peña Moreno <npmchromium.org> Cr-Commit-Position: refs/heads/master{#677521} -- wpt-commits: 391c8f12e270cf0cadb26dc06b5d9984afe34a4c wpt-pr: 17832 UltraBlame original commit: 7d46cf3817a323c5047e4b8726c6708a1e2c9091
…n start reuse test, a=testonly Automatic update from web-platform-tests [Navigation timing] Add secure connection start reuse test During the review of w3c/navigation-timing#106 it was noted that secureConnectionStart's behavior with regards to connection reuse and navigation timing is not well-tested. This CL adds such a test. Change-Id: I91d7cbfe4f1ee58a72b4a647a38bd58d4ffca693 Bug: 977519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1702022 Commit-Queue: Yoav Weiss <yoavweisschromium.org> Reviewed-by: Nicolás Peña Moreno <npmchromium.org> Cr-Commit-Position: refs/heads/master{#677521} -- wpt-commits: 391c8f12e270cf0cadb26dc06b5d9984afe34a4c wpt-pr: 17832 UltraBlame original commit: 7d46cf3817a323c5047e4b8726c6708a1e2c9091
Closes #84
Preview | Diff