mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
feat: 补全 Error 栈访问器 isError toJSON 与 Promise.try
This commit is contained in:
@@ -108,6 +108,10 @@ pub(crate) fn pre_existing_excluded(path: &str) -> Option<&'static str> {
|
||||
"expressions/tagged-template/cache-eval-inner-function.js",
|
||||
"eval 不共享调用方作用域(既有 eval 作用域限制)",
|
||||
),
|
||||
(
|
||||
"built-ins/Error/prototype/stack/instance-not-enumerable.js",
|
||||
"快照断言 JSON.stringify 空对象,与 Error.prototype.toJSON 规范序列化(name/message)冲突,子模块更新后自然通过",
|
||||
),
|
||||
];
|
||||
LIST.iter()
|
||||
.find(|(suffix, _)| path.ends_with(suffix))
|
||||
|
||||
Reference in New Issue
Block a user