aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/request.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix Request's Headers to be cloned correctlyJeena Lee2016-10-121-3/+4
|/ | | | | | Previously, when `Clone()` was called, Headers of the template Request did not get cloned properly. This commit fixes that issue, and updates the expected wpt results.
* Cleanup logic, remove unnecessary allocations in Request API.Corey Farwell2016-10-101-26/+12
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-3/+3
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-8/+5
|
* Make Request::new take a &GlobalScopeAnthony Ramine2016-10-061-13/+15
|
* Introduce GlobalScope::get_urlAnthony Ramine2016-10-061-4/+5
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-2/+2
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-1/+1
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-8/+4
|
* Provide the fetched data to fetch() consumers.Ms2ger2016-10-061-10/+12
|
* Revert "Make DOMRefCell use style’s copy of RefCell"Simon Sapin2016-10-041-2/+1
| | | | This reverts commit ec723057b2360446790d436fe5e234d798fb4175.
* Rename hyper import and update as HttpMethodTom Huibregtse2016-10-011-15/+15
|
* Remove same-origin-data-url flag from fetch implementationJan Zerebecki2016-10-011-1/+0
| | | | | | | The spec removed it. Check the scheme instead, data is always same origin now, except for workers. This also updates the comments to make step numbers match the spec. Closes #13362
* Implement the Fetch methodJeena Lee2016-09-291-0/+4
|
* impl Body mixin for dom::Response and dom::RequestMalisa Smith2016-09-281-2/+79
|
* Enable OpenEndedDictionary in HeadersJeena Lee2016-09-221-9/+11
| | | | Expected wpt results are updated as well.
* Fix most typoes for: "referer" -> "referrer"Nicolas2016-09-161-10/+10
|
* Use fn pipeline_id consistently, not fn pipelineAneesh Agrawal2016-09-131-1/+1
| | | | | | | | | | | | Consistently use the name 'pipeline_id' to refer to a function that returns an (optional) PipelineId. This was prompted by discovering both fn pipeline and fn pipeline_id doing the same job in htmliframeelement.rs. Note that there is fn pipeline in components/compositing/compositor.rs, but that actually returns an Option<&CompositionPipeline>, not any kind of PipelineId.
* Reorder `use` statementsUK9922016-09-091-4/+4
|
* Auto merge of #12851 - jeenalee:request, r=noxbors-servo2016-08-131-15/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix step 31 of the Request constructor. <!-- Please describe your changes on the following line: --> This PR fixes the step 31 of the Request constructor to fill Request's Headers object and rethrow any exceptions. Additionally, it removes unnecessary line breaks, comments, and redundant function. --- <!-- 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 fix #12845 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because this PR does not change the behavior of the Request constructor. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> In addition to fixing step 31 of the Request constructor, this commit also: - remove `get_current_url` function, and use `net_request::request`'s built-in `current_url` method - clean up unnecessary line breaks and comments <!-- 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/12851) <!-- Reviewable:end -->
| * Fix step 31 of the Request constructor.Jeena Lee2016-08-131-15/+3
| | | | | | | | | | | | | | | | In addition to fixing step 31 of the Request constructor, this commit also: - remove get_current_url function, and use net_request::request's built-in current_url method - clean up unnecessary line breaks and comments
* | Update Rust to 1.12.0-nightly (1deb02ea6 2016-08-12)Anthony Ramine2016-08-131-2/+2
|/
* Implement the Request API for the Fetch API.Jeena Lee2016-08-121-0/+820
This commit adds new files related to implementing the [Request API](https://fetch.spec.whatwg.org/#request-class). This commit also changes the expected web platform tests results. It also modifies the following files: components/net_traits/request.rs HeapSizeOf is implemented in net_traits/request so that dom::request can be used as a wrapper around net_traits::request::Request. components/script/dom/headers.rs Several methods are added to Headers so that request can access and modify some of the headers fields.