aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #14246 - emilio:servo-url, r=SimonSapinbors-servo2016-11-171-7/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Urlmageddon <!-- Please describe your changes on the following line: --> Still needs a bunch of code in net to be converted in order to get more advantage of this for images and stuff, but meanwhile this should help quite a bit with #13778. Still wanted to get this in. r? @SimonSapin <!-- 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/14246) <!-- Reviewable:end -->
| * Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-7/+9
| |
* | Auto merge of #14096 - ↵bors-servo2016-11-171-36/+34
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fflorent:11485-make-dom-methods-taking-mut-JSContent-unsafe, r=nox 11485 make dom methods taking mut js content unsafe This is a rebased version of PR #11595 --- <!-- 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 #11485 <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because: no code logic was changed <!-- 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/14096) <!-- Reviewable:end -->
| * script creates methods taking '*mut JSContext' unsafeAbelardo E. Mendoza2016-11-141-36/+34
| | | | | | | | rebase + marked the necessary new code as unsafe
* | Reorganise ServoParserAnthony Ramine2016-11-141-10/+11
|/ | | | | | Free-standing fonctions parse_html and friends are now static methods on ServoParser, and the HTML and XML tokenizers have been moved to private submodules.
* Properly implement TaskSource for NetworkingTaskSourceKeith Yeung2016-11-111-12/+11
|
* Update CORS naming from 'CORS' to 'Cors'.Corey Farwell2016-11-091-1/+1
| | | | | | | | As per: https://aturon.github.io/style/naming/README.html#general-conventions-[rfc-#430] Acronyms should be considered one word and not all caps.
* Move ReferrerPolicy to net_traits.Ms2ger2016-11-041-2/+2
|
* Update to string-cache 0.3Simon Sapin2016-11-031-1/+1
|
* Remove extra spaces in function calls and declarationsDaan Sprenkels2016-10-311-1/+1
|
* Update the bug number for Blob-XHR-revoke.html.Ms2ger2016-10-141-1/+1
|
* Remove intrinsic Root::r()Anthony Ramine2016-10-111-6/+5
|
* Merge script::parse and script::dom::servoparserAnthony Ramine2016-10-111-2/+2
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-18/+18
|
* Make XMLHttpRequest::fetch take a &GlobalScopeAnthony Ramine2016-10-061-8/+6
|
* Introduce GlobalScope::process_eventAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::new_script_pairAnthony Ramine2016-10-061-1/+1
|
* Move timers to GlobalScopeAnthony Ramine2016-10-061-4/+3
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-2/+2
|
* Introduce GlobalScope::networking_task_sourceAnthony Ramine2016-10-061-2/+3
|
* Introduce GlobalScope::core_resource_threadAnthony Ramine2016-10-061-1/+1
|
* Make XMLHttpRequest::new_doc use Reflectable::global_scopeAnthony Ramine2016-10-061-4/+3
|
* Introduce GlobalScope::as_windowAnthony Ramine2016-10-061-1/+1
|
* Remove some duplication in XMLHttpRequest methodsAnthony Ramine2016-10-061-8/+6
|
* Introduce GlobalScope::get_urlAnthony Ramine2016-10-061-4/+4
|
* Introduce GlobalScope::api_base_urlAnthony Ramine2016-10-061-1/+1
|
* Do not use GlobalRoot in dom::xmlhttprequestAnthony Ramine2016-10-061-14/+10
|
* Make XMLHttpRequest::new take a &GlobalScopeAnthony Ramine2016-10-061-6/+8
|
* Make throw_dom_exception take a &GlobalScopeAnthony Ramine2016-10-061-2/+1
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-7/+4
|
* Introduce GlobalScope::pipeline_idAnthony Ramine2016-10-061-3/+6
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-6/+6
|
* Auto merge of #13485 - mathieuh:xhr-event, r=jdmbors-servo2016-10-041-2/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make readystatechange fire more often (fixes #13481) <!-- Please describe your changes on the following line: --> --- <!-- 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 #13481 (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/13485) <!-- Reviewable:end -->
| * Make readystatechange fire more often (fixes#13481)Mathieu Hordesseaux2016-10-031-2/+9
| |
* | 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
* | impl Body mixin for dom::Response and dom::RequestMalisa Smith2016-09-281-1/+1
|/
* Add FetchMetadata and update corresponding methodsKeith Yeung2016-09-211-7/+13
|
* Implement default values for RequestInitKeith Yeung2016-09-211-0/+1
|
* Fix incorrect indentationKeith Yeung2016-09-211-27/+33
|
* Fix most typoes for: "referer" -> "referrer"Nicolas2016-09-161-1/+1
|
* Use fn pipeline_id consistently, not fn pipelineAneesh Agrawal2016-09-131-3/+6
| | | | | | | | | | | | 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-8/+8
|
* dom::Response implementationMalisa Smith2016-09-061-5/+4
|
* Update serde to 0.8 (fixes #12659)Anthony Ramine2016-08-121-1/+5
|
* Add XHR support for FormDataZhen Zhang2016-08-101-3/+10
|
* Added devtools support to fetch for XHR + Manish's XHR ident fixddh2016-07-291-0/+1
| | | | | | added unit test for request fetch with devtools added devtools/fetch test
* Auto merge of #12467 - jeenalee:jeena-headersAPI, r=jdmbors-servo2016-07-201-15/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the append method for the Headers API <!-- Please describe your changes on the following line: --> This commit adds the append method for the Headers API. @malisas and I are both contributors. There are a few TODOs related: - The script needs to parse the header value for certain header names to decide the header group it belongs - There are possible spec bugs that could change what a valid header value looks like (related: [issue page](https://github.com/whatwg/fetch/issues/332)) There are WPT tests already written for the Headers API, but they will fail as the Headers API is not fully implemented. --- <!-- 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: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because tests for the Headers API already exists, but this commit does not implement the interface fully. The tests will fail. <!-- 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/12467) <!-- Reviewable:end -->
| * makes XMLHttpRequest::SetRequestHeader call ↵Malisa Smith2016-07-191-15/+3
| | | | | | | | dom::headers::is_forbidden_header_name
* | Integrate service worker manager threadRahul Sharma2016-07-161-8/+1
|/
* script: Obtain referrer policy from headerAravind Gollakota2016-07-151-0/+1
|