diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-05 21:19:22 -0500 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-05 21:19:22 -0500 |
commit | 1bc94c132e6820293c2178bf95991518b1e8a677 (patch) | |
tree | fbae53c7af7ee63700e7c785b376b371fa738cf2 /python/servo/post_build_commands.py | |
parent | 2083a8c1c49dce46b71d8e40c089809d98f10143 (diff) | |
parent | 7bf2e19437ad954bd1d03bb52b86551546ae8ba5 (diff) | |
download | servo-1bc94c132e6820293c2178bf95991518b1e8a677.tar.gz servo-1bc94c132e6820293c2178bf95991518b1e8a677.zip |
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 -->
Diffstat (limited to 'python/servo/post_build_commands.py')
0 files changed, 0 insertions, 0 deletions