mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 03:31:12 +08:00
fix: sloppy 模式属性赋值静默 no-op——写失败按写方严格模式分派,内置写路径一律按严格
This commit is contained in:
@@ -289,6 +289,7 @@ impl SuspendedFrame {
|
||||
constructed_this: f.constructed_this.map(&mut rewrite),
|
||||
is_derived_constructor: f.is_derived_constructor,
|
||||
super_called: f.super_called,
|
||||
strict: f.strict,
|
||||
continuation: f.continuation,
|
||||
}),
|
||||
spill_stack: self.spill_stack.iter().copied().map(&mut rewrite).collect(),
|
||||
@@ -365,6 +366,7 @@ mod tests {
|
||||
constructed_this: Some(tag),
|
||||
is_derived_constructor: false,
|
||||
super_called: false,
|
||||
strict: false,
|
||||
continuation: FrameContinuation::None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user