aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/interface.rs
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-37/+28
| | | | | * 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
* Rename reflect_dom_object2.Josh Matthews2023-05-311-2/+2
|
* Assert that we're constructing.Josh Matthews2023-05-301-1/+2
|
* Don't root a Realm that's used for one call.dom-protosJosh Matthews2023-05-291-3/+3
|
* Formatting.Josh Matthews2023-05-281-31/+32
|
* Support arbitrary protos when wrapping EventTarget objects.Josh Matthews2023-05-281-2/+120
|
* Formatting.Josh Matthews2023-05-261-8/+2
|
* Use an enum to pass the index value for interfaces/protos.Josh Matthews2023-05-261-4/+19
|
* Extract bodies of DefineDOMInterface and GetProtoObject/GetConstructorObject ↵Josh Matthews2023-05-261-1/+50
| | | | out of generated bindings.
* Changes for spidermomkey upgrade.Josh Matthews2022-11-231-2/+0
|
* refactor(script): apply suggestionsyvt2021-07-251-2/+0
|
* refactor(script): auto ref-count `ServoJSPrincipals`yvt2021-07-131-1/+1
|
* refactor(script): rename `ServoJSPrincipal` to `ServoJSPrincipals`yvt2021-07-131-2/+2
|
* refactor(script): move `crate::dom::bindings::{utils → ↵yvt2021-07-131-1/+2
| | | | principals)::ServoJSPrincipal`
* chore(deps): update mozjsyvt2021-07-111-5/+3
| | | | - 798c5b6: Bring `RustJSPrincipals` back
* fix: accommodate to the modern ageyvt2021-07-101-1/+1
|
* Merge remote-tracking branch 'upstream/master' into feat-cow-infrayvt2021-07-101-290/+347
|\ | | | | | | | | `tests/wpt/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html` was reverted to the upstream version.
| * fix(script): one compartment for each script thread (agent)yvt2021-07-061-0/+42
| | | | | | | | | | | | | | | | | | Documents in the same agent[1] can share and exchange JS and DOM objects freely, so putting them in separate compartments would require almost every instance of `Dom` to be able to handle cross-compartment references. [1]: https://html.spec.whatwg.org/multipage/webappapis.html#integration-with-the-javascript-agent-formalism
| * Fix errorssagudev2021-03-121-2/+2
| |
| * Don't pretend we support SharedArrayBuffer.Josh Matthews2020-06-161-1/+1
| |
| * integrate readablestream with fetch and blobGregory Terzian2020-06-041-0/+1
| |
| * Update SpiderMonkeyAnthony Ramine2020-03-061-8/+8
| |
| * Remove obsolete behavior per heycam/webidl #356Patrick Shaughnessy2019-12-221-80/+5
| |
| * Support [LegacyWindowAlias]Kagami Sascha Rosylight2019-10-191-0/+7
| |
| * Use safe JSContext when possible in interface.rsmarmeladema2019-08-091-141/+166
| |
| * Update SpiderMonkey bindings for Windows arm64 crash fix.Josh Matthews2019-07-251-5/+7
| |
| * Change bindings generation to make Exposed annotation aware of ↵sreeise2019-07-141-7/+14
| | | | | | | | members/partial interfaces
| * Update to SpiderMonkey 66.Josh Matthews2019-05-101-15/+13
| |
| * Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
| |
| * Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-1/+0
| | | | | | | | A `crate_name::foo` path always works in 2018
| * Reorder importsPyfisch2018-11-061-7/+11
| |
| * `cargo fix --edition`Simon Sapin2018-11-061-6/+6
| |
| * Format script componentchansuke2018-09-191-130/+174
| |
| * Upgraded to SM 60Alan Jeffrey2018-08-201-35/+23
| |
| * Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-28/+43
| |
| * Use specific assertion for DOM binding interfaceCYBAI2018-01-261-4/+4
| |
| * Fix tyvar_behind_raw_pointer warningsSimon Sapin2018-01-101-2/+2
| | | | | | | | https://github.com/rust-lang/rust/issues/46906
| * Moved pop_current_element_queue() and push_new_element_queue() to ↵olmanz2017-11-161-9/+0
| | | | | | | | htmlconstructor.rs
| * Moved function html_constructor() from interface.rs to new file ↵olmanz2017-11-161-309/+3
| | | | | | | | htmlconstructor.rs
| * 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.
| * Remove usage of unstable features const_ptr_null and const_ptr_null_mutSimon Sapin2017-10-161-2/+2
| |
| * Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
| * Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-5/+5
| | | | | | | | | | | | | | 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
| |
| * order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
| * Track custom element stateConnor Brewster2017-08-091-3/+5
| |
| * Add construction stackConnor Brewster2017-08-091-18/+37
| |
| * Implement CEReactions codegenConnor Brewster2017-07-181-0/+9
| |
| * Implement step 5 of HTMLConstructorConnor Brewster2017-06-151-7/+11
| |