From ad7c4fc7183699b5c6f1160f0c0928faa1a3a441 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Tue, 22 Sep 2026 23:45:18 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=20detach=20=E6=97=8F=20harness?= =?UTF-8?q?=20=E5=86=85=E5=B5=8C=E4=BD=BF=E8=A7=A3=E7=A6=81=E7=9C=9F?= =?UTF-8?q?=E5=AE=9E=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_test262/src/harness.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/oxide_test262/src/harness.rs b/crates/oxide_test262/src/harness.rs index a1ab1008..ff0e0123 100644 --- a/crates/oxide_test262/src/harness.rs +++ b/crates/oxide_test262/src/harness.rs @@ -1,4 +1,4 @@ -//! test262 harness 内嵌注册表与前缀拼接/缓存:`HarnessSources`(21 处 `include_str!`)、`HARNESS`、黑名单、 +//! test262 harness 内嵌注册表与前缀拼接/缓存:`HarnessSources`(23 处 `include_str!`)、`HARNESS`、黑名单、 //! 前缀拼接与缓存。全部 `include_str!` 路径相对上 3 级到仓库根,依赖本文件平铺 `src/` 一级,禁子目录。 use crate::meta::TestMeta; @@ -50,6 +50,14 @@ impl HarnessSources { sources.insert("asyncHelpers.js", include_str!("../../../tests/test262/harness/asyncHelpers.js")); sources.insert("doneprintHandle.js", include_str!("../../../tests/test262/harness/doneprintHandle.js")); sources.insert("promiseHelper.js", include_str!("../../../tests/test262/harness/promiseHelper.js")); + sources.insert( + "detachArrayBuffer.js", + include_str!("../../../tests/test262/harness/detachArrayBuffer.js"), + ); + sources.insert( + "resizableArrayBufferUtils.js", + include_str!("../../../tests/test262/harness/resizableArrayBufferUtils.js"), + ); Self { sources } }