diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-10-10 22:16:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 22:16:27 -0400 |
commit | d28d9fe2739162adc449c71f1a296592125e8c99 (patch) | |
tree | e24192c4324aba5f3783696437d6c70c5266b87e /python/mach_bootstrap.py | |
parent | b3a97f29e81cbd06b731a0e499562c4132f125ab (diff) | |
parent | bd0c0b65baede6e19683912ca8905bd7a3aa5e31 (diff) | |
download | servo-d28d9fe2739162adc449c71f1a296592125e8c99.tar.gz servo-d28d9fe2739162adc449c71f1a296592125e8c99.zip |
Auto merge of #23990 - tomasdivito:add-secure-connection-start, r=jdm
Add secure connection start
Implementing `secure_connection_start` as well as we can, this is related to #21268
We are setting the value as well as we can since we don't have a way to know if we are currently using a secure transport or where the handshake before the connection is done as the spec says on the step 15 [https://w3c.github.io/resource-timing/#sec-process](https://w3c.github.io/resource-timing/#sec-process)
Regarding the Timing Allow Check, that's being done on another PR by another person which will take care of setting the rest of the values on `PerformaceResourceTiming` to Zero and prevent them to set them any other way.
I'm currently setting the `secure_connection_time` using `precise_time_ms()` as the `connection_start` and `connection_end` are set that way... but other attributes inside `PerformanceResourceTiming` are set using `precise_time
Another thing, the issue talks about setting `redirect_start` but I'm not really sure if it's related, if so I can look up into that too... I might have just read and thought it was all about secure connection start.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #21268
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23990)
<!-- Reviewable:end -->
Diffstat (limited to 'python/mach_bootstrap.py')
0 files changed, 0 insertions, 0 deletions