servo/components/net
bors-servo d28d9fe273
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 -->
2019-10-10 22:16:27 -04:00
..
fetch http-cache: wait on pending stores 2019-10-08 17:58:20 +08:00
tests Move ResourceFetchTiming into Arc 2019-09-18 11:54:28 -04:00
Cargo.toml Remove unused dependencies 2019-10-01 21:15:53 +09:00
connector.rs Disable TLS 1.0 and 1.1 2019-05-10 14:53:32 +02:00
cookie.rs Add webdriver deletecookies function 2019-04-19 13:15:50 +05:30
cookie_storage.rs Add webdriver deletecookies function 2019-04-19 13:15:50 +05:30
data_loader.rs Update to url 2.0 2019-08-17 10:03:44 +02:00
decoder.rs Fix some new warnings 2019-06-22 14:59:09 +02:00
filemanager_thread.rs Deduplicate idna, log, mime, mime_guess, percent-encoding, unicase, url, ws 2019-08-19 20:09:20 +02:00
hosts.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
hsts.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
http_cache.rs http-cache: wait on pending stores 2019-10-08 17:58:20 +08:00
http_loader.rs Auto merge of #23990 - tomasdivito:add-secure-connection-start, r=jdm 2019-10-10 22:16:27 -04:00
image_cache.rs Add useful debug output for HTTP response and image cache. 2019-10-04 15:08:40 -04:00
lib.rs #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
mime_classifier.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
resource_thread.rs http-cache: wait on pending stores 2019-10-08 17:58:20 +08:00
storage_thread.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
subresource_integrity.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
websocket_loader.rs use ipc router to handle ws dom-action messages 2019-10-09 17:36:45 +08:00