mirror of
https://github.com/servo/servo
synced 2026-05-11 17:37:21 +02:00
Testing: Just refactor, but should be covered by WPT Part of #40600 --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
29 lines
1.0 KiB
Rust
29 lines
1.0 KiB
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
pub(crate) mod base {
|
|
pub(crate) use std::ptr;
|
|
|
|
pub(crate) use js::context::JSContext;
|
|
#[expect(unused_imports)]
|
|
pub(crate) use js::realm::CurrentRealm;
|
|
pub(crate) use js::rust::{HandleObject, MutableHandleObject};
|
|
|
|
pub(crate) use crate::script_runtime::JSContext as SafeJSContext;
|
|
}
|
|
|
|
pub(crate) mod module {
|
|
pub(crate) use script_bindings::codegen::PrototypeList;
|
|
pub(crate) use script_bindings::conversions::IDLInterface;
|
|
pub(crate) use script_bindings::utils::DOMClass;
|
|
|
|
pub(crate) use super::base::*;
|
|
pub(crate) use crate::dom::bindings::iterable::IterableIterator;
|
|
pub(crate) use crate::dom::bindings::reflector::{
|
|
DomObjectIteratorWrap, DomObjectWrap, Reflector,
|
|
};
|
|
pub(crate) use crate::dom::bindings::root::{Dom, Root};
|
|
pub(crate) use crate::dom::bindings::weakref::WeakReferenceable;
|
|
}
|