servo/components/script
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
..
docs Move the DOM memory management blog post into the tree. 2015-10-29 17:25:00 +01:00
dom Auto merge of #11587 - nox:element, r=Ms2ger 2016-06-05 20:29:19 -05:00
parse Replace HTMLScriptElement::mark_script_already_started by set_script_already_started 2016-06-03 01:31:52 +02:00
task_source Derive Clone for DOMManipulationTaskSource, UserInteractionTaskSource. 2016-06-03 09:33:18 +02:00
blob_url_store.rs add Blob URL store 2016-06-03 08:17:24 +08:00
bluetooth_blacklist.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
build.rs
Cargo.toml script: Use angle from the servo repo 2016-06-01 01:19:54 +02:00
clipboard_provider.rs Remove ConstellationChan. 2016-05-19 17:13:44 +02:00
cors.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
devtools.rs Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
document_loader.rs Add file backend support for Blob and related 2016-06-01 09:47:07 +08:00
layout_interface.rs Remove the layout shutdown channel. 2016-06-04 13:24:32 +02:00
lib.rs add Blob URL store 2016-06-03 08:17:24 +08:00
makefile.cargo Fix spurious rebuilds of the script crate 2015-10-08 21:37:56 -07:00
mem.rs Bump heapsize to 0.3 2016-02-13 11:13:19 +01:00
network_listener.rs refactors entities from script_thread into script_runtime 2016-04-06 12:46:49 +05:30
origin.rs Make script origins sendable and immutable. 2016-05-27 17:16:13 +02:00
reporter.rs Report CSS errors to script task for further processing. 2016-02-11 14:48:47 -05:00
script_runtime.rs implement related sw interface and register method 2016-06-02 04:09:39 +05:30
script_thread.rs Auto merge of #11593 - jdm:netmon, r=nox 2016-06-05 21:19:22 -05:00
textinput.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
timers.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
unpremultiplytable.rs add un-premultiply table for GetImageData 2015-10-20 04:51:29 -04:00
webdriver_handlers.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00