aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/body.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-1/+2
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Format remaining filesPyfisch2018-11-061-2/+3
|
* `cargo fix --edition`Simon Sapin2018-11-061-10/+10
|
* Update hyper to 0.12Bastien Orivel2018-11-011-17/+16
|
* Format script componentchansuke2018-09-191-33/+48
|
* Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-2/+2
|
* Assert that we successfully got the pending exceptionYusuf Simonson2018-03-281-1/+1
|
* Reordered imports to pass tidyYusuf Simonson2018-03-271-2/+2
|
* Properly rethrow any exceptions from parsing JSON in Body mixin's `Json()`Yusuf Simonson2018-03-271-3/+8
|
* refactor(consume_body): json stored in roottraceableboxOJ Kwon2018-03-241-2/+3
|
* feat(consume_body): implement consume_body accepts arraybufferOJ Kwon2018-03-241-0/+21
|
* feat(webidl): expose arraybuffer overload in body idlOJ Kwon2018-03-231-1/+2
|
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-3/+3
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Make Promise::reject_error soundAnthony Ramine2017-09-221-4/+4
|
* Make Promise::resolve_native actually soundAnthony Ramine2017-09-211-4/+4
| | | | | We shouldn't have to pass a raw JSContext pointer, and to enter the promise's context's compartment by hand.
* order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Untry scriptSimon Sapin2017-06-181-2/+2
|
* Remove some usage of rust-encodingSimon Sapin2017-05-271-5/+2
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-10/+10
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-4/+4
|
* Remove Reflectable::globalAnthony Ramine2016-10-061-2/+2
|
* Make Promise::new take a &GlobalScopeAnthony Ramine2016-10-061-1/+1
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-3/+4
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-5/+5
|
* Provide the fetched data to fetch() consumers.Ms2ger2016-10-061-7/+24
|
* Auto merge of #13577 - servo:warnings, r=jdmbors-servo2016-10-051-2/+0
|\ | | | | | | | | | | | | | | Squash some build warnings. <!-- 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/13577) <!-- Reviewable:end -->
| * Squash some build warnings.Ms2ger2016-10-041-2/+0
| |
* | Revert "Make DOMRefCell use style’s copy of RefCell"Simon Sapin2016-10-041-1/+1
|/ | | | This reverts commit ec723057b2360446790d436fe5e234d798fb4175.
* impl Body mixin for dom::Response and dom::RequestMalisa Smith2016-09-281-0/+164