diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-02-04 01:58:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 06:58:08 +0000 |
commit | c94ac5bccb67c409130bda9b7e13064dd291ac98 (patch) | |
tree | 4b0730f6ec4060b026a252db060fc2a3f8031243 /components/script/dom/testrunner.rs | |
parent | 0d51578cc37b8ab392a930bc0a0f38ada2bb7913 (diff) | |
download | servo-c94ac5bccb67c409130bda9b7e13064dd291ac98.tar.gz servo-c94ac5bccb67c409130bda9b7e13064dd291ac98.zip |
Move various reflector types and traits to script_bindings (#35279)
* script: Move Reflector to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Extract global() helper from DomObject into new trait. Move DomObject and related traits to script_bindings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/testrunner.rs')
-rw-r--r-- | components/script/dom/testrunner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/testrunner.rs b/components/script/dom/testrunner.rs index e8084e5cb2a..d2d42131d08 100644 --- a/components/script/dom/testrunner.rs +++ b/components/script/dom/testrunner.rs @@ -10,7 +10,7 @@ use profile_traits::ipc; use crate::conversions::Convert; use crate::dom::bindings::codegen::Bindings::TestRunnerBinding::TestRunnerMethods; use crate::dom::bindings::error::ErrorResult; -use crate::dom::bindings::reflector::{reflect_dom_object, DomObject, Reflector}; +use crate::dom::bindings::reflector::{reflect_dom_object, DomGlobal, Reflector}; use crate::dom::bindings::root::DomRoot; use crate::dom::bindings::str::DOMString; use crate::dom::globalscope::GlobalScope; |