mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
fix: 原型链直读改经 get_prototype_of 路由
This commit is contained in:
@@ -536,7 +536,8 @@ pub trait VmHost {
|
||||
fn function_is_strict(&self, obj: &JsObject) -> bool;
|
||||
/// caller/arguments 访问是否受限:严格函数对象,或生成器 / 异步 /
|
||||
/// 异步生成器函数对象([[Prototype]] 为三个动态函数原型之一)。
|
||||
fn function_is_restricted(&self, obj: &JsObject) -> bool;
|
||||
/// 原型经 [[GetPrototypeOf]] 路由判定(代理函数对象经 getPrototypeOf trap)。
|
||||
fn function_is_restricted(&mut self, obj: &JsObject) -> Result<bool, String>;
|
||||
fn step_rng(&mut self);
|
||||
fn math_rng_value(&self) -> f64;
|
||||
fn sub_module_function_name(&self, gen: u32, sub_idx: u16) -> String;
|
||||
|
||||
Reference in New Issue
Block a user