mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Scaffold module script
This commit is contained in:
parent
86575bba1b
commit
f2007751dd
6 changed files with 1620 additions and 63 deletions
|
@ -225,7 +225,7 @@ impl Promise {
|
|||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
fn promise_obj(&self) -> HandleObject {
|
||||
pub fn promise_obj(&self) -> HandleObject {
|
||||
let obj = self.reflector().get_jsobject();
|
||||
unsafe {
|
||||
assert!(IsPromiseObject(obj));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue