servo/components/script
bors-servo a03a5e814a Auto merge of #13345 - malisas:malisa-bodyAPI, r=jdm
implement Body for dom::Response and dom::Request

<!-- Please describe your changes on the following line: -->

This PR adds dom::Response and dom::Request's `Text()`, `Blob()`, `Json()`, and (part of the) `FormData()` functions, part of the [Body mixin](https://fetch.spec.whatwg.org/#body). The corresponding tests have also been updated as passing.

@jeenalee also contributed to this PR, primarily the `Blob()`, `Json()`, and `FormData()` implementations.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13345)
<!-- Reviewable:end -->
2016-09-29 06:19:59 -05:00
..
docs
dom Auto merge of #13345 - malisas:malisa-bodyAPI, r=jdm 2016-09-29 06:19:59 -05:00
parse Reorder use statements 2016-09-09 04:55:19 +02:00
task_source Implement file reading task source 2016-07-14 13:27:42 -04:00
bluetooth_blacklist.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
body.rs impl Body mixin for dom::Response and dom::Request 2016-09-28 22:10:53 -07:00
build.rs Native MSVC windows build, convert to cmake 2016-08-17 09:50:51 -04:00
Cargo.toml Implement binding support for returning and accepting Promises in WebIDL. 2016-09-22 16:16:48 -04:00
clipboard_provider.rs
CMakeLists.txt Fix doc build by resurrecting generation of supported DOM APIs.h 2016-09-24 15:06:06 -04:00
devtools.rs Reorder use statements 2016-09-09 04:55:19 +02:00
document_loader.rs Use fetch infrastructure to load external scripts 2016-09-21 11:50:55 -07:00
layout_wrapper.rs Filter non-element / non-text nodes in LayoutIterator. 2016-09-21 11:43:52 -07:00
lib.rs Auto merge of #13345 - malisas:malisa-bodyAPI, r=jdm 2016-09-29 06:19:59 -05:00
mem.rs
network_listener.rs Reorder use statements 2016-09-09 04:55:19 +02:00
origin.rs Reorder use statements 2016-09-09 04:55:19 +02:00
script_runtime.rs Support promises in workers. 2016-09-22 16:16:55 -04:00
script_thread.rs Support promises in workers. 2016-09-22 16:16:55 -04:00
serviceworker_manager.rs make structured clone an enum 2016-09-15 11:32:55 +05:30
textinput.rs Implement minlength for text inputs 2016-09-21 07:54:39 -05:00
timers.rs Support an equivalent of Trusted<T> for Rc<Promise> objects named TrustedPromise. 2016-09-22 16:16:59 -04:00
unpremultiplytable.rs
webdriver_handlers.rs Use fn pipeline_id consistently, not fn pipeline 2016-09-13 15:17:40 -04:00