mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Make async XMLHttpRequest requests use async network events.
This commit is contained in:
parent
7517aac9e9
commit
5c7be5c9c3
4 changed files with 283 additions and 13 deletions
|
@ -16,6 +16,7 @@ use std::cell::{BorrowState, RefCell, Ref, RefMut};
|
|||
///
|
||||
/// This extends the API of `core::cell::RefCell` to allow unsafe access in
|
||||
/// certain situations, with dynamic checking in debug builds.
|
||||
#[derive(Clone)]
|
||||
pub struct DOMRefCell<T> {
|
||||
value: RefCell<T>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue