From 8677804ea0426ef99a2c7e0818041c40e763d5f4 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Fri, 6 Mar 2020 15:33:04 -0500 Subject: [PATCH] Actually enable the `isPrototypeOf` test. --- core/tests/regression_tests.rs | 1 + core/tests/swfs/avm2/is_prototype_of/output.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/regression_tests.rs b/core/tests/regression_tests.rs index 2c4f10c2c..3a58d0589 100644 --- a/core/tests/regression_tests.rs +++ b/core/tests/regression_tests.rs @@ -240,6 +240,7 @@ swf_tests! { (as3_control_flow_stricteq, "avm2/control_flow_stricteq", 1), (as3_object_enumeration, "avm2/object_enumeration", 1), (as3_class_enumeration, "avm2/class_enumeration", 1), + (as3_is_prototype_of, "avm2/is_prototype_of", 1), } // TODO: These tests have some inaccuracies currently, so we use approx_eq to test that numeric values are close enough. diff --git a/core/tests/swfs/avm2/is_prototype_of/output.txt b/core/tests/swfs/avm2/is_prototype_of/output.txt index 3d3f2dc80..6c82d1994 100644 --- a/core/tests/swfs/avm2/is_prototype_of/output.txt +++ b/core/tests/swfs/avm2/is_prototype_of/output.txt @@ -1,4 +1,3 @@ - //ES4Class.prototype.isPrototypeOf(es4inst); true //Object.prototype.isPrototypeOf(es4inst);