aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/utils.rs
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-37/+31
| | | | | * strict imports formatting * Reformat all imports
* Use MozTools 4 and update mozjs (#30326)Samson2023-09-111-1/+1
| | | | | | | | | | | | | | | | | | | * Update mozjs * moztools4 in bootstrap * no autoconf * tidy * switch to servo-build-deps * update mozjs for real * glue mozjs * fmt * move to servo/mozjs
* Throw type error when calling DOM constructor without new.Josh Matthews2023-05-301-0/+4
|
* Support arbitrary protos when wrapping EventTarget objects.Josh Matthews2023-05-281-0/+4
|
* Format.Josh Matthews2022-11-231-1/+1
|
* Changes for spidermomkey upgrade.Josh Matthews2022-11-231-11/+9
|
* refactor(script): move `crate::dom::bindings::{utils → ↵yvt2021-07-131-45/+0
| | | | principals)::ServoJSPrincipal`
* fix(script): implement the destroy-principals callback correctlyyvt2021-07-121-2/+6
|
* fix(script): apply some of the changes requested in the review comments of ↵yvt2021-07-121-2/+2
| | | | #16501
* feat(script): remove the call to `JS_SetWrapObjectCallbacks`yvt2021-07-111-168/+8
| | | | We don't make CCWs anymore.
* chore(deps): update mozjsyvt2021-07-111-5/+23
| | | | - 798c5b6: Bring `RustJSPrincipals` back
* fix: accommodate to the modern ageyvt2021-07-101-4/+13
|
* Merge remote-tracking branch 'upstream/master' into feat-cow-infrayvt2021-07-101-199/+331
|\ | | | | | | | | `tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html` was reverted to the upstream version.
| * Update mozjs.Josh Matthews2021-02-181-9/+30
| |
| * Added is_platform_obj_staticSean Joseph2020-11-261-4/+19
| |
| * Remove unnecessary generic from private_from_proto_check.Josh Matthews2020-06-041-4/+5
| |
| * Remove WebVRAlan Jeffrey2020-04-081-0/+10
| |
| * Update SpiderMonkeyAnthony Ramine2020-03-061-5/+7
| |
| * add a generic utility to convert a slice into a frozen arrayGregory Terzian2020-01-111-7/+2
| |
| * Handle u32 property indicesKagami Sascha Rosylight2019-11-271-22/+40
| |
| * 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
|