servo/components/net
bors-servo 1bc94c132e Auto merge of #11593 - jdm:netmon, r=nox
Make the net monitor panel in FF's devtools show meaningful output.

<!-- Please describe your changes on the following line: -->
1. Advertise support for the network monitor in the initial protocol communication.
1. Only notify the developer tools server about the final request in an HTTP transaction.
1. Add timing information for connecting to the HTTP server and sending the HTTP request.
1. Reduce duplication between various networkEventUpdate structures by creating a helper function
that merges two JSON structures together. This also corrects the JSON structure so the devtools
client interprets the output correctly.
1. Calculate various header size fields correctly.
1. Remove unnecessary usize->u32 casts by making the appropriate fields usize.
1. Add header values to request and response header messages.
1. Support triggering page reloads via the devtools client.

I apologize that these aren't broken apart. I was making a lot of changes trying to figure out why the panel wasn't working right, and a lot of them were tangled together.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because there are no automated tests for the devtools server.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11593)
<!-- Reviewable:end -->
2016-06-05 21:19:22 -05:00
..
fetch Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
about_loader.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
bluetooth_thread.rs Allowed services support 2016-06-04 18:11:55 +02:00
Cargo.toml Auto merge of #11523 - szeged:random_id, r=jdm 2016-06-02 13:28:34 -05:00
chrome_loader.rs More chrome URL hardenning and tests. 2016-04-23 20:28:03 +02:00
connector.rs Use openssl-verify to check certificate + hostname 2016-05-10 11:30:11 -07:00
content_blocker.rs Read the content blocking rules and make them available to the HTTP loader. 2016-05-30 10:54:52 +02:00
cookie.rs read cookie_jar, hsts_list, auth_cache, and local_data from file if profile_dir option is present 2016-04-25 19:39:40 -04:00
cookie_storage.rs Auto merge of #11196 - fduraffourg:master, r=jdm 2016-05-17 16:34:16 -07:00
data_loader.rs Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
file_loader.rs adding interface for custom responses 2016-05-20 12:11:56 +05:30
filemanager_thread.rs Dropped references to RefCell. 2016-06-02 13:16:56 +02:00
hsts.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
http_loader.rs Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
image_cache_thread.rs adding interface for custom responses 2016-05-20 12:11:56 +05:30
lib.rs Auto merge of #11523 - szeged:random_id, r=jdm 2016-06-02 13:28:34 -05:00
mime_classifier.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
pub_domains.rs Fix existing syntactics nits. 2015-08-16 10:30:43 -04:00
resource_thread.rs Auto merge of #11497 - ab22:11467-resource-threads-race-with-shutdown-to-write-out-data, r=Ms2ger 2016-06-01 06:46:58 -05:00
storage_thread.rs send a reply when thread is done exiting 2016-05-30 09:21:09 -06:00
websocket_loader.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00