aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
Commit message (Collapse)AuthorAgeFilesLines
* replace .len() == 0 with is_empty()João Oliveira2015-08-141-1/+1
| | | | closes #7198
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-3/+9
|
* script: Make the resource task communication use IPC channels.Patrick Walton2015-07-311-17/+17
|
* net: Use a thread for each `AsyncResponseTarget` to avoid having to sendPatrick Walton2015-07-311-4/+10
| | | | trait objects across process boundaries.
* net: Make most of the resource task messages serializable.Patrick Walton2015-07-311-9/+16
|
* Add spec linksBogdan Cuza2015-07-281-1/+1
|
* Fix #6674Bogdan Cuza2015-07-221-1/+1
|
* Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10)Simon Sapin2015-07-151-1/+2
|
* Remove some more unnecessary let bindingsDavid Zbarsky2015-07-141-6/+2
|
* Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-011-4/+2
| | | | fixes #6524
* Upgrade to SM 39Michael Wu2015-06-191-34/+39
|
* Use str::parse() rather than FromStr::from_str.Ms2ger2015-06-131-2/+1
| | | | The former appears to be preferred.
* Cleanup URLSearchParamsAnthony Ramine2015-05-271-4/+9
| | | | It now uses rust-url for its serializer.
* 1. Add an Option<Pipeline_id> field to the LoadData struct, and a ↵Himaja2015-05-051-1/+3
| | | | | | corresponding parameter to LoadData::new() 2. Change addEvent in the NetworkEventActor to add_request and add_response
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-13/+16
|
* Replace ByteString::as_slice() by a Deref implementation.Ms2ger2015-05-011-4/+4
|
* Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
|
* Remove Temporary::new()Anthony Ramine2015-04-281-2/+2
| | | | Temporary::from_rooted() now takes an Assignable value.
* Uniformise root() methodsAnthony Ramine2015-04-281-2/+2
| | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* Change MutNullableJS<T> to MutNullableHeap<JS<T>>Anthony Ramine2015-04-271-3/+4
|
* Remove as_slice() calls from script.Ms2ger2015-04-261-13/+13
|
* Create easy common interface for off-thread network listeners, and remove ↵Josh Matthews2015-04-161-72/+16
| | | | the CORS-specific reimplementation of async networking.
* Remove old implementation of XHR's fetch.Josh Matthews2015-04-161-136/+0
|
* Implement sync XHR by creating and spinning on-demand event loops.Josh Matthews2015-04-161-143/+172
|
* Make the fetch method only handle sync XHRs.Josh Matthews2015-04-161-43/+11
|
* Make timeouts for async XHR post a runnable.Josh Matthews2015-04-161-25/+40
|
* Make async XMLHttpRequest requests use async network events.Josh Matthews2015-04-161-12/+245
|
* Start switching net/ to use abstractions over channels to allow introducing ↵Josh Matthews2015-04-161-9/+8
| | | | non-channel communication in the future.
* Update WHATWG links to use HTTPSCorey Farwell2015-04-131-2/+2
| | | | | | | | | | | | | | Extracted this out of #5649 This commit was created with the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ```
* auto merge of #5511 : Ms2ger/servo/int, r=jdmbors-servo2015-04-031-2/+2
|\
| * Stop using int/uint in script.Ms2ger2015-04-031-2/+2
| |
* | Split out shared networking code into net_traits crateGilles Leblanc2015-04-031-3/+3
|/ | | | Fixes #4476
* auto merge of #5375 : frewsxcv/servo/xhr-docs, r=jdmbors-servo2015-03-261-1/+42
|\ | | | | | | | | Also adding some newlines for visual separation between functions/methods
| * Add comments linking XHR code to XHR specificationCorey Farwell2015-03-251-1/+42
| | | | | | | | | | Also adding some newlines for visual separation between functions/methods
* | Remove enum variant prefix in XMLHttpRequestStateCorey Farwell2015-03-251-8/+8
|/ | | | | | It was originally titled XHRDone to prevent conflicts with other variants called Done. This was done before enum namespacing landed, but now that it has, the prefixing is not necessary.
* Stop abusing format! macro when construct a StringCorey Farwell2015-03-221-2/+2
| | | | | In these cases for `format!`, we're just constructing a String of the single argument with no special format.
* Replace unsafe_blocks by unsafe_code.Manish Goregaokar2015-03-211-2/+2
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-5/+14
|
* Use qitem rather than QualityItem::new in XHR.Ms2ger2015-03-141-2/+2
| | | | This is more future-proof.
* Fixing Intermittent failure in pages with timersPrabhjyot Singh Sodhi2015-02-221-1/+1
| | | | Fixes #4923
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-8/+7
|
* Make XMLHttpRequest user-set headers be preserved across redirects.Josh Matthews2015-02-041-33/+29
|
* Initialize trusted-ness of DOM events properlyGilles Leblanc2015-02-031-3/+3
| | | | Fixes #3740
* add `unwrap` to `send/recv` callsAlexandru Cojocaru2015-02-031-2/+2
|
* Added error checking on XMLHttpRequest::setWithCredentialsKeith Yeung2015-02-021-2/+15
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-2/+2
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* self importManish Goregaokar2015-01-281-1/+1
|
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-31/+35
|
* Pass a String to spawn_named.Ms2ger2015-01-211-3/+3
| | | | | IntoString has been removed from Rust, and named() will take a String, so there is no good reason to do otherwise here.
* Move to to_owned rather than into_string.Ms2ger2015-01-201-25/+26
| | | | into_string has been removed from Rust.