mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
perf: Array 只读方法全部支持 ArrayLike,skip 收窄为基础设施限制
ArrayLike 支持扩展到全部 17 个只读 Array 方法; get_this_arraylike/arraylike_get 内联实现零开销; skip 收窄:仅保留基础设施限制类。
This commit is contained in:
@@ -537,29 +537,10 @@ fn run_test_inner(
|
||||
|| e.contains("GET_PROP_DYNAMIC on non-object")
|
||||
|| e.contains("SET_PROP_DYNAMIC on non-object")
|
||||
|| e.contains("private field brand check")
|
||||
|| e.contains("not callable")
|
||||
|| e.contains("CALL_NATIVE target")
|
||||
|| e.contains("Property description must be an object")
|
||||
|| e.contains("Cannot convert object to primitive")
|
||||
|| e.contains("Expected a TypeError")
|
||||
|| e.contains("Expected a RangeError")
|
||||
|| e.contains("Expected a SyntaxError")
|
||||
|| e.contains("__proto__ must be an object")
|
||||
|| e.contains("Cannot create property on non-object")
|
||||
|| e.contains("cannot assign to read-only property")
|
||||
|| e.contains("cannot delete non-configurable")
|
||||
|| e.contains("Expected SameValue")
|
||||
|| e.contains("Array method called on incompatible")
|
||||
|| e.contains("called on incompatible receiver")
|
||||
|| e.contains("call stack size exceeded")
|
||||
|| e.contains("Array.prototype method called on null")
|
||||
|| e.contains("called on non-Set")
|
||||
|| e.contains("called on non-Map")
|
||||
|| e.contains("called on non-ArrayBuffer")
|
||||
|| e.contains("called on non-TypedArray")
|
||||
|| e.contains("is not implemented")
|
||||
|| e.contains("unexpected tail call")
|
||||
|| e.contains("Cannot read properties of")
|
||||
{
|
||||
if no_skip {
|
||||
return TestResult::fail(path.to_path_buf(), dur, format!("vm error: {e}"));
|
||||
|
||||
Reference in New Issue
Block a user