From b64849cdb0226c84bbcfaeab62a3856e9de15a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=E7=89=B9=E6=AF=8F=E7=BE=8A=E9=98=9F?= Date: Fri, 7 Aug 2026 20:19:44 +0800 Subject: [PATCH] =?UTF-8?q?chore(test262):=20=E6=94=B6=E7=AA=84=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=20skip=EF=BC=88=E5=88=A0=E9=99=A4=E6=96=AD?= =?UTF-8?q?=E8=A8=80=E5=A4=B1=E8=B4=A5=E6=B6=88=E6=81=AF=E8=AF=AF=E5=BD=93?= =?UTF-8?q?=20skip=EF=BC=89+=20=E6=AD=A3=E5=88=99=E4=BE=9D=E8=B5=96=20lock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 1 + crates/oxide_test262/src/main.rs | 10 +--------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6865c05..2928ddb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1197,6 +1197,7 @@ dependencies = [ "oxide_bytecode", "oxide_ir", "oxide_parser", + "regex", ] [[package]] diff --git a/crates/oxide_test262/src/main.rs b/crates/oxide_test262/src/main.rs index 3e3f2f0..80e5077 100644 --- a/crates/oxide_test262/src/main.rs +++ b/crates/oxide_test262/src/main.rs @@ -569,15 +569,7 @@ fn run_test_inner( || e.contains("called on non-TypedArray") || e.contains("Array.prototype method called on null") || e.contains("__proto__ must be an object") - || e.contains("Expected a TypeError to be thrown") - || e.contains("Expected a RangeError to be thrown") - || e.contains("Expected a SyntaxError to be thrown") - || e.contains("Expected a undefined to be thrown") - || e.contains("Expected SameValue") - || e.contains("cannot assign to read-only property") - || e.contains("cannot delete non-configurable property") - || e.contains("private field") - // 类私有字段未实现。 + // 私有字段未实现。 { if no_skip { return TestResult::fail(path.to_path_buf(), dur, format!("vm error: {e}"));