aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * continue messageport, transferable, postmessage optionsGregory Terzian2019-10-191-1/+17
| |
| * DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-2/+3
| | | | | | | | as first argument.
| * Upgrade to Spidermonkey 67.Josh Matthews2019-06-261-6/+11
| |
| * Update to SpiderMonkey 66.Josh Matthews2019-05-101-7/+6
| |
| * Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
| |
| * Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-2/+0
| | | | | | | | A `crate_name::foo` path always works in 2018
| * Reorder importsPyfisch2018-11-061-7/+7
| |
| * Manually format remaining problemsPyfisch2018-11-061-13/+14
| | | | | | | | | | | | | | | | | | Use line comments instead of block comments as block comments contain trailing whitespace after formatting with rustfmt. Skip tests for malloc_size_of and script_plugins with rustfmt as they have many block comments.
| * Format remaining filesPyfisch2018-11-061-1/+1
| |
| * `cargo fix --edition`Simon Sapin2018-11-061-9/+9
| |
| * Format script componentchansuke2018-09-191-108/+143
| |
| * Upgraded to SM 60Alan Jeffrey2018-08-201-10/+12
| |
| * Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-24/+32
| |
| * Use specific negative assertion for DOM bindings utilsCYBAI2018-01-261-1/+1
| |
| * Fix tyvar_behind_raw_pointer warningsSimon Sapin2018-01-101-2/+2
| | | | | | | | https://github.com/rust-lang/rust/issues/46906
| * Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
| * Fix commonmark Markdown warnings in docs, part 1Matt Brubeck2017-10-171-1/+1
| | | | | | | | | | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments.
| * script: Properly throw when "this" is not an object in a generic call.Emilio Cobos Álvarez2017-09-171-2/+6
| |
| * order derivable traits listsClément DAVID2017-08-231-2/+2
| | | | | | | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
| * Renamed BrowsingContext to WindowProxy in script.Alan Jeffrey2017-05-121-2/+2
| |
* | xow tests reflect current stateddh2017-06-121-1/+1
| |
* | frames override is the worstddh2017-05-171-12/+28
| |
* | added in cross origin type checks. assert_throws isn't working yetddh2017-05-151-0/+3
| |
* | added dom exception callback stuffddh2017-05-121-8/+21
| |
* | debuggingddh2017-05-091-0/+2
| |
* | investigating failures after filtering wrapper integration with mozjsddh2017-05-091-3/+8
| |
* | added wrapper selection and subsumes logicddh2017-04-251-7/+99
| |
* | added JSPrincipal bindingsddh2017-04-251-0/+12
|/
* Add way to get c_void ptr or c_char from callermckaymatt2017-04-041-1/+22
|
* Eliminate a mem::transmute in CodeGenGregory Katz2017-02-201-5/+5
|
* Update js, AGAINAnthony Ramine2016-11-271-6/+6
|
* Update js.Ms2ger2016-11-271-15/+0
|
* Issue #13377 Extract panic-catching for JS engine callbacks into aHugo Thiessard2016-09-261-0/+15
| | | | separate function
* Make DOMJSClass use JSClass instead of Class (fixes #13031)Tetsuharu OHZEKI2016-08-261-1/+1
|
* Pass the receiver to get_property_on_prototype (fixes #11600)Anthony Ramine2016-08-251-3/+3
|
* Make has_property_on_prototype fallibleAnthony Ramine2016-08-251-5/+8
|
* Mark get_property_on_prototype and has_property_on_prototype as unsafeAnthony Ramine2016-08-251-30/+29
|
* Rename utils::create_dom_object to interface::create_global_objectAnthony Ramine2016-08-251-48/+8
|
* Implement the [Exposed] extended attribute on interfaces.Ms2ger2016-07-121-0/+3
| | | | Fixes #2823.
* Switch to using the new rooted!/RootedGuard API for rooting.Eduard Burtescu2016-07-041-19/+18
|
* Auto merge of #11329 - c-rhodes:11320, r=jdmbors-servo2016-05-271-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report use statements that use {} with only one entry 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 --faster` does not report any errors - [X ] These changes fix #11320 (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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11329) <!-- Reviewable:end -->
| * Report use statements that use {} with only one entryCullen Rhodes2016-05-271-1/+1
| |
* | Remove utils::Prefable in favour of guard::GuardAnthony Ramine2016-05-261-22/+0
| |
* | Remove Prefable::terminator 🤖Anthony Ramine2016-05-261-10/+3
|/
* Move DOMString back to scriptAnthony Ramine2016-05-241-3/+3
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* codegen: Throw a more descriptive invalid enum messageEmilio Cobos Álvarez2016-05-131-3/+4
|
* Auto merge of #10756 - servo:smup, r=Ms2gerbors-servo2016-05-031-25/+16
|\ | | | | | | | | | | | | | | Update SpiderMonkey <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10756) <!-- Reviewable:end -->
| * Update SpiderMonkeyAnthony Ramine2016-05-031-25/+16
| |
* | Implement hiding of interface members via Pref annotations.Josh Matthews2016-05-021-2/+25
| |
* | Start generating arrays of specs for easier implementation of preference checks.Josh Matthews2016-05-021-0/+6
|/