feat: 补全 Error 栈访问器 isError toJSON 与 Promise.try

This commit is contained in:
2026-09-22 09:02:30 +00:00
parent 96f3c0cf85
commit cc0ed44bd8
9 changed files with 347 additions and 44 deletions
+4
View File
@@ -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))