From 3d65901464f04619c574d2bfed9ec3782c28ac17 Mon Sep 17 00:00:00 2001 From: zjk261 <98996990+zjk261@users.noreply.github.com> Date: Wed, 3 Dec 2025 17:05:52 +0800 Subject: [PATCH 1/6] avm1: fix enumerability of prototype in function --- core/src/avm1/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/avm1/function.rs b/core/src/avm1/function.rs index 0fab3e115e75..aeab00d9edea 100644 --- a/core/src/avm1/function.rs +++ b/core/src/avm1/function.rs @@ -490,7 +490,7 @@ impl<'gc> FunctionObject<'gc> { context.gc(), istr!(context, "prototype"), prototype.into(), - Attribute::empty(), + Attribute::DONT_ENUM, ); } From a771c30db4c7ba0ca4f54f421fd098a79bb7e7fb Mon Sep 17 00:00:00 2001 From: zjk261 <98996990+zjk261@users.noreply.github.com> Date: Wed, 3 Dec 2025 21:53:02 +0800 Subject: [PATCH 2/6] avm1: make __proto__ of function objects undefined in swfv5 --- core/src/avm1/function.rs | 8 ++++++++ core/src/avm1/object.rs | 17 ++++++++++++++++- core/src/avm1/object/script_object.rs | 14 ++++++++++++++ 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/core/src/avm1/function.rs b/core/src/avm1/function.rs index aeab00d9edea..9ffdbc36cb3b 100644 --- a/core/src/avm1/function.rs +++ b/core/src/avm1/function.rs @@ -479,6 +479,14 @@ impl<'gc> FunctionObject<'gc> { let native = NativeObject::Function(Gc::new(context.gc(), self)); obj.set_native(context.gc(), native); + // In swfv5, __proto__ property of function objects is undefined by default. + obj.define_value( + context.gc(), + istr!(context, "__proto__"), + fn_proto.into(), + Attribute::DONT_ENUM | Attribute::DONT_DELETE | Attribute::VERSION_6, + ); + if let Some(prototype) = prototype { prototype.define_value( context.gc(), diff --git a/core/src/avm1/object.rs b/core/src/avm1/object.rs index 22bc66cba2d0..43a82fc6873a 100644 --- a/core/src/avm1/object.rs +++ b/core/src/avm1/object.rs @@ -22,7 +22,7 @@ use crate::avm1::globals::xml::Xml; use crate::avm1::globals::xml_socket::XmlSocket; use crate::avm1::object::super_object::SuperObject; use crate::avm1::xml::XmlNode; -use crate::avm1::{Activation, Error, Value}; +use crate::avm1::{Activation, Attribute, Error, Value}; use crate::bitmap::bitmap_data::BitmapData; use crate::display_object::{ Avm1Button, DisplayObject, EditText, MovieClip, TDisplayObject as _, Video, @@ -214,6 +214,21 @@ impl<'gc> Object<'gc> { return Ok(()); } + if name == istr!("__proto__") { + if let NativeObject::Function(_) = self.native() { + let attributes = if activation.swf_version() < 6 { + // Explicit overwriting in swfv5 makes __proto__ of function objects visible to swfv5. + Attribute::DONT_ENUM | Attribute::DONT_DELETE + } else { + // After explicit overwriting in swfv6 and above, __proto__ of function objects remains invisible to swfv5. + Attribute::DONT_ENUM | Attribute::DONT_DELETE | Attribute::VERSION_6 + }; + + self.define_value(activation.gc(), name, value, attributes); + return Ok(()); + } + } + let mut value = value; let (this, mut proto) = if let Some(super_object) = self.as_super_object() { (super_object.this(), super_object.proto(activation)) diff --git a/core/src/avm1/object/script_object.rs b/core/src/avm1/object/script_object.rs index 406849bbd589..fe932afe5d9f 100644 --- a/core/src/avm1/object/script_object.rs +++ b/core/src/avm1/object/script_object.rs @@ -660,6 +660,20 @@ impl<'gc> Object<'gc> { return zuper.proto(activation); } + // In swfv5, __proto__ property of function objects is undefined by default. + if activation.swf_version() < 6 { + if let NativeObject::Function(_) = self.native_no_super() { + let read = self.0.borrow(); + if let Some(prop) = read.properties.get(istr!("__proto__"), false) { + if !prop.allow_swf_version(activation.swf_version()) { + return Value::Undefined; + } + return prop.data(); + } + return Value::Undefined; + } + } + self.get_data(istr!("__proto__"), activation) } From 97ea356064475b507089b04ded3cf3f80559e518 Mon Sep 17 00:00:00 2001 From: zjk261 <98996990+zjk261@users.noreply.github.com> Date: Sat, 6 Dec 2025 17:49:06 +0800 Subject: [PATCH 3/6] avm1: constructor of function objects should exist --- core/src/avm1/function.rs | 9 +++++++++ core/src/avm1/globals.rs | 28 +++++++++++++++++++++++++++ core/src/avm1/object/script_object.rs | 20 +++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/core/src/avm1/function.rs b/core/src/avm1/function.rs index 9ffdbc36cb3b..2dbb84bdff2b 100644 --- a/core/src/avm1/function.rs +++ b/core/src/avm1/function.rs @@ -487,6 +487,15 @@ impl<'gc> FunctionObject<'gc> { Attribute::DONT_ENUM | Attribute::DONT_DELETE | Attribute::VERSION_6, ); + // This should be correct, because f.hasOwnProperty("constructor") returns true in flashplayer. + let constr_val = fn_proto.get_data_raw(istr!(context, "constructor")); + obj.define_value( + context.gc(), + istr!(context, "constructor"), + constr_val, + Attribute::DONT_ENUM | Attribute::DONT_DELETE, + ); + if let Some(prototype) = prototype { prototype.define_value( context.gc(), diff --git a/core/src/avm1/globals.rs b/core/src/avm1/globals.rs index fcde3317a360..87930c792ccb 100644 --- a/core/src/avm1/globals.rs +++ b/core/src/avm1/globals.rs @@ -6,6 +6,7 @@ use crate::avm1::{Object, Value}; use crate::display_object::{DisplayObject, TDisplayObject, TDisplayObjectContainer}; use crate::string::{AvmString, StringContext, WStr, WString}; use gc_arena::Collect; +use ruffle_macros::istr; use std::str; mod accessibility; @@ -546,6 +547,33 @@ pub fn create_globals<'gc>( let object = object::create_class(context); let function = function::create_class(context); + + let patch_constructor = |obj: Object<'gc>| { + obj.define_value( + context.gc(), + istr!(context.strings, "constructor"), + function.constr.into(), + Attribute::DONT_ENUM | Attribute::DONT_DELETE, + ); + }; + + let patch_proto_methods = |proto: Object<'gc>| { + for val in proto.get_all_property_data() { + if let Value::Object(o) = val { + if o.as_function().is_some() { + patch_constructor(o); + } + } + } + }; + + // function.proto does not need to be patched because its constructor was set in function::build. + patch_constructor(object.constr); + patch_constructor(function.constr); + + patch_proto_methods(object.proto); + patch_proto_methods(function.proto); + let (broadcaster_fns, as_broadcaster) = as_broadcaster::create_class(context, object.proto); let flash = Object::new(context.strings, Some(object.proto)); diff --git a/core/src/avm1/object/script_object.rs b/core/src/avm1/object/script_object.rs index fe932afe5d9f..ac98a1d00314 100644 --- a/core/src/avm1/object/script_object.rs +++ b/core/src/avm1/object/script_object.rs @@ -177,6 +177,26 @@ impl<'gc> Object<'gc> { .map_or(Value::Undefined, |property| property.data()) } + /// Gets the value of a data property without activation, ignoring attributes. + pub fn get_data_raw(self, name: AvmString<'gc>) -> Value<'gc> { + self.0 + .borrow() + .properties + .get(name, false) + .map(|p| p.data()) + .unwrap_or(Value::Undefined) + } + + /// Gets values of all data properties stored on this object, ignoring attributes. + pub fn get_all_property_data(self) -> Vec> { + self.0 + .borrow() + .properties + .iter() + .map(|(_, p)| p.data()) + .collect() + } + /// Sets a data property on this object, ignoring attributes. /// /// Doesn't look up the prototype chain and ignores virtual properties, but still might From b66ec54e19284b0e5fe485501a4d18cec926c510 Mon Sep 17 00:00:00 2001 From: zjk261 <98996990+zjk261@users.noreply.github.com> Date: Sat, 6 Dec 2025 17:51:25 +0800 Subject: [PATCH 4/6] avm1: fix constructor of function objects The constructor of function objects should be Funciton and it was AsBroadcaster.broadcastMessage before --- core/src/avm1/globals/as_broadcaster.rs | 2 +- core/src/avm1/property_decl.rs | 48 +++++++++++++++++-------- 2 files changed, 34 insertions(+), 16 deletions(-) diff --git a/core/src/avm1/globals/as_broadcaster.rs b/core/src/avm1/globals/as_broadcaster.rs index 99f2186d8138..eb184624b271 100644 --- a/core/src/avm1/globals/as_broadcaster.rs +++ b/core/src/avm1/globals/as_broadcaster.rs @@ -27,7 +27,7 @@ pub fn create_class<'gc>( let class = context.empty_class(super_proto); let mut define_as_object = |index: usize| -> Object<'gc> { - match OBJECT_DECLS[index].define_on(context.strings, class.constr, context.fn_proto) { + match OBJECT_DECLS[index].define_on(context, class.constr) { Value::Object(o) => o, _ => panic!("expected object for broadcaster function"), } diff --git a/core/src/avm1/property_decl.rs b/core/src/avm1/property_decl.rs index c936dfbe7d58..2526b50ad647 100644 --- a/core/src/avm1/property_decl.rs +++ b/core/src/avm1/property_decl.rs @@ -27,7 +27,7 @@ impl<'gc> DeclContext<'_, 'gc> { #[inline(never)] pub fn define_properties_on(&mut self, this: Object<'gc>, decls: &[Declaration]) { for decl in decls { - decl.define_on(self.strings, this, self.fn_proto); + decl.define_on(self, this); } } @@ -130,19 +130,20 @@ impl Declaration { /// defined a property. pub fn define_on<'gc>( &self, - context: &mut StringContext<'gc>, + context: &mut DeclContext<'_, 'gc>, this: Object<'gc>, - fn_proto: Object<'gc>, ) -> Value<'gc> { let mc = context.gc(); - let name = context.intern_static(WStr::from_units(self.name)); + let name = context.strings.intern_static(WStr::from_units(self.name)); let value = match self.kind { DeclKind::Property { getter, setter } => { // Property objects are unobservable by user code, so a bare function is enough. - let getter = FunctionObject::native(getter).build(context, fn_proto, None); - let setter = setter - .map(|setter| FunctionObject::native(setter).build(context, fn_proto, None)); + let getter = + FunctionObject::native(getter).build(context.strings, context.fn_proto, None); + let setter = setter.map(|setter| { + FunctionObject::native(setter).build(context.strings, context.fn_proto, None) + }); this.add_property(mc, name.into(), getter, setter, self.attributes); return Value::Undefined; } @@ -152,25 +153,42 @@ impl Declaration { setter, } => { // Property objects are unobservable by user code, so a bare function is enough. - let getter = - FunctionObject::table_native(native, getter).build(context, fn_proto, None); + let getter = FunctionObject::table_native(native, getter).build( + context.strings, + context.fn_proto, + None, + ); let setter = setter.map(|setter| { - FunctionObject::table_native(native, setter).build(context, fn_proto, None) + FunctionObject::table_native(native, setter).build( + context.strings, + context.fn_proto, + None, + ) }); this.add_property(mc, name.into(), getter, setter, self.attributes); return Value::Undefined; } DeclKind::Method(f) | DeclKind::Function(f) => { - let p = matches!(self.kind, DeclKind::Function(_)).then_some(fn_proto); - FunctionObject::native(f).build(context, fn_proto, p).into() + let p = if matches!(self.kind, DeclKind::Function(_)) { + Some(Object::new(context.strings, Some(context.object_proto))) + } else { + None + }; + FunctionObject::native(f) + .build(context.strings, context.fn_proto, p) + .into() } DeclKind::TableMethod(f, index) | DeclKind::TableFunction(f, index) => { - let p = matches!(self.kind, DeclKind::Function(_)).then_some(fn_proto); + let p = if matches!(self.kind, DeclKind::TableFunction(_, _)) { + Some(Object::new(context.strings, Some(context.object_proto))) + } else { + None + }; FunctionObject::table_native(f, index) - .build(context, fn_proto, p) + .build(context.strings, context.fn_proto, p) .into() } - DeclKind::String(s) => context.intern_static(WStr::from_units(s)).into(), + DeclKind::String(s) => context.strings.intern_static(WStr::from_units(s)).into(), DeclKind::Bool(b) => b.into(), DeclKind::Int(i) => i.into(), DeclKind::Float(f) => f.into(), From d1e76496ab2863bb5653a1f72d78764e7067d262 Mon Sep 17 00:00:00 2001 From: zjk261 <98996990+zjk261@users.noreply.github.com> Date: Sat, 6 Dec 2025 18:16:39 +0800 Subject: [PATCH 5/6] avm1: AsBroadcaster.initialize has prototype --- core/src/avm1/globals/as_broadcaster.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/avm1/globals/as_broadcaster.rs b/core/src/avm1/globals/as_broadcaster.rs index eb184624b271..15a882d97962 100644 --- a/core/src/avm1/globals/as_broadcaster.rs +++ b/core/src/avm1/globals/as_broadcaster.rs @@ -11,7 +11,7 @@ use gc_arena::Collect; use ruffle_macros::istr; const OBJECT_DECLS: &[Declaration] = declare_properties! { - "initialize" => method(initialize; DONT_ENUM | DONT_DELETE); + "initialize" => function(initialize; DONT_ENUM | DONT_DELETE); "addListener" => function(add_listener; DONT_ENUM | DONT_DELETE); "removeListener" => function(remove_listener; DONT_ENUM | DONT_DELETE); "broadcastMessage" => function(broadcast_message; DONT_ENUM | DONT_DELETE); From 1b625c2380bcff17731763de830b14226e0a460a Mon Sep 17 00:00:00 2001 From: zjk261 <98996990+zjk261@users.noreply.github.com> Date: Thu, 4 Dec 2025 15:58:58 +0800 Subject: [PATCH 6/6] tests: update passed tests --- .../Date-v5/output.fp10.ruffle.txt | 8 +- .../Date-v5/output.fp9.ruffle.txt | 8 +- .../Function-v5/output.fp13-18.ruffle.txt | 22 +- .../Function-v5/output.fp9-14.ruffle.txt | 22 +- .../Function-v6/output.fp13-18.ruffle.txt | 24 +- .../Function-v6/output.fp24.ruffle.txt | 24 +- .../Function-v6/output.fp9-14.ruffle.txt | 24 +- .../Function-v7/output.fp13-18.ruffle.txt | 24 +- .../Function-v7/output.fp24.ruffle.txt | 24 +- .../Function-v7/output.fp9-14.ruffle.txt | 24 +- .../Function-v8/output.fp13-18.ruffle.txt | 24 +- .../Function-v8/output.fp24.ruffle.txt | 24 +- .../Function-v8/output.fp9-14.ruffle.txt | 24 +- .../Inheritance-v5/output.ruffle.txt | 6 +- .../Inheritance-v6/output.ruffle.txt | 12 +- .../Inheritance-v7/output.ruffle.txt | 12 +- .../Inheritance-v8/output.ruffle.txt | 12 +- .../LocalConnection-v5/output.ruffle.txt | 7 - .../LocalConnection-v5/test.toml | 1 - .../MovieClip-v5/output.ruffle.txt | 6 +- .../MovieClip-v6/output.fp10-14.ruffle.txt | 6 +- .../MovieClip-v6/output.fp13-16-21.ruffle.txt | 6 +- .../MovieClip-v6/output.fp19.ruffle.txt | 6 +- .../MovieClip-v6/output.fp23.ruffle.txt | 6 +- .../MovieClip-v6/output.fp9.ruffle.txt | 6 +- .../MovieClip-v7/output.fp10-14.ruffle.txt | 6 +- .../MovieClip-v7/output.fp13-16-21.ruffle.txt | 6 +- .../MovieClip-v7/output.fp19.ruffle.txt | 6 +- .../MovieClip-v7/output.fp23.ruffle.txt | 6 +- .../MovieClip-v7/output.fp9.ruffle.txt | 6 +- .../MovieClip-v8/output.fp10-14.ruffle.txt | 6 +- .../MovieClip-v8/output.fp13-16-21.ruffle.txt | 6 +- .../MovieClip-v8/output.fp19.ruffle.txt | 6 +- .../MovieClip-v8/output.fp23.ruffle.txt | 6 +- .../MovieClip-v8/output.fp9.ruffle.txt | 6 +- .../NetConnection-v5/output.ruffle.txt | 7 - .../NetConnection-v5/test.toml | 1 - .../Number-v5/output.ruffle.txt | 244 ------------------ .../actionscript.all/Number-v5/test.toml | 1 - .../Number-v6/output.ruffle.txt | 239 ----------------- .../actionscript.all/Number-v6/test.toml | 1 - .../Number-v7/output.ruffle.txt | 237 ----------------- .../actionscript.all/Number-v7/test.toml | 1 - .../Number-v8/output.ruffle.txt | 237 ----------------- .../actionscript.all/Number-v8/test.toml | 1 - .../Object-v5/output.fp18-20.ruffle.txt | 8 +- .../Object-v5/output.fp9-19.ruffle.txt | 8 +- .../Object-v6/output.fp18-20.ruffle.txt | 16 +- .../Object-v6/output.fp9-19.ruffle.txt | 16 +- .../Object-v7/output.fp18-20.ruffle.txt | 16 +- .../Object-v7/output.fp9-19.ruffle.txt | 16 +- .../Object-v8/output.fp18-20.ruffle.txt | 16 +- .../Object-v8/output.fp9-19.ruffle.txt | 16 +- .../String-v5/output.ruffle.txt | 22 +- .../String-v6/output.ruffle.txt | 10 +- .../String-v7/output.ruffle.txt | 10 +- .../String-v8/output.ruffle.txt | 10 +- .../Video-v5/output.ruffle.txt | 7 - .../actionscript.all/Video-v5/test.toml | 1 - .../argstest-v6/output.fp10.ruffle.txt | 30 --- .../argstest-v6/output.fp11-14.ruffle.txt | 30 --- .../argstest-v6/output.fp13-18.ruffle.txt | 30 --- .../argstest-v6/output.fp32.ruffle.txt | 30 --- .../argstest-v6/output.fp9.ruffle.txt | 30 --- .../argstest-v7/output.fp10.ruffle.txt | 30 --- .../argstest-v7/output.fp11-14.ruffle.txt | 30 --- .../argstest-v7/output.fp13-18.ruffle.txt | 30 --- .../argstest-v7/output.fp32.ruffle.txt | 30 --- .../argstest-v7/output.fp9.ruffle.txt | 30 --- .../argstest-v8/output.fp11-14.ruffle.txt | 30 --- .../argstest-v8/output.fp13-18.ruffle.txt | 30 --- .../argstest-v8/output.fp32.ruffle.txt | 30 --- .../array-v5/output.ruffle.txt | 8 +- .../toString_valueOf-v5/output.ruffle.txt | 40 +-- 74 files changed, 313 insertions(+), 1688 deletions(-) delete mode 100644 tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/output.ruffle.txt delete mode 100644 tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/output.ruffle.txt delete mode 100644 tests/tests/swfs/from_gnash/actionscript.all/Number-v5/output.ruffle.txt delete mode 100644 tests/tests/swfs/from_gnash/actionscript.all/Number-v6/output.ruffle.txt delete mode 100644 tests/tests/swfs/from_gnash/actionscript.all/Number-v7/output.ruffle.txt delete mode 100644 tests/tests/swfs/from_gnash/actionscript.all/Number-v8/output.ruffle.txt delete mode 100644 tests/tests/swfs/from_gnash/actionscript.all/Video-v5/output.ruffle.txt diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp10.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp10.ruffle.txt index c1513e7c66ee..14c92c02b5e7 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp10.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp10.ruffle.txt @@ -5,7 +5,7 @@ PASSED: typeof(Date) == 'function' [./Date.as:29] PASSED: typeof(Date.prototype) == 'object' [./Date.as:30] PASSED: typeof(Date.prototype.__proto__) == 'object' [./Date.as:31] PASSED: Date.prototype.__proto__ == Object.prototype [./Date.as:32] -FAILED: expected: 'undefined' obtained: object [./Date.as:79] +PASSED: typeof(Date.__proto__) == 'undefined' [./Date.as:79] PASSED: Date.UTC(2000,0,1).valueOf() == 946684800000.0 [./Date.as:86] PASSED: d [./Date.as:91] PASSED: d.getDate [./Date.as:94] @@ -105,7 +105,7 @@ PASSED: d.getUTCSeconds() == 0 [./Date.as:253] PASSED: d.getUTCMilliseconds() == 0 [./Date.as:254] PASSED: d.getSeconds() == 0 [./Date.as:265] PASSED: d.getMilliseconds() == 0 [./Date.as:266] -FAILED: expected: Date.toString() obtained: [./Date.as:269] +PASSED: Date.toLocaleString() == Date.toString() [./Date.as:269] PASSED: d.valueOf() == 1 [./Date.as:274] PASSED: d.valueOf() == 0 [./Date.as:276] PASSED: d.valueOf() == 12345.0 [./Date.as:279] @@ -310,6 +310,6 @@ PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] -#passed: 300 -#failed: 7 +#passed: 302 +#failed: 5 #total tests run: 307 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp9.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp9.ruffle.txt index c1513e7c66ee..14c92c02b5e7 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp9.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Date-v5/output.fp9.ruffle.txt @@ -5,7 +5,7 @@ PASSED: typeof(Date) == 'function' [./Date.as:29] PASSED: typeof(Date.prototype) == 'object' [./Date.as:30] PASSED: typeof(Date.prototype.__proto__) == 'object' [./Date.as:31] PASSED: Date.prototype.__proto__ == Object.prototype [./Date.as:32] -FAILED: expected: 'undefined' obtained: object [./Date.as:79] +PASSED: typeof(Date.__proto__) == 'undefined' [./Date.as:79] PASSED: Date.UTC(2000,0,1).valueOf() == 946684800000.0 [./Date.as:86] PASSED: d [./Date.as:91] PASSED: d.getDate [./Date.as:94] @@ -105,7 +105,7 @@ PASSED: d.getUTCSeconds() == 0 [./Date.as:253] PASSED: d.getUTCMilliseconds() == 0 [./Date.as:254] PASSED: d.getSeconds() == 0 [./Date.as:265] PASSED: d.getMilliseconds() == 0 [./Date.as:266] -FAILED: expected: Date.toString() obtained: [./Date.as:269] +PASSED: Date.toLocaleString() == Date.toString() [./Date.as:269] PASSED: d.valueOf() == 1 [./Date.as:274] PASSED: d.valueOf() == 0 [./Date.as:276] PASSED: d.valueOf() == 12345.0 [./Date.as:279] @@ -310,6 +310,6 @@ PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] PASSED: o.valueOf().toString() == "NaN" [./Date.as:703] -#passed: 300 -#failed: 7 +#passed: 302 +#failed: 5 #total tests run: 307 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp13-18.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp13-18.ruffle.txt index c1b3af6e4a6f..30ca30ec7fe6 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp13-18.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp13-18.ruffle.txt @@ -2,16 +2,16 @@ SWF5 [Function.as debug-22403-05c7ba106] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] -FAILED: expected: undefined obtained: [type Function] [./Function.as:53] -FAILED: expected: null obtained: [type Function] [./Function.as:54] +PASSED: getThisName == undefined [./Function.as:53] +PASSED: getThisName == null [./Function.as:54] PASSED: getThisName != 0 [./Function.as:55] PASSED: getThisName != 1 [./Function.as:56] -FAILED: ! isNaN(getThisName) [./Function.as:57] +PASSED: ! isNaN(getThisName) [./Function.as:57] PASSED: getThisName != "" [./Function.as:58] PASSED: getThisName != "[type Function]" [./Function.as:59] PASSED: typeof(getThisName) == "function" [./Function.as:61] -FAILED: expected: 'undefined' obtained: function [./Function.as:150] -FAILED: expected: 'undefined' obtained: function [./Function.as:227] +PASSED: typeOf(getThisName.apply) == 'undefined' [./Function.as:150] +PASSED: typeOf(getThisName.call) == 'undefined' [./Function.as:227] PASSED: typeOf(TestClass) == 'function' [./Function.as:243] PASSED: typeOf(TestClass.prototype) == 'object' [./Function.as:256] PASSED: testInstance != undefined [./Function.as:265] @@ -23,7 +23,7 @@ PASSED: testInstance.__proto__ != undefined [./Function.as:275] PASSED: testInstance.__proto__ == TestClass.prototype [./Function.as:276] PASSED: testInstance instanceOf TestClass [./Function.as:277] PASSED: testInstance instanceOf Object [./Function.as:278] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -93,7 +93,7 @@ PASSED: argsCounter(a,b,c,d) == 4 [./Function.as:545] PASSED: argsCounter([a,b]) == 1 [./Function.as:546] PASSED: factorial(3) == 6 [./Function.as:551] PASSED: factorial(4) == 24 [./Function.as:552] -FAILED: expected: 'undefined' obtained: function [./Function.as:589] +PASSED: typeof(textOutFunc.toString) == 'undefined' [./Function.as:589] PASSED: textOutFunc.toString() == 'custom text rep' [./Function.as:595] PASSED: typeof(textOutFunc.toString()) == 'string' [./Function.as:596] custom text rep @@ -103,7 +103,7 @@ PASSED: typeof(a.constructor) == 'function' [./Function.as:614] PASSED: typeof(a.constructor) == 'function' [./Function.as:630] PASSED: typeof(a.constructor) == 'function' [./Function.as:646] PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:683] -FAILED: expected: undefined obtained: [type Function] [./Function.as:689] +PASSED: Email.constructor.toString() == undefined [./Function.as:689] PASSED: Function == undefined [./Function.as:690] PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] @@ -135,7 +135,7 @@ PASSED: delete o.sub.getThis [./Function.as:788] PASSED: typeof(ret) == 'object' [./Function.as:793] PASSED: getThis() == o [./Function.as:794] PASSED: typeof(ret) == 'object' [./Function.as:802] -FAILED: ret == testInFunctionContext [./Function.as:804] +PASSED: ret == testInFunctionContext [./Function.as:804] PASSED: ret != this [./Function.as:808] PASSED: typeof(ret) == 'object' [./Function.as:814] PASSED: ret == o [./Function.as:815] @@ -153,6 +153,6 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -#passed: 130 -#failed: 20 +#passed: 139 +#failed: 11 #total tests run: 150 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp9-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp9-14.ruffle.txt index c1b3af6e4a6f..30ca30ec7fe6 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp9-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v5/output.fp9-14.ruffle.txt @@ -2,16 +2,16 @@ SWF5 [Function.as debug-22403-05c7ba106] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] -FAILED: expected: undefined obtained: [type Function] [./Function.as:53] -FAILED: expected: null obtained: [type Function] [./Function.as:54] +PASSED: getThisName == undefined [./Function.as:53] +PASSED: getThisName == null [./Function.as:54] PASSED: getThisName != 0 [./Function.as:55] PASSED: getThisName != 1 [./Function.as:56] -FAILED: ! isNaN(getThisName) [./Function.as:57] +PASSED: ! isNaN(getThisName) [./Function.as:57] PASSED: getThisName != "" [./Function.as:58] PASSED: getThisName != "[type Function]" [./Function.as:59] PASSED: typeof(getThisName) == "function" [./Function.as:61] -FAILED: expected: 'undefined' obtained: function [./Function.as:150] -FAILED: expected: 'undefined' obtained: function [./Function.as:227] +PASSED: typeOf(getThisName.apply) == 'undefined' [./Function.as:150] +PASSED: typeOf(getThisName.call) == 'undefined' [./Function.as:227] PASSED: typeOf(TestClass) == 'function' [./Function.as:243] PASSED: typeOf(TestClass.prototype) == 'object' [./Function.as:256] PASSED: testInstance != undefined [./Function.as:265] @@ -23,7 +23,7 @@ PASSED: testInstance.__proto__ != undefined [./Function.as:275] PASSED: testInstance.__proto__ == TestClass.prototype [./Function.as:276] PASSED: testInstance instanceOf TestClass [./Function.as:277] PASSED: testInstance instanceOf Object [./Function.as:278] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -93,7 +93,7 @@ PASSED: argsCounter(a,b,c,d) == 4 [./Function.as:545] PASSED: argsCounter([a,b]) == 1 [./Function.as:546] PASSED: factorial(3) == 6 [./Function.as:551] PASSED: factorial(4) == 24 [./Function.as:552] -FAILED: expected: 'undefined' obtained: function [./Function.as:589] +PASSED: typeof(textOutFunc.toString) == 'undefined' [./Function.as:589] PASSED: textOutFunc.toString() == 'custom text rep' [./Function.as:595] PASSED: typeof(textOutFunc.toString()) == 'string' [./Function.as:596] custom text rep @@ -103,7 +103,7 @@ PASSED: typeof(a.constructor) == 'function' [./Function.as:614] PASSED: typeof(a.constructor) == 'function' [./Function.as:630] PASSED: typeof(a.constructor) == 'function' [./Function.as:646] PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:683] -FAILED: expected: undefined obtained: [type Function] [./Function.as:689] +PASSED: Email.constructor.toString() == undefined [./Function.as:689] PASSED: Function == undefined [./Function.as:690] PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] @@ -135,7 +135,7 @@ PASSED: delete o.sub.getThis [./Function.as:788] PASSED: typeof(ret) == 'object' [./Function.as:793] PASSED: getThis() == o [./Function.as:794] PASSED: typeof(ret) == 'object' [./Function.as:802] -FAILED: ret == testInFunctionContext [./Function.as:804] +PASSED: ret == testInFunctionContext [./Function.as:804] PASSED: ret != this [./Function.as:808] PASSED: typeof(ret) == 'object' [./Function.as:814] PASSED: ret == o [./Function.as:815] @@ -153,6 +153,6 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -#passed: 130 -#failed: 20 +#passed: 139 +#failed: 11 #total tests run: 150 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp13-18.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp13-18.ruffle.txt index ef2e5d896d5b..4442bbadb5a4 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp13-18.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp13-18.ruffle.txt @@ -2,7 +2,7 @@ SWF6 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -72,8 +72,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -185,12 +185,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -243,7 +243,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -266,6 +266,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 234 -#failed: 29 +#passed: 244 +#failed: 19 #total tests run: 263 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp24.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp24.ruffle.txt index ef2e5d896d5b..4442bbadb5a4 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp24.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp24.ruffle.txt @@ -2,7 +2,7 @@ SWF6 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -72,8 +72,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -185,12 +185,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -243,7 +243,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -266,6 +266,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 234 -#failed: 29 +#passed: 244 +#failed: 19 #total tests run: 263 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp9-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp9-14.ruffle.txt index ef2e5d896d5b..4442bbadb5a4 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp9-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v6/output.fp9-14.ruffle.txt @@ -2,7 +2,7 @@ SWF6 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -72,8 +72,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -185,12 +185,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -243,7 +243,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -266,6 +266,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 234 -#failed: 29 +#passed: 244 +#failed: 19 #total tests run: 263 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp13-18.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp13-18.ruffle.txt index f62a49bbf7f0..f00c8b5c344a 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp13-18.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp13-18.ruffle.txt @@ -2,7 +2,7 @@ SWF7 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -73,8 +73,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -186,12 +186,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -244,7 +244,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -267,6 +267,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 235 -#failed: 29 +#passed: 245 +#failed: 19 #total tests run: 264 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp24.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp24.ruffle.txt index f62a49bbf7f0..f00c8b5c344a 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp24.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp24.ruffle.txt @@ -2,7 +2,7 @@ SWF7 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -73,8 +73,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -186,12 +186,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -244,7 +244,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -267,6 +267,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 235 -#failed: 29 +#passed: 245 +#failed: 19 #total tests run: 264 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp9-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp9-14.ruffle.txt index f62a49bbf7f0..f00c8b5c344a 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp9-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v7/output.fp9-14.ruffle.txt @@ -2,7 +2,7 @@ SWF7 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -73,8 +73,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -186,12 +186,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -244,7 +244,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -267,6 +267,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 235 -#failed: 29 +#passed: 245 +#failed: 19 #total tests run: 264 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp13-18.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp13-18.ruffle.txt index c44720652450..6a51bac27b99 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp13-18.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp13-18.ruffle.txt @@ -2,7 +2,7 @@ SWF8 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -73,8 +73,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -186,12 +186,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -244,7 +244,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -267,6 +267,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 235 -#failed: 29 +#passed: 245 +#failed: 19 #total tests run: 264 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp24.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp24.ruffle.txt index c44720652450..6a51bac27b99 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp24.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp24.ruffle.txt @@ -2,7 +2,7 @@ SWF8 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -73,8 +73,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -186,12 +186,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -244,7 +244,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -267,6 +267,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 235 -#failed: 29 +#passed: 245 +#failed: 19 #total tests run: 264 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp9-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp9-14.ruffle.txt index c44720652450..6a51bac27b99 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp9-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Function-v8/output.fp9-14.ruffle.txt @@ -2,7 +2,7 @@ SWF8 [Function.as debug-22403-05c7ba106] PASSED: Function.prototype.__proto__ == Object.prototype [./Function.as:30] -FAILED: expected: Function obtained: [type Function] [./Function.as:31] +PASSED: Function.constructor == Function [./Function.as:31] PASSED: ! Function.hasOwnProperty('__constructor__') [./Function.as:32] PASSED: getThisName.prototype.__proto__ == Object.prototype [./Function.as:47] PASSED: getThisName != undefined [./Function.as:50] @@ -73,8 +73,8 @@ PASSED: TestClass.__proto__ == Function.prototype [./Function.as:283] PASSED: testInstance.addProperty == Object.prototype.addProperty [./Function.as:284] PASSED: t == 7 [./Function.as:287] PASSED: Function instanceOf Object [./Function.as:288] -FAILED: TestClass.hasOwnProperty('constructor') [./Function.as:289] -FAILED: expected: Function obtained: [type Function] [./Function.as:292] +PASSED: TestClass.hasOwnProperty('constructor') [./Function.as:289] +PASSED: TestClass.constructor == Function [./Function.as:292] PASSED: typeOf(TestClass.prototype.constructor) == 'function' [./Function.as:293] PASSED: TestClass.prototype.constructor == TestClass [./Function.as:295] PASSED: testInstance.__proto__.constructor == TestClass [./Function.as:296] @@ -186,12 +186,12 @@ PASSED: typeof(Email.prototype.__constructor__) == 'undefined' [./Function.as:68 PASSED: typeof(Email.constructor) == 'function' [./Function.as:692] PASSED: typeof(Email.constructor.constructor) == 'function' [./Function.as:693] PASSED: typeof(Email.constructor.constructor.constructor) == 'function' [./Function.as:694] -FAILED: expected: Function obtained: [type Function] [./Function.as:696] -FAILED: expected: Function obtained: [type Function] [./Function.as:697] -FAILED: expected: Function obtained: [type Function] [./Function.as:698] -FAILED: Email.hasOwnProperty('constructor') [./Function.as:700] -FAILED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] -FAILED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] +PASSED: Email.constructor == Function [./Function.as:696] +PASSED: Email.constructor.constructor == Function [./Function.as:697] +PASSED: Email.constructor.constructor.constructor == Function [./Function.as:698] +PASSED: Email.hasOwnProperty('constructor') [./Function.as:700] +PASSED: Email.constructor.hasOwnProperty('constructor') [./Function.as:701] +PASSED: Email.constructor.constructor.hasOwnProperty('constructor') [./Function.as:702] PASSED: typeof(Email.__constructor__) == 'undefined' [./Function.as:707] PASSED: ! Email.hasOwnProperty('__constructor__') [./Function.as:708] PASSED: typeof(Email.prototype.constructor) == 'function' [./Function.as:712] @@ -244,7 +244,7 @@ PASSED: testvar2 == 8 [./Function.as:1016] PASSED: testvar3 == 7 [./Function.as:1017] PASSED: a.count == 2 [./Function.as:1032] PASSED: b.count == 1 [./Function.as:1033] -FAILED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] +PASSED: _global.Function.prototype.constructor === _global.Function [./Function.as:1040] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1043] FAILED: f.__proto__ === backup [./Function.as:1049] FAILED: f.__proto__ === _global.Function.prototype [./Function.as:1053] @@ -267,6 +267,6 @@ FAILED: expected: "function" obtained: undefined [./Function.as:1118] FAILED: f.hasOwnProperty("__proto__") [./Function.as:1120] FAILED: f.hasOwnProperty("constructor") [./Function.as:1121] PASSED: called == 0 [./Function.as:1123] -#passed: 235 -#failed: 29 +#passed: 245 +#failed: 19 #total tests run: 264 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v5/output.ruffle.txt index 9458cddbc042..1209a40e2ce1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v5/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v5/output.ruffle.txt @@ -12,7 +12,7 @@ PASSED: functionObject.__proto__.constructor == Function [./Inheritance.as:58] PASSED: functionObject.prototype == undefined [./Inheritance.as:70] PASSED: userFunc.prototype.constructor == userFunc [./Inheritance.as:82] PASSED: userFunc.prototype.apply == undefined [./Inheritance.as:83] -FAILED: expected: Function.prototype.apply obtained: [type Function] [./Inheritance.as:84] +PASSED: userFunc.apply == Function.prototype.apply [./Inheritance.as:84] PASSED: Ball.prototype.constructor == Ball [./Inheritance.as:98] PASSED: myBall.gravity == 9.8 [./Inheritance.as:106] PASSED: myBall.radius == 3 [./Inheritance.as:107] @@ -107,8 +107,8 @@ PASSED: ! ob instanceof A [./Inheritance.as:550] FAILED: ob instanceof A [./Inheritance.as:552] PASSED: ! ob instanceof C [./Inheritance.as:558] FAILED: ob instanceof C [./Inheritance.as:560] -#passed: 92 -#failed: 14 +#passed: 93 +#failed: 13 #total tests run: 106 Now your flash player will try to answer the egg/chicken question. Kill it if it hangs your machine diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v6/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v6/output.ruffle.txt index a1ea64a5ae86..ff12bf04ebce 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v6/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v6/output.ruffle.txt @@ -11,7 +11,7 @@ PASSED: typeof(functionObject) == 'object' [./Inheritance.as:47] PASSED: functionObject.hasOwnProperty('__constructor__') [./Inheritance.as:48] PASSED: functionObject.__constructor__ == Function [./Inheritance.as:49] PASSED: functionObject.__proto__ == Function.prototype [./Inheritance.as:57] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:58] +PASSED: functionObject.__proto__.constructor == Function [./Inheritance.as:58] PASSED: functionObject.apply != undefined [./Inheritance.as:62] PASSED: functionObject.apply == Function.prototype.apply [./Inheritance.as:63] PASSED: functionObject.apply == functionObject.__proto__.apply [./Inheritance.as:64] @@ -101,7 +101,7 @@ PASSED: sobj1 instanceOf Object [./Inheritance.as:369] PASSED: sobj1 instanceOf SubObj1 [./Inheritance.as:370] PASSED: SubObj1.prototype != undefined [./Inheritance.as:372] PASSED: SubObj1.prototype.constructor == SubObj1 [./Inheritance.as:373] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:376] +PASSED: SubObj1.prototype.constructor.__proto__.constructor == Function [./Inheritance.as:376] PASSED: typeof(DerivedClass1.prototype.__constructor__) == 'function' [./Inheritance.as:400] PASSED: DerivedClass1.prototype.hasOwnProperty('__constructor__') [./Inheritance.as:401] PASSED: DerivedClass1.prototype.__constructor__ == BaseClass1 [./Inheritance.as:402] @@ -117,8 +117,8 @@ PASSED: DerivedClass1.var3 == undefined [./Inheritance.as:417] PASSED: ! DerivedClass1.prototype.hasOwnProperty('toString') [./Inheritance.as:418] PASSED: ! DerivedClass1.prototype.hasOwnProperty('valueOf') [./Inheritance.as:419] FAILED: ! DerivedClass1.prototype.hasOwnProperty('constructor') [./Inheritance.as:420] -FAILED: DerivedClass1.hasOwnProperty('constructor') [./Inheritance.as:421] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:422] +PASSED: DerivedClass1.hasOwnProperty('constructor') [./Inheritance.as:421] +PASSED: DerivedClass1.constructor == Function [./Inheritance.as:422] PASSED: DerivedClass1.prototype.__proto__.constructor == BaseClass1 [./Inheritance.as:425] PASSED: DerivedClass1.prototype.__proto__ == BaseClass1.prototype [./Inheritance.as:426] PASSED: obj.derivedClassCtorCalled == 1 [./Inheritance.as:430] @@ -174,8 +174,8 @@ PASSED: this.a == 4 [./Inheritance.as:598] PASSED: this.b == "string" [./Inheritance.as:599] PASSED: super.vv == undefined [./Inheritance.as:602] PASSED: super.gg == "moo" [./Inheritance.as:603] -#passed: 160 -#failed: 13 +#passed: 164 +#failed: 9 #total tests run: 173 Now your flash player will try to answer the egg/chicken question. Kill it if it hangs your machine diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v7/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v7/output.ruffle.txt index d44cdd0cdd81..dd3e37886a6d 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v7/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v7/output.ruffle.txt @@ -11,7 +11,7 @@ PASSED: typeof(functionObject) == 'object' [./Inheritance.as:47] PASSED: functionObject.hasOwnProperty('__constructor__') [./Inheritance.as:48] PASSED: functionObject.__constructor__ == Function [./Inheritance.as:49] PASSED: functionObject.__proto__ == Function.prototype [./Inheritance.as:57] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:58] +PASSED: functionObject.__proto__.constructor == Function [./Inheritance.as:58] PASSED: functionObject.apply != undefined [./Inheritance.as:62] PASSED: functionObject.apply == Function.prototype.apply [./Inheritance.as:63] PASSED: functionObject.apply == functionObject.__proto__.apply [./Inheritance.as:64] @@ -101,7 +101,7 @@ PASSED: sobj1 instanceOf Object [./Inheritance.as:369] PASSED: sobj1 instanceOf SubObj1 [./Inheritance.as:370] PASSED: SubObj1.prototype != undefined [./Inheritance.as:372] PASSED: SubObj1.prototype.constructor == SubObj1 [./Inheritance.as:373] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:376] +PASSED: SubObj1.prototype.constructor.__proto__.constructor == Function [./Inheritance.as:376] PASSED: typeof(DerivedClass1.prototype.__constructor__) == 'function' [./Inheritance.as:400] PASSED: DerivedClass1.prototype.hasOwnProperty('__constructor__') [./Inheritance.as:401] PASSED: DerivedClass1.prototype.__constructor__ == BaseClass1 [./Inheritance.as:402] @@ -117,8 +117,8 @@ PASSED: DerivedClass1.var3 == undefined [./Inheritance.as:417] PASSED: ! DerivedClass1.prototype.hasOwnProperty('toString') [./Inheritance.as:418] PASSED: ! DerivedClass1.prototype.hasOwnProperty('valueOf') [./Inheritance.as:419] FAILED: ! DerivedClass1.prototype.hasOwnProperty('constructor') [./Inheritance.as:420] -FAILED: DerivedClass1.hasOwnProperty('constructor') [./Inheritance.as:421] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:422] +PASSED: DerivedClass1.hasOwnProperty('constructor') [./Inheritance.as:421] +PASSED: DerivedClass1.constructor == Function [./Inheritance.as:422] PASSED: DerivedClass1.prototype.__proto__.constructor == BaseClass1 [./Inheritance.as:425] PASSED: DerivedClass1.prototype.__proto__ == BaseClass1.prototype [./Inheritance.as:426] PASSED: obj.derivedClassCtorCalled == 1 [./Inheritance.as:430] @@ -174,8 +174,8 @@ PASSED: this.a == 4 [./Inheritance.as:598] PASSED: this.b == "string" [./Inheritance.as:599] PASSED: super.vv == undefined [./Inheritance.as:602] PASSED: super.gg == "moo" [./Inheritance.as:603] -#passed: 166 -#failed: 7 +#passed: 170 +#failed: 3 #total tests run: 173 Now your flash player will try to answer the egg/chicken question. Kill it if it hangs your machine diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v8/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v8/output.ruffle.txt index 719de561d362..3c7c70ea00dc 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v8/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Inheritance-v8/output.ruffle.txt @@ -11,7 +11,7 @@ PASSED: typeof(functionObject) == 'object' [./Inheritance.as:47] PASSED: functionObject.hasOwnProperty('__constructor__') [./Inheritance.as:48] PASSED: functionObject.__constructor__ == Function [./Inheritance.as:49] PASSED: functionObject.__proto__ == Function.prototype [./Inheritance.as:57] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:58] +PASSED: functionObject.__proto__.constructor == Function [./Inheritance.as:58] PASSED: functionObject.apply != undefined [./Inheritance.as:62] PASSED: functionObject.apply == Function.prototype.apply [./Inheritance.as:63] PASSED: functionObject.apply == functionObject.__proto__.apply [./Inheritance.as:64] @@ -101,7 +101,7 @@ PASSED: sobj1 instanceOf Object [./Inheritance.as:369] PASSED: sobj1 instanceOf SubObj1 [./Inheritance.as:370] PASSED: SubObj1.prototype != undefined [./Inheritance.as:372] PASSED: SubObj1.prototype.constructor == SubObj1 [./Inheritance.as:373] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:376] +PASSED: SubObj1.prototype.constructor.__proto__.constructor == Function [./Inheritance.as:376] PASSED: typeof(DerivedClass1.prototype.__constructor__) == 'function' [./Inheritance.as:400] PASSED: DerivedClass1.prototype.hasOwnProperty('__constructor__') [./Inheritance.as:401] PASSED: DerivedClass1.prototype.__constructor__ == BaseClass1 [./Inheritance.as:402] @@ -117,8 +117,8 @@ PASSED: DerivedClass1.var3 == undefined [./Inheritance.as:417] PASSED: ! DerivedClass1.prototype.hasOwnProperty('toString') [./Inheritance.as:418] PASSED: ! DerivedClass1.prototype.hasOwnProperty('valueOf') [./Inheritance.as:419] FAILED: ! DerivedClass1.prototype.hasOwnProperty('constructor') [./Inheritance.as:420] -FAILED: DerivedClass1.hasOwnProperty('constructor') [./Inheritance.as:421] -FAILED: expected: Function obtained: [type Function] [./Inheritance.as:422] +PASSED: DerivedClass1.hasOwnProperty('constructor') [./Inheritance.as:421] +PASSED: DerivedClass1.constructor == Function [./Inheritance.as:422] PASSED: DerivedClass1.prototype.__proto__.constructor == BaseClass1 [./Inheritance.as:425] PASSED: DerivedClass1.prototype.__proto__ == BaseClass1.prototype [./Inheritance.as:426] PASSED: obj.derivedClassCtorCalled == 1 [./Inheritance.as:430] @@ -174,8 +174,8 @@ PASSED: this.a == 4 [./Inheritance.as:598] PASSED: this.b == "string" [./Inheritance.as:599] PASSED: super.vv == undefined [./Inheritance.as:602] PASSED: super.gg == "moo" [./Inheritance.as:603] -#passed: 166 -#failed: 7 +#passed: 170 +#failed: 3 #total tests run: 173 Now your flash player will try to answer the egg/chicken question. Kill it if it hangs your machine diff --git a/tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/output.ruffle.txt deleted file mode 100644 index bbeea1705232..000000000000 --- a/tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/output.ruffle.txt +++ /dev/null @@ -1,7 +0,0 @@ -SWF5 - -[LocalConnection.as debug-22403-05c7ba106] -FAILED: expected: undefined obtained: [type Function] [./LocalConnection.as:34] -#passed: 0 -#failed: 1 -#total tests run: 1 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/test.toml b/tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/test.toml index 11e963f5a927..f4f16330e8b1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/test.toml +++ b/tests/tests/swfs/from_gnash/actionscript.all/LocalConnection-v5/test.toml @@ -1,2 +1 @@ num_frames = 30 -known_failure = true diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v5/output.ruffle.txt index 3c24f31210fc..fb477067ab31 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v5/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v5/output.ruffle.txt @@ -94,7 +94,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: typeof(mc.valueOf) == 'function' [./MovieClip.as:196] PASSED: typeof(mc.toString) == 'function' [./MovieClip.as:197] PASSED: typeof(mc.valueOf()) == 'movieclip' [./MovieClip.as:199] @@ -359,6 +359,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'undefined' obtained: string [./MovieClip.as:2212] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 313 -#failed: 42 +#passed: 314 +#failed: 41 #total tests run: 355 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp10-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp10-14.ruffle.txt index 9a41f9a256c7..a0c775d9119d 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp10-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp10-14.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -931,6 +931,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 865 -#failed: 62 +#passed: 866 +#failed: 61 #total tests run: 927 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp13-16-21.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp13-16-21.ruffle.txt index 9a41f9a256c7..a0c775d9119d 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp13-16-21.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp13-16-21.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -931,6 +931,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 865 -#failed: 62 +#passed: 866 +#failed: 61 #total tests run: 927 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp19.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp19.ruffle.txt index 9a41f9a256c7..a0c775d9119d 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp19.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp19.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -931,6 +931,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 865 -#failed: 62 +#passed: 866 +#failed: 61 #total tests run: 927 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp23.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp23.ruffle.txt index 9a41f9a256c7..a0c775d9119d 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp23.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp23.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -931,6 +931,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 865 -#failed: 62 +#passed: 866 +#failed: 61 #total tests run: 927 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp9.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp9.ruffle.txt index 9a41f9a256c7..a0c775d9119d 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp9.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v6/output.fp9.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -931,6 +931,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 865 -#failed: 62 +#passed: 866 +#failed: 61 #total tests run: 927 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp10-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp10-14.ruffle.txt index d3b3ae63c062..ffbbc969b648 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp10-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp10-14.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -964,6 +964,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 894 -#failed: 66 +#passed: 895 +#failed: 65 #total tests run: 960 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp13-16-21.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp13-16-21.ruffle.txt index d3b3ae63c062..ffbbc969b648 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp13-16-21.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp13-16-21.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -964,6 +964,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 894 -#failed: 66 +#passed: 895 +#failed: 65 #total tests run: 960 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp19.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp19.ruffle.txt index d3b3ae63c062..ffbbc969b648 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp19.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp19.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -964,6 +964,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 894 -#failed: 66 +#passed: 895 +#failed: 65 #total tests run: 960 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp23.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp23.ruffle.txt index d3b3ae63c062..ffbbc969b648 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp23.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp23.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -964,6 +964,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 894 -#failed: 66 +#passed: 895 +#failed: 65 #total tests run: 960 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp9.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp9.ruffle.txt index d3b3ae63c062..ffbbc969b648 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp9.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v7/output.fp9.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -964,6 +964,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 894 -#failed: 66 +#passed: 895 +#failed: 65 #total tests run: 960 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp10-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp10-14.ruffle.txt index 6235d01c4f76..a83a4c272fe5 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp10-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp10-14.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -1082,6 +1082,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 994 -#failed: 83 +#passed: 995 +#failed: 82 #total tests run: 1077 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp13-16-21.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp13-16-21.ruffle.txt index 6235d01c4f76..a83a4c272fe5 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp13-16-21.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp13-16-21.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -1082,6 +1082,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 994 -#failed: 83 +#passed: 995 +#failed: 82 #total tests run: 1077 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp19.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp19.ruffle.txt index 6235d01c4f76..a83a4c272fe5 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp19.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp19.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -1082,6 +1082,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 994 -#failed: 83 +#passed: 995 +#failed: 82 #total tests run: 1077 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp23.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp23.ruffle.txt index 6235d01c4f76..a83a4c272fe5 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp23.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp23.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -1082,6 +1082,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 994 -#failed: 83 +#passed: 995 +#failed: 82 #total tests run: 1077 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp9.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp9.ruffle.txt index 6235d01c4f76..a83a4c272fe5 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp9.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/MovieClip-v8/output.fp9.ruffle.txt @@ -98,7 +98,7 @@ PASSED: typeof(mc.unloadMovie) == 'function' [./MovieClip.as:181] FAILED: expected: 'function' obtained: undefined [./MovieClip.as:182] PASSED: typeof(mc.getSWFVersion) == 'function' [./MovieClip.as:183] PASSED: mc.getSWFVersion() == OUTPUT_VERSION [./MovieClip.as:184] -FAILED: expected: Function obtained: [type Function] [./MovieClip.as:185] +PASSED: MovieClip.constructor == Function [./MovieClip.as:185] PASSED: MovieClip.prototype.hasOwnProperty('loadMovie') [./MovieClip.as:188] PASSED: MovieClip.prototype.hasOwnProperty('_lockroot') [./MovieClip.as:189] PASSED: !MovieClip.prototype.hasOwnProperty('loadMovieNum') [./MovieClip.as:190] @@ -1082,6 +1082,6 @@ PASSED: arguments.length == 0 [./MovieClip.as:2207] FAILED: expected: 'val1' obtained: undefined [./MovieClip.as:2209] PASSED: _root.var2 == 'val2' [./MovieClip.as:2214] PASSED: _root.var3 == 'val3\n' [./MovieClip.as:2215] -#passed: 994 -#failed: 83 +#passed: 995 +#failed: 82 #total tests run: 1077 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/output.ruffle.txt deleted file mode 100644 index 666514dddf9c..000000000000 --- a/tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/output.ruffle.txt +++ /dev/null @@ -1,7 +0,0 @@ -SWF5 - -[NetConnection.as debug-22403-05c7ba106] -FAILED: expected: undefined obtained: [type Function] [./NetConnection.as:30] -#passed: 0 -#failed: 1 -#total tests run: 1 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/test.toml b/tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/test.toml index 11e963f5a927..f4f16330e8b1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/test.toml +++ b/tests/tests/swfs/from_gnash/actionscript.all/NetConnection-v5/test.toml @@ -1,2 +1 @@ num_frames = 30 -known_failure = true diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Number-v5/output.ruffle.txt deleted file mode 100644 index a4722937f6fc..000000000000 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v5/output.ruffle.txt +++ /dev/null @@ -1,244 +0,0 @@ -SWF5 - -[Number.as debug-22403-05c7ba106] -PASSED: Number.hasOwnProperty('MAX_VALUE') [./Number.as:37] -PASSED: typeof(Number.MAX_VALUE) == "number" [./Number.as:38] -PASSED: Number.MAX_VALUE.toString() == "1.79769313486231e+308" [./Number.as:41] -PASSED: Number.hasOwnProperty('MIN_VALUE') [./Number.as:43] -PASSED: typeof(Number.MIN_VALUE) == "number" [./Number.as:44] -PASSED: Number.MIN_VALUE.toString() == "4.94065645841247e-324" [./Number.as:45] -PASSED: Number.hasOwnProperty('NEGATIVE_INFINITY') [./Number.as:47] -PASSED: Number.NEGATIVE_INFINITY == -Infinity [./Number.as:48] -PASSED: Number.hasOwnProperty('NaN') [./Number.as:50] -PASSED: Number.NaN == NaN [./Number.as:51] -PASSED: Number.hasOwnProperty('POSITIVE_INFINITY') [./Number.as:53] -PASSED: Number.POSITIVE_INFINITY == Infinity [./Number.as:54] -PASSED: typeof(n1) == 'object' [./Number.as:57] -PASSED: typeof(n1prim) == 'number' [./Number.as:59] -PASSED: n1 == n1prim [./Number.as:62] -PASSED: n1 == 268 [./Number.as:72] -PASSED: 268 == n1 [./Number.as:73] -PASSED: typeof(n1.toString) == "function" [./Number.as:79] -PASSED: typeof(n1.toString()) == "string" [./Number.as:80] -PASSED: n1.toString() == "268" [./Number.as:81] -PASSED: n1.toString() == "268" [./Number.as:85] -PASSED: tmp.toString(2) == '1010' [./Number.as:93] -PASSED: tmp.toString(2) == '110' [./Number.as:95] -PASSED: tmp.toString(3) == '20' [./Number.as:96] -PASSED: tmp.toString(8) == '6' [./Number.as:97] -PASSED: tmp.toString(-2) == '6' [./Number.as:98] -PASSED: tmp.toString(0) == '6' [./Number.as:99] -PASSED: tmp.toString(5) == '11' [./Number.as:100] -PASSED: tmp.toString(2) == '-101' [./Number.as:102] -PASSED: tmp.toString(16) == '-5' [./Number.as:103] -PASSED: tmp.toString(16) == '-b' [./Number.as:105] -PASSED: typeof(n1.valueOf) == "function" [./Number.as:111] -PASSED: typeof(n1.__proto__.valueOf) == "function" [./Number.as:112] -PASSED: typeof(n1.__proto__.__proto__.valueOf) == "function" [./Number.as:113] -PASSED: typeof(n1.valueOf()) == "number" [./Number.as:114] -PASSED: n1.valueOf() == 268 [./Number.as:115] -PASSED: n1.valueOf() == 268 [./Number.as:124] -PASSED: n1.valueOf() == "fake_value" [./Number.as:129] -PASSED: -268 == n1 [./Number.as:134] -PASSED: n1.toString() == "-268" [./Number.as:135] -PASSED: typeof(NaN) == 'number' [./Number.as:141] -PASSED: typeof(isNaN) == 'function' [./Number.as:142] -PASSED: typeof(isNaN(NaN)) == 'boolean' [./Number.as:143] -PASSED: NaN == NaN [./Number.as:144] -PASSED: (0/2) == (0/5) [./Number.as:145] -PASSED: ! (NaN != NaN) [./Number.as:146] -PASSED: isNaN(NaN) [./Number.as:147] -PASSED: typeof(isNaN(0/0)) == 'boolean' [./Number.as:148] -PASSED: isNaN(0/0) [./Number.as:149] -PASSED: typeof(_global) == 'undefined' [./Number.as:157] -PASSED: typeof(Object) == 'function' [./Number.as:158] -PASSED: typeof(Object.prototype) == 'object' [./Number.as:159] -PASSED: typeof(Object.prototype.NaN) == 'undefined' [./Number.as:160] -PASSED: ! isNaN(undefined) [./Number.as:168] -PASSED: ! isNaN(null) [./Number.as:169] -PASSED: ! isNaN(Object.prototype.NaN) [./Number.as:170] -PASSED: ! Object.hasOwnProperty('NaN') [./Number.as:173] -PASSED: ! Object.prototype.hasOwnProperty('NaN') [./Number.as:174] -PASSED: ! this.__proto__.hasOwnProperty('NaN') [./Number.as:175] -PASSED: typeof(Infinity) == 'number' [./Number.as:181] -PASSED: typeof(isFinite) == 'function' [./Number.as:182] -PASSED: typeof(isFinite(Infinity)) == 'boolean' [./Number.as:183] -PASSED: Infinity == Infinity [./Number.as:184] -PASSED: ! isFinite(Infinity) [./Number.as:185] -PASSED: typeof(isFinite(0/0)) == 'boolean' [./Number.as:186] -PASSED: ! isFinite(0/0) [./Number.as:187] -PASSED: typeof(_global) == 'undefined' [./Number.as:195] -PASSED: typeof(Object) == 'function' [./Number.as:196] -PASSED: typeof(Object.prototype) == 'object' [./Number.as:197] -PASSED: typeof(Object.prototype.Infinity) == 'undefined' [./Number.as:198] -PASSED: isFinite(undefined) [./Number.as:206] -PASSED: isFinite(null) [./Number.as:207] -PASSED: isFinite(Object.prototype.NaN) [./Number.as:208] -PASSED: ! Object.hasOwnProperty('Infinity') [./Number.as:211] -PASSED: ! Object.prototype.hasOwnProperty('Infinity') [./Number.as:212] -PASSED: ! this.__proto__.hasOwnProperty('Infinity') [./Number.as:213] -PASSED: isNaN(0+this) [./Number.as:219] -PASSED: isNaN(this) [./Number.as:220] -PASSED: isNaN(this) [./Number.as:222] -PASSED: isNaN(o) [./Number.as:224] -PASSED: isNaN(0+o) [./Number.as:225] -PASSED: 0+o == 3 [./Number.as:227] -PASSED: 0+"string" == "0string" [./Number.as:228] -FAILED: !isNaN(2+Number) [./Number.as:231] -PASSED: !isNaN(2/undefined) [./Number.as:242] -PASSED: !isNaN(undefined/2) [./Number.as:243] -PASSED: isFinite(undefined/2) [./Number.as:244] -PASSED: 2/undefined == Infinity [./Number.as:245] -PASSED: !isFinite(Infinity) [./Number.as:248] -PASSED: !isFinite(2/undefined) [./Number.as:249] -PASSED: typeof(("string"<7)) == 'undefined' [./Number.as:251] -PASSED: typeof((7<"string")) == 'undefined' [./Number.as:252] -PASSED: typeof(("18"<7)) == 'boolean' [./Number.as:253] -PASSED: typeof((7<"18")) == 'boolean' [./Number.as:254] -PASSED: ("18"<"7") == true [./Number.as:255] -PASSED: ("18"<7) == false [./Number.as:256] -PASSED: (7<"18") == true [./Number.as:257] -PASSED: typeof(_root<"18") == 'undefined' [./Number.as:258] -PASSED: typeof(undefined<7) == 'boolean' [./Number.as:278] -PASSED: typeof(undefined>7) == 'boolean' [./Number.as:279] -PASSED: typeof(undefined<-7) == 'boolean' [./Number.as:280] -PASSED: typeof(undefined>-7) == 'boolean' [./Number.as:281] -PASSED: typeof(7undefined) == 'boolean' [./Number.as:283] -PASSED: typeof(-7undefined) == 'boolean' [./Number.as:285] -PASSED: (undefined<7) == true [./Number.as:287] -PASSED: (undefined>7) == false [./Number.as:288] -PASSED: (undefined<-7) == false [./Number.as:289] -PASSED: (undefined>-7) == true [./Number.as:290] -PASSED: (7undefined) == true [./Number.as:292] -PASSED: (-7undefined) == false [./Number.as:294] -PASSED: '0' + -1 == '0-1' [./Number.as:298] -PASSED: '00' == 0 [./Number.as:301] -PASSED: "0xFF0000" != 0xFF0000 [./Number.as:312] -PASSED: "0XFF0000" != 0xFF0000 [./Number.as:313] -PASSED: isNaN("0xff000z") [./Number.as:316] -PASSED: typeof(Number.prototype.valueOf) == 'function' [./Number.as:318] -PASSED: typeof(Number.prototype.toString) == 'function' [./Number.as:319] -FAILED: !isNaN(Number.valueOf()) [./Number.as:323] -PASSED: typeof(Number) == 'function' [./Number.as:326] -PASSED: Number.hasOwnProperty('prototype') [./Number.as:327] -PASSED: Number.hasOwnProperty('__proto__') [./Number.as:328] -FAILED: Number.hasOwnProperty('constructor') [./Number.as:329] -PASSED: typeof(Number.prototype) == 'object' [./Number.as:330] -FAILED: expected: Object obtained: [./Number.as:332] -PASSED: Number.prototype == Function [./Number.as:333] -FAILED: expected: Object.__proto__ obtained: [./Number.as:334] -PASSED: Number.prototype == null [./Number.as:335] -PASSED: Number.prototype == undefined [./Number.as:336] -PASSED: Number.prototype != 0 [./Number.as:337] -PASSED: Number.prototype != "string" [./Number.as:338] -FAILED: expected: 'undefined' obtained: function [./Number.as:345] -FAILED: expected: 'undefined' obtained: function [./Number.as:346] -FAILED: expected: 'undefined' obtained: object [./Number.as:347] -PASSED: typeof(Number.__proto__) == 'object' [./Number.as:352] -PASSED: Number.prototype.__proto__ == Object.prototype [./Number.as:353] -PASSED: typeof(Number.toString) == 'function' [./Number.as:355] -PASSED: typeof(Number.valueOf) == 'function' [./Number.as:356] -PASSED: !Number.hasOwnProperty('valueOf') [./Number.as:357] -PASSED: !Number.hasOwnProperty('toString') [./Number.as:358] -PASSED: !Number.__proto__.hasOwnProperty('valueOf') [./Number.as:359] -PASSED: !Number.__proto__.hasOwnProperty('toString') [./Number.as:360] -PASSED: Number.__proto__.__proto__ == Object.prototype [./Number.as:361] -PASSED: typeof(Number.valueOf()) == 'function' [./Number.as:363] -PASSED: typeof(a.toString) == 'function' [./Number.as:366] -PASSED: typeof(a.valueOf) == 'function' [./Number.as:367] -PASSED: !a.hasOwnProperty('valueOf') [./Number.as:368] -PASSED: a.__proto__.hasOwnProperty('valueOf') [./Number.as:374] -PASSED: !a.hasOwnProperty('toString') [./Number.as:375] -PASSED: typeof(anum.toString) == 'function' [./Number.as:379] -PASSED: typeof(anum.valueOf) == 'function' [./Number.as:380] -PASSED: !anum.hasOwnProperty('valueOf') [./Number.as:381] -PASSED: anum.__proto__.hasOwnProperty('valueOf') [./Number.as:382] -PASSED: !anum.hasOwnProperty('toString') [./Number.as:383] -PASSED: val == 4 [./Number.as:393] -PASSED: val == 0 [./Number.as:397] -PASSED: !isNaN(val) [./Number.as:398] -PASSED: val == 0 [./Number.as:405] -PASSED: !isNaN(val) [./Number.as:406] -PASSED: val == 10 [./Number.as:412] -PASSED: val == 300 [./Number.as:415] -PASSED: val == 20 [./Number.as:418] -PASSED: isNaN(val) [./Number.as:421] -PASSED: val == 2.6 [./Number.as:424] -PASSED: isNaN(val) [./Number.as:427] -PASSED: isNaN(val) [./Number.as:430] -PASSED: val != Infinity [./Number.as:433] -PASSED: isNaN(val) [./Number.as:434] -PASSED: val != Infinity [./Number.as:437] -PASSED: isNaN(val) [./Number.as:438] -PASSED: isNaN(val) [./Number.as:442] -PASSED: val == 7 [./Number.as:446] -FAILED: !isNaN(val) [./Number.as:453] -PASSED: typeof(val) == 'number' [./Number.as:454] -FAILED: expected: 0 obtained: NaN [./Number.as:455] -FAILED: expected: val obtained: 0 [./Number.as:456] -PASSED: val == 9 [./Number.as:461] -PASSED: 9 == val [./Number.as:462] -PASSED: 450 - undefined == 450 [./Number.as:474] -PASSED: a.toString() == "11111111111111.1" [./Number.as:489] -PASSED: a.toString() == "111111111111111" [./Number.as:492] -PASSED: a.toString() == "1.11111111111111e+15" [./Number.as:495] -PASSED: a.toString() == "0.000123456789012346" [./Number.as:498] -PASSED: a.toString() == "0.0000123456789012346" [./Number.as:501] -PASSED: a.toString() == "1.23456789012346e-6" [./Number.as:504] -PASSED: a.toString() == "1.23456789012346e-7" [./Number.as:507] -PASSED: a.toString() == "0.0999999999999999" [./Number.as:510] -PASSED: a.toString() == "0.999999999999999" [./Number.as:513] -PASSED: a.toString() == "0.999999999999999" [./Number.as:516] -PASSED: a.toString() == "0.000054" [./Number.as:519] -PASSED: a.toString() == "5.4e-6" [./Number.as:522] -PASSED: a.toString(10) == "5.4e-6" [./Number.as:523] -PASSED: a.toString() == "2.12345678912346" [./Number.as:526] -PASSED: a.toString() == "-2.12345678912346" [./Number.as:529] -PASSED: a.toString() == "0.123456789123457" [./Number.as:532] -PASSED: a.toString() == "-0.123456789123457" [./Number.as:535] -PASSED: a.toString() == "1.23456789123456e+308" [./Number.as:538] -PASSED: a.toString() == "-1.23456789123456e+308" [./Number.as:541] -PASSED: a.toString() == "1.23456789123457e-308" [./Number.as:544] -PASSED: a.toString() == "-1.23456789123457e-308" [./Number.as:547] -PASSED: a.toString() == "1.23456789123457e-6" [./Number.as:550] -PASSED: a.toString() == "-1.23456789123457e-6" [./Number.as:553] -PASSED: a.toString() == "-1.24456789123457e-6" [./Number.as:556] -PASSED: a.toString() == "-1.24466789123457e-6" [./Number.as:559] -PASSED: a.toString() == "-0.00123456789123457" [./Number.as:562] -PASSED: a.toString() == "-0.00124456789123456" [./Number.as:565] -PASSED: a.toString() == "-0.00123456789123456" [./Number.as:568] -PASSED: a.toString() == "0.00123456789123457" [./Number.as:571] -PASSED: a.toString() == "0.00123456789123456" [./Number.as:574] -PASSED: a == 2 [./Number.as:577] -PASSED: a == 2 [./Number.as:581] -PASSED: isNaN(a) [./Number.as:584] -PASSED: isNaN(a) [./Number.as:587] -PASSED: a == 2 [./Number.as:590] -PASSED: a == 2 [./Number.as:593] -PASSED: a == 2 [./Number.as:596] -PASSED: a == -2 [./Number.as:599] -PASSED: a == -0.00002 [./Number.as:602] -PASSED: a == -200000 [./Number.as:605] -PASSED: a == -56 [./Number.as:608] -PASSED: a.toString() == "NaN" [./Number.as:611] -PASSED: a == -56 [./Number.as:614] -PASSED: a == -56 [./Number.as:617] -PASSED: isNaN(a) [./Number.as:622] -PASSED: isNaN(a) [./Number.as:629] -PASSED: isNaN(a) [./Number.as:635] -PASSED: isNaN(a) [./Number.as:638] -PASSED: isNaN(a) [./Number.as:642] -PASSED: isNaN(a) [./Number.as:649] -PASSED: a == 77 [./Number.as:656] -PASSED: a == -77 [./Number.as:663] -PASSED: a == 77 [./Number.as:670] -PASSED: a == 77 [./Number.as:676] -PASSED: isNaN(0/0) [./Number.as:678] -PASSED: as == 'ff0000' [./Number.as:682] -#passed: 227 -#failed: 11 -#total tests run: 238 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v5/test.toml b/tests/tests/swfs/from_gnash/actionscript.all/Number-v5/test.toml index 11e963f5a927..f4f16330e8b1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v5/test.toml +++ b/tests/tests/swfs/from_gnash/actionscript.all/Number-v5/test.toml @@ -1,2 +1 @@ num_frames = 30 -known_failure = true diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v6/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Number-v6/output.ruffle.txt deleted file mode 100644 index 04b4338f34ac..000000000000 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v6/output.ruffle.txt +++ /dev/null @@ -1,239 +0,0 @@ -SWF6 - -[Number.as debug-22403-05c7ba106] -PASSED: Number.hasOwnProperty('MAX_VALUE') [./Number.as:37] -PASSED: typeof(Number.MAX_VALUE) == "number" [./Number.as:38] -PASSED: Number.MAX_VALUE.toString() == "1.79769313486231e+308" [./Number.as:41] -PASSED: Number.hasOwnProperty('MIN_VALUE') [./Number.as:43] -PASSED: typeof(Number.MIN_VALUE) == "number" [./Number.as:44] -PASSED: Number.MIN_VALUE.toString() == "4.94065645841247e-324" [./Number.as:45] -PASSED: Number.hasOwnProperty('NEGATIVE_INFINITY') [./Number.as:47] -PASSED: Number.NEGATIVE_INFINITY == -Infinity [./Number.as:48] -PASSED: Number.hasOwnProperty('NaN') [./Number.as:50] -PASSED: Number.NaN == NaN [./Number.as:51] -PASSED: Number.hasOwnProperty('POSITIVE_INFINITY') [./Number.as:53] -PASSED: Number.POSITIVE_INFINITY == Infinity [./Number.as:54] -PASSED: typeof(n1) == 'object' [./Number.as:57] -PASSED: typeof(n1prim) == 'number' [./Number.as:59] -PASSED: n1 == n1prim [./Number.as:62] -PASSED: ! (n1 === 268) [./Number.as:66] -PASSED: ! (n1 === Number(268)) [./Number.as:68] -PASSED: n1 == 268 [./Number.as:72] -PASSED: 268 == n1 [./Number.as:73] -PASSED: typeof(n1.toString) == "function" [./Number.as:79] -PASSED: typeof(n1.toString()) == "string" [./Number.as:80] -PASSED: n1.toString() == "268" [./Number.as:81] -PASSED: n1.toString() == "268" [./Number.as:85] -PASSED: Number.prototype.hasOwnProperty('toString') [./Number.as:89] -PASSED: tmp.toString(2) == '1010' [./Number.as:93] -PASSED: tmp.toString(2) == '110' [./Number.as:95] -PASSED: tmp.toString(3) == '20' [./Number.as:96] -PASSED: tmp.toString(8) == '6' [./Number.as:97] -PASSED: tmp.toString(-2) == '6' [./Number.as:98] -PASSED: tmp.toString(0) == '6' [./Number.as:99] -PASSED: tmp.toString(5) == '11' [./Number.as:100] -PASSED: tmp.toString(2) == '-101' [./Number.as:102] -PASSED: tmp.toString(16) == '-5' [./Number.as:103] -PASSED: tmp.toString(16) == '-b' [./Number.as:105] -PASSED: typeof(n1.valueOf) == "function" [./Number.as:111] -PASSED: typeof(n1.__proto__.valueOf) == "function" [./Number.as:112] -PASSED: typeof(n1.__proto__.__proto__.valueOf) == "function" [./Number.as:113] -PASSED: typeof(n1.valueOf()) == "number" [./Number.as:114] -PASSED: n1.valueOf() == 268 [./Number.as:115] -PASSED: Number.prototype.hasOwnProperty('valueOf') [./Number.as:118] -PASSED: Object.prototype.hasOwnProperty('valueOf') [./Number.as:119] -PASSED: n1.valueOf() == 268 [./Number.as:124] -PASSED: n1.valueOf() == "fake_value" [./Number.as:129] -PASSED: -268 == n1 [./Number.as:134] -PASSED: n1.toString() == "-268" [./Number.as:135] -PASSED: typeof(NaN) == 'number' [./Number.as:141] -PASSED: typeof(isNaN) == 'function' [./Number.as:142] -PASSED: typeof(isNaN(NaN)) == 'boolean' [./Number.as:143] -PASSED: NaN == NaN [./Number.as:144] -PASSED: (0/2) == (0/5) [./Number.as:145] -PASSED: ! (NaN != NaN) [./Number.as:146] -PASSED: isNaN(NaN) [./Number.as:147] -PASSED: typeof(isNaN(0/0)) == 'boolean' [./Number.as:148] -PASSED: isNaN(0/0) [./Number.as:149] -PASSED: typeof(_global.NaN) == 'number' [./Number.as:153] -PASSED: typeof(isNaN(_global.NaN)) == 'boolean' [./Number.as:154] -PASSED: isNaN(_global.NaN) [./Number.as:155] -PASSED: ! isNaN(undefined) [./Number.as:168] -PASSED: ! isNaN(null) [./Number.as:169] -PASSED: ! isNaN(Object.prototype.NaN) [./Number.as:170] -PASSED: ! Object.hasOwnProperty('NaN') [./Number.as:173] -PASSED: ! Object.prototype.hasOwnProperty('NaN') [./Number.as:174] -PASSED: ! this.__proto__.hasOwnProperty('NaN') [./Number.as:175] -PASSED: typeof(Infinity) == 'number' [./Number.as:181] -PASSED: typeof(isFinite) == 'function' [./Number.as:182] -PASSED: typeof(isFinite(Infinity)) == 'boolean' [./Number.as:183] -PASSED: Infinity == Infinity [./Number.as:184] -PASSED: ! isFinite(Infinity) [./Number.as:185] -PASSED: typeof(isFinite(0/0)) == 'boolean' [./Number.as:186] -PASSED: ! isFinite(0/0) [./Number.as:187] -PASSED: typeof(_global.Infinity) == 'number' [./Number.as:191] -PASSED: typeof(isFinite(_global.Infinity)) == 'boolean' [./Number.as:192] -PASSED: ! isFinite(_global.Infinity) [./Number.as:193] -PASSED: isFinite(undefined) [./Number.as:206] -PASSED: isFinite(null) [./Number.as:207] -PASSED: isFinite(Object.prototype.NaN) [./Number.as:208] -PASSED: ! Object.hasOwnProperty('Infinity') [./Number.as:211] -PASSED: ! Object.prototype.hasOwnProperty('Infinity') [./Number.as:212] -PASSED: ! this.__proto__.hasOwnProperty('Infinity') [./Number.as:213] -PASSED: isNaN(0+this) [./Number.as:219] -PASSED: isNaN(this) [./Number.as:220] -PASSED: isNaN(this) [./Number.as:222] -PASSED: isNaN(o) [./Number.as:224] -PASSED: isNaN(0+o) [./Number.as:225] -PASSED: 0+o == 3 [./Number.as:227] -PASSED: 0+"string" == "0string" [./Number.as:228] -PASSED: isNaN(2+Number) [./Number.as:233] -PASSED: !isNaN(2/undefined) [./Number.as:242] -PASSED: !isNaN(undefined/2) [./Number.as:243] -PASSED: isFinite(undefined/2) [./Number.as:244] -PASSED: 2/undefined == Infinity [./Number.as:245] -PASSED: !isFinite(Infinity) [./Number.as:248] -PASSED: !isFinite(2/undefined) [./Number.as:249] -PASSED: typeof(("string"<7)) == 'undefined' [./Number.as:251] -PASSED: typeof((7<"string")) == 'undefined' [./Number.as:252] -PASSED: typeof(("18"<7)) == 'boolean' [./Number.as:253] -PASSED: typeof((7<"18")) == 'boolean' [./Number.as:254] -PASSED: ("18"<"7") == true [./Number.as:255] -PASSED: ("18"<7) == false [./Number.as:256] -PASSED: (7<"18") == true [./Number.as:257] -PASSED: typeof(_root<"18") == 'undefined' [./Number.as:258] -PASSED: typeof(undefined<7) == 'boolean' [./Number.as:278] -PASSED: typeof(undefined>7) == 'boolean' [./Number.as:279] -PASSED: typeof(undefined<-7) == 'boolean' [./Number.as:280] -PASSED: typeof(undefined>-7) == 'boolean' [./Number.as:281] -PASSED: typeof(7undefined) == 'boolean' [./Number.as:283] -PASSED: typeof(-7undefined) == 'boolean' [./Number.as:285] -PASSED: (undefined<7) == true [./Number.as:287] -PASSED: (undefined>7) == false [./Number.as:288] -PASSED: (undefined<-7) == false [./Number.as:289] -PASSED: (undefined>-7) == true [./Number.as:290] -PASSED: (7undefined) == true [./Number.as:292] -PASSED: (-7undefined) == false [./Number.as:294] -PASSED: '0' + -1 == '0-1' [./Number.as:298] -PASSED: '00' == 0 [./Number.as:301] -PASSED: "0xFF0000" == 0xFF0000 [./Number.as:305] -PASSED: "0XFF0000" == 0xFF0000 [./Number.as:306] -PASSED: "0Xff0000" == 0xFF0000 [./Number.as:307] -PASSED: "0Xff000000" != 0xFF000000 [./Number.as:308] -PASSED: "07700000000" == 07700000000 [./Number.as:309] -PASSED: "077000000000" != 077000000000 [./Number.as:310] -PASSED: isNaN("0xff000z") [./Number.as:316] -PASSED: typeof(Number.prototype.valueOf) == 'function' [./Number.as:318] -PASSED: typeof(Number.prototype.toString) == 'function' [./Number.as:319] -PASSED: isNaN(Number.valueOf()) [./Number.as:321] -PASSED: typeof(Number) == 'function' [./Number.as:326] -PASSED: Number.hasOwnProperty('prototype') [./Number.as:327] -PASSED: Number.hasOwnProperty('__proto__') [./Number.as:328] -FAILED: Number.hasOwnProperty('constructor') [./Number.as:329] -PASSED: typeof(Number.prototype) == 'object' [./Number.as:330] -PASSED: Number.prototype != Object [./Number.as:340] -PASSED: typeof(Number.__proto__) == 'object' [./Number.as:352] -PASSED: Number.prototype.__proto__ == Object.prototype [./Number.as:353] -PASSED: typeof(Number.toString) == 'function' [./Number.as:355] -PASSED: typeof(Number.valueOf) == 'function' [./Number.as:356] -PASSED: !Number.hasOwnProperty('valueOf') [./Number.as:357] -PASSED: !Number.hasOwnProperty('toString') [./Number.as:358] -PASSED: !Number.__proto__.hasOwnProperty('valueOf') [./Number.as:359] -PASSED: !Number.__proto__.hasOwnProperty('toString') [./Number.as:360] -PASSED: Number.__proto__.__proto__ == Object.prototype [./Number.as:361] -PASSED: typeof(Number.valueOf()) == 'function' [./Number.as:363] -PASSED: typeof(a.toString) == 'function' [./Number.as:366] -PASSED: typeof(a.valueOf) == 'function' [./Number.as:367] -PASSED: !a.hasOwnProperty('valueOf') [./Number.as:368] -PASSED: a.__proto__.hasOwnProperty('valueOf') [./Number.as:374] -PASSED: !a.hasOwnProperty('toString') [./Number.as:375] -PASSED: typeof(anum.toString) == 'function' [./Number.as:379] -PASSED: typeof(anum.valueOf) == 'function' [./Number.as:380] -PASSED: !anum.hasOwnProperty('valueOf') [./Number.as:381] -PASSED: anum.__proto__.hasOwnProperty('valueOf') [./Number.as:382] -PASSED: !anum.hasOwnProperty('toString') [./Number.as:383] -PASSED: val == 4 [./Number.as:393] -PASSED: val == 0 [./Number.as:397] -PASSED: !isNaN(val) [./Number.as:398] -PASSED: val == 0 [./Number.as:405] -PASSED: !isNaN(val) [./Number.as:406] -PASSED: val == 10 [./Number.as:412] -PASSED: val == 300 [./Number.as:415] -PASSED: val == 20 [./Number.as:418] -PASSED: isNaN(val) [./Number.as:421] -PASSED: val == 2.6 [./Number.as:424] -PASSED: isNaN(val) [./Number.as:427] -PASSED: isNaN(val) [./Number.as:430] -PASSED: val != Infinity [./Number.as:433] -PASSED: isNaN(val) [./Number.as:434] -PASSED: val != Infinity [./Number.as:437] -PASSED: isNaN(val) [./Number.as:438] -PASSED: isNaN(val) [./Number.as:442] -PASSED: val == 7 [./Number.as:446] -PASSED: isNaN(val) [./Number.as:451] -PASSED: val == 9 [./Number.as:461] -PASSED: 9 == val [./Number.as:462] -PASSED: 450 - undefined == 450 [./Number.as:474] -PASSED: a.toString() == "11111111111111.1" [./Number.as:489] -PASSED: a.toString() == "111111111111111" [./Number.as:492] -PASSED: a.toString() == "1.11111111111111e+15" [./Number.as:495] -PASSED: a.toString() == "0.000123456789012346" [./Number.as:498] -PASSED: a.toString() == "0.0000123456789012346" [./Number.as:501] -PASSED: a.toString() == "1.23456789012346e-6" [./Number.as:504] -PASSED: a.toString() == "1.23456789012346e-7" [./Number.as:507] -PASSED: a.toString() == "0.0999999999999999" [./Number.as:510] -PASSED: a.toString() == "0.999999999999999" [./Number.as:513] -PASSED: a.toString() == "0.999999999999999" [./Number.as:516] -PASSED: a.toString() == "0.000054" [./Number.as:519] -PASSED: a.toString() == "5.4e-6" [./Number.as:522] -PASSED: a.toString(10) == "5.4e-6" [./Number.as:523] -PASSED: a.toString() == "2.12345678912346" [./Number.as:526] -PASSED: a.toString() == "-2.12345678912346" [./Number.as:529] -PASSED: a.toString() == "0.123456789123457" [./Number.as:532] -PASSED: a.toString() == "-0.123456789123457" [./Number.as:535] -PASSED: a.toString() == "1.23456789123456e+308" [./Number.as:538] -PASSED: a.toString() == "-1.23456789123456e+308" [./Number.as:541] -PASSED: a.toString() == "1.23456789123457e-308" [./Number.as:544] -PASSED: a.toString() == "-1.23456789123457e-308" [./Number.as:547] -PASSED: a.toString() == "1.23456789123457e-6" [./Number.as:550] -PASSED: a.toString() == "-1.23456789123457e-6" [./Number.as:553] -PASSED: a.toString() == "-1.24456789123457e-6" [./Number.as:556] -PASSED: a.toString() == "-1.24466789123457e-6" [./Number.as:559] -PASSED: a.toString() == "-0.00123456789123457" [./Number.as:562] -PASSED: a.toString() == "-0.00124456789123456" [./Number.as:565] -PASSED: a.toString() == "-0.00123456789123456" [./Number.as:568] -PASSED: a.toString() == "0.00123456789123457" [./Number.as:571] -PASSED: a.toString() == "0.00123456789123456" [./Number.as:574] -PASSED: a == 2 [./Number.as:577] -PASSED: a == 2 [./Number.as:581] -PASSED: isNaN(a) [./Number.as:584] -PASSED: isNaN(a) [./Number.as:587] -PASSED: a == 2 [./Number.as:590] -PASSED: a == 2 [./Number.as:593] -PASSED: a == 2 [./Number.as:596] -PASSED: a == -2 [./Number.as:599] -PASSED: a == -0.00002 [./Number.as:602] -PASSED: a == -200000 [./Number.as:605] -PASSED: a == -56 [./Number.as:608] -PASSED: a.toString() == "NaN" [./Number.as:611] -PASSED: a == -56 [./Number.as:614] -PASSED: a == -56 [./Number.as:617] -PASSED: a == 2 [./Number.as:624] -PASSED: a == 2 [./Number.as:631] -PASSED: isNaN(a) [./Number.as:635] -PASSED: isNaN(a) [./Number.as:638] -PASSED: a == -2 [./Number.as:644] -PASSED: a == 1 [./Number.as:651] -PASSED: a == 63 [./Number.as:658] -PASSED: a == -63 [./Number.as:665] -PASSED: a == 63 [./Number.as:672] -PASSED: a == 77 [./Number.as:676] -PASSED: isNaN(0/0) [./Number.as:678] -PASSED: as == 'ff0000' [./Number.as:682] -#passed: 232 -#failed: 1 -#total tests run: 233 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v6/test.toml b/tests/tests/swfs/from_gnash/actionscript.all/Number-v6/test.toml index 11e963f5a927..f4f16330e8b1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v6/test.toml +++ b/tests/tests/swfs/from_gnash/actionscript.all/Number-v6/test.toml @@ -1,2 +1 @@ num_frames = 30 -known_failure = true diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v7/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Number-v7/output.ruffle.txt deleted file mode 100644 index 68e162795852..000000000000 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v7/output.ruffle.txt +++ /dev/null @@ -1,237 +0,0 @@ -SWF7 - -[Number.as debug-22403-05c7ba106] -PASSED: Number.hasOwnProperty('MAX_VALUE') [./Number.as:37] -PASSED: typeof(Number.MAX_VALUE) == "number" [./Number.as:38] -PASSED: Number.MAX_VALUE.toString() == "1.79769313486231e+308" [./Number.as:41] -PASSED: Number.hasOwnProperty('MIN_VALUE') [./Number.as:43] -PASSED: typeof(Number.MIN_VALUE) == "number" [./Number.as:44] -PASSED: Number.MIN_VALUE.toString() == "4.94065645841247e-324" [./Number.as:45] -PASSED: Number.hasOwnProperty('NEGATIVE_INFINITY') [./Number.as:47] -PASSED: Number.NEGATIVE_INFINITY == -Infinity [./Number.as:48] -PASSED: Number.hasOwnProperty('NaN') [./Number.as:50] -PASSED: Number.NaN == NaN [./Number.as:51] -PASSED: Number.hasOwnProperty('POSITIVE_INFINITY') [./Number.as:53] -PASSED: Number.POSITIVE_INFINITY == Infinity [./Number.as:54] -PASSED: typeof(n1) == 'object' [./Number.as:57] -PASSED: typeof(n1prim) == 'number' [./Number.as:59] -PASSED: n1 == n1prim [./Number.as:62] -PASSED: ! (n1 === 268) [./Number.as:66] -PASSED: ! (n1 === Number(268)) [./Number.as:68] -PASSED: n1 == 268 [./Number.as:72] -PASSED: 268 == n1 [./Number.as:73] -PASSED: typeof(n1.toString) == "function" [./Number.as:79] -PASSED: typeof(n1.toString()) == "string" [./Number.as:80] -PASSED: n1.toString() == "268" [./Number.as:81] -PASSED: n1.toString() == "268" [./Number.as:85] -PASSED: Number.prototype.hasOwnProperty('toString') [./Number.as:89] -PASSED: tmp.toString(2) == '1010' [./Number.as:93] -PASSED: tmp.toString(2) == '110' [./Number.as:95] -PASSED: tmp.toString(3) == '20' [./Number.as:96] -PASSED: tmp.toString(8) == '6' [./Number.as:97] -PASSED: tmp.toString(-2) == '6' [./Number.as:98] -PASSED: tmp.toString(0) == '6' [./Number.as:99] -PASSED: tmp.toString(5) == '11' [./Number.as:100] -PASSED: tmp.toString(2) == '-101' [./Number.as:102] -PASSED: tmp.toString(16) == '-5' [./Number.as:103] -PASSED: tmp.toString(16) == '-b' [./Number.as:105] -PASSED: typeof(n1.valueOf) == "function" [./Number.as:111] -PASSED: typeof(n1.__proto__.valueOf) == "function" [./Number.as:112] -PASSED: typeof(n1.__proto__.__proto__.valueOf) == "function" [./Number.as:113] -PASSED: typeof(n1.valueOf()) == "number" [./Number.as:114] -PASSED: n1.valueOf() == 268 [./Number.as:115] -PASSED: Number.prototype.hasOwnProperty('valueOf') [./Number.as:118] -PASSED: Object.prototype.hasOwnProperty('valueOf') [./Number.as:119] -PASSED: n1.valueOf() == 268 [./Number.as:124] -PASSED: n1.valueOf() == "fake_value" [./Number.as:129] -PASSED: -268 == n1 [./Number.as:134] -PASSED: n1.toString() == "-268" [./Number.as:135] -PASSED: typeof(NaN) == 'number' [./Number.as:141] -PASSED: typeof(isNaN) == 'function' [./Number.as:142] -PASSED: typeof(isNaN(NaN)) == 'boolean' [./Number.as:143] -PASSED: NaN == NaN [./Number.as:144] -PASSED: (0/2) == (0/5) [./Number.as:145] -PASSED: ! (NaN != NaN) [./Number.as:146] -PASSED: isNaN(NaN) [./Number.as:147] -PASSED: typeof(isNaN(0/0)) == 'boolean' [./Number.as:148] -PASSED: isNaN(0/0) [./Number.as:149] -PASSED: typeof(_global.NaN) == 'number' [./Number.as:153] -PASSED: typeof(isNaN(_global.NaN)) == 'boolean' [./Number.as:154] -PASSED: isNaN(_global.NaN) [./Number.as:155] -PASSED: isNaN(undefined) [./Number.as:164] -PASSED: isNaN(null) [./Number.as:165] -PASSED: isNaN(Object.prototype.NaN) [./Number.as:166] -PASSED: ! Object.hasOwnProperty('NaN') [./Number.as:173] -PASSED: ! Object.prototype.hasOwnProperty('NaN') [./Number.as:174] -PASSED: ! this.__proto__.hasOwnProperty('NaN') [./Number.as:175] -PASSED: typeof(Infinity) == 'number' [./Number.as:181] -PASSED: typeof(isFinite) == 'function' [./Number.as:182] -PASSED: typeof(isFinite(Infinity)) == 'boolean' [./Number.as:183] -PASSED: Infinity == Infinity [./Number.as:184] -PASSED: ! isFinite(Infinity) [./Number.as:185] -PASSED: typeof(isFinite(0/0)) == 'boolean' [./Number.as:186] -PASSED: ! isFinite(0/0) [./Number.as:187] -PASSED: typeof(_global.Infinity) == 'number' [./Number.as:191] -PASSED: typeof(isFinite(_global.Infinity)) == 'boolean' [./Number.as:192] -PASSED: ! isFinite(_global.Infinity) [./Number.as:193] -PASSED: ! isFinite(undefined) [./Number.as:202] -PASSED: ! isFinite(null) [./Number.as:203] -PASSED: ! isFinite(Object.prototype.NaN) [./Number.as:204] -PASSED: ! Object.hasOwnProperty('Infinity') [./Number.as:211] -PASSED: ! Object.prototype.hasOwnProperty('Infinity') [./Number.as:212] -PASSED: ! this.__proto__.hasOwnProperty('Infinity') [./Number.as:213] -PASSED: isNaN(0+this) [./Number.as:219] -PASSED: isNaN(this) [./Number.as:220] -PASSED: isNaN(this) [./Number.as:222] -PASSED: isNaN(o) [./Number.as:224] -PASSED: isNaN(0+o) [./Number.as:225] -PASSED: 0+o == 3 [./Number.as:227] -PASSED: 0+"string" == "0string" [./Number.as:228] -PASSED: isNaN(2+Number) [./Number.as:233] -PASSED: isNaN(2/undefined) [./Number.as:237] -PASSED: isNaN(undefined/2) [./Number.as:238] -PASSED: !isFinite(undefined/2) [./Number.as:239] -PASSED: 2/undefined != Infinity [./Number.as:240] -PASSED: !isFinite(Infinity) [./Number.as:248] -PASSED: !isFinite(2/undefined) [./Number.as:249] -PASSED: typeof(("string"<7)) == 'undefined' [./Number.as:251] -PASSED: typeof((7<"string")) == 'undefined' [./Number.as:252] -PASSED: typeof(("18"<7)) == 'boolean' [./Number.as:253] -PASSED: typeof((7<"18")) == 'boolean' [./Number.as:254] -PASSED: ("18"<"7") == true [./Number.as:255] -PASSED: ("18"<7) == false [./Number.as:256] -PASSED: (7<"18") == true [./Number.as:257] -PASSED: typeof(_root<"18") == 'undefined' [./Number.as:258] -PASSED: typeof(undefined<7) == 'undefined' [./Number.as:261] -PASSED: typeof(undefined>7) == 'undefined' [./Number.as:262] -PASSED: typeof(undefined<-7) == 'undefined' [./Number.as:263] -PASSED: typeof(undefined>-7) == 'undefined' [./Number.as:264] -PASSED: typeof(7undefined) == 'undefined' [./Number.as:266] -PASSED: typeof(-7undefined) == 'undefined' [./Number.as:268] -PASSED: typeof(null<7) == 'undefined' [./Number.as:269] -PASSED: typeof(null>7) == 'undefined' [./Number.as:270] -PASSED: typeof(null<-7) == 'undefined' [./Number.as:271] -PASSED: typeof(null>-7) == 'undefined' [./Number.as:272] -PASSED: typeof(7null) == 'undefined' [./Number.as:274] -PASSED: typeof(-7null) == 'undefined' [./Number.as:276] -PASSED: '0' + -1 == '0-1' [./Number.as:298] -PASSED: '00' == 0 [./Number.as:301] -PASSED: "0xFF0000" == 0xFF0000 [./Number.as:305] -PASSED: "0XFF0000" == 0xFF0000 [./Number.as:306] -PASSED: "0Xff0000" == 0xFF0000 [./Number.as:307] -PASSED: "0Xff000000" != 0xFF000000 [./Number.as:308] -PASSED: "07700000000" == 07700000000 [./Number.as:309] -PASSED: "077000000000" != 077000000000 [./Number.as:310] -PASSED: isNaN("0xff000z") [./Number.as:316] -PASSED: typeof(Number.prototype.valueOf) == 'function' [./Number.as:318] -PASSED: typeof(Number.prototype.toString) == 'function' [./Number.as:319] -PASSED: isNaN(Number.valueOf()) [./Number.as:321] -PASSED: typeof(Number) == 'function' [./Number.as:326] -PASSED: Number.hasOwnProperty('prototype') [./Number.as:327] -PASSED: Number.hasOwnProperty('__proto__') [./Number.as:328] -FAILED: Number.hasOwnProperty('constructor') [./Number.as:329] -PASSED: typeof(Number.prototype) == 'object' [./Number.as:330] -PASSED: Number.prototype != Object [./Number.as:340] -PASSED: typeof(Number.__proto__) == 'object' [./Number.as:352] -PASSED: Number.prototype.__proto__ == Object.prototype [./Number.as:353] -PASSED: typeof(Number.toString) == 'function' [./Number.as:355] -PASSED: typeof(Number.valueOf) == 'function' [./Number.as:356] -PASSED: !Number.hasOwnProperty('valueOf') [./Number.as:357] -PASSED: !Number.hasOwnProperty('toString') [./Number.as:358] -PASSED: !Number.__proto__.hasOwnProperty('valueOf') [./Number.as:359] -PASSED: !Number.__proto__.hasOwnProperty('toString') [./Number.as:360] -PASSED: Number.__proto__.__proto__ == Object.prototype [./Number.as:361] -PASSED: typeof(Number.valueOf()) == 'function' [./Number.as:363] -PASSED: typeof(a.toString) == 'function' [./Number.as:366] -PASSED: typeof(a.valueOf) == 'function' [./Number.as:367] -PASSED: !a.hasOwnProperty('valueOf') [./Number.as:368] -PASSED: a.__proto__.hasOwnProperty('valueOf') [./Number.as:374] -PASSED: !a.hasOwnProperty('toString') [./Number.as:375] -PASSED: typeof(anum.toString) == 'function' [./Number.as:379] -PASSED: typeof(anum.valueOf) == 'function' [./Number.as:380] -PASSED: !anum.hasOwnProperty('valueOf') [./Number.as:381] -PASSED: anum.__proto__.hasOwnProperty('valueOf') [./Number.as:382] -PASSED: !anum.hasOwnProperty('toString') [./Number.as:383] -PASSED: val == 4 [./Number.as:393] -PASSED: isNaN(val) [./Number.as:400] -PASSED: isNaN(val) [./Number.as:408] -PASSED: val == 10 [./Number.as:412] -PASSED: val == 300 [./Number.as:415] -PASSED: val == 20 [./Number.as:418] -PASSED: isNaN(val) [./Number.as:421] -PASSED: val == 2.6 [./Number.as:424] -PASSED: isNaN(val) [./Number.as:427] -PASSED: isNaN(val) [./Number.as:430] -PASSED: val != Infinity [./Number.as:433] -PASSED: isNaN(val) [./Number.as:434] -PASSED: val != Infinity [./Number.as:437] -PASSED: isNaN(val) [./Number.as:438] -PASSED: isNaN(val) [./Number.as:442] -PASSED: val == 7 [./Number.as:446] -PASSED: isNaN(val) [./Number.as:451] -PASSED: val == 9 [./Number.as:461] -PASSED: 9 == val [./Number.as:462] -PASSED: isNaN(450 - undefined) [./Number.as:472] -PASSED: a.toString() == "11111111111111.1" [./Number.as:489] -PASSED: a.toString() == "111111111111111" [./Number.as:492] -PASSED: a.toString() == "1.11111111111111e+15" [./Number.as:495] -PASSED: a.toString() == "0.000123456789012346" [./Number.as:498] -PASSED: a.toString() == "0.0000123456789012346" [./Number.as:501] -PASSED: a.toString() == "1.23456789012346e-6" [./Number.as:504] -PASSED: a.toString() == "1.23456789012346e-7" [./Number.as:507] -PASSED: a.toString() == "0.0999999999999999" [./Number.as:510] -PASSED: a.toString() == "0.999999999999999" [./Number.as:513] -PASSED: a.toString() == "0.999999999999999" [./Number.as:516] -PASSED: a.toString() == "0.000054" [./Number.as:519] -PASSED: a.toString() == "5.4e-6" [./Number.as:522] -PASSED: a.toString(10) == "5.4e-6" [./Number.as:523] -PASSED: a.toString() == "2.12345678912346" [./Number.as:526] -PASSED: a.toString() == "-2.12345678912346" [./Number.as:529] -PASSED: a.toString() == "0.123456789123457" [./Number.as:532] -PASSED: a.toString() == "-0.123456789123457" [./Number.as:535] -PASSED: a.toString() == "1.23456789123456e+308" [./Number.as:538] -PASSED: a.toString() == "-1.23456789123456e+308" [./Number.as:541] -PASSED: a.toString() == "1.23456789123457e-308" [./Number.as:544] -PASSED: a.toString() == "-1.23456789123457e-308" [./Number.as:547] -PASSED: a.toString() == "1.23456789123457e-6" [./Number.as:550] -PASSED: a.toString() == "-1.23456789123457e-6" [./Number.as:553] -PASSED: a.toString() == "-1.24456789123457e-6" [./Number.as:556] -PASSED: a.toString() == "-1.24466789123457e-6" [./Number.as:559] -PASSED: a.toString() == "-0.00123456789123457" [./Number.as:562] -PASSED: a.toString() == "-0.00124456789123456" [./Number.as:565] -PASSED: a.toString() == "-0.00123456789123456" [./Number.as:568] -PASSED: a.toString() == "0.00123456789123457" [./Number.as:571] -PASSED: a.toString() == "0.00123456789123456" [./Number.as:574] -PASSED: a == 2 [./Number.as:577] -PASSED: a == 2 [./Number.as:581] -PASSED: isNaN(a) [./Number.as:584] -PASSED: isNaN(a) [./Number.as:587] -PASSED: a == 2 [./Number.as:590] -PASSED: a == 2 [./Number.as:593] -PASSED: a == 2 [./Number.as:596] -PASSED: a == -2 [./Number.as:599] -PASSED: a == -0.00002 [./Number.as:602] -PASSED: a == -200000 [./Number.as:605] -PASSED: a == -56 [./Number.as:608] -PASSED: a.toString() == "NaN" [./Number.as:611] -PASSED: a == -56 [./Number.as:614] -PASSED: a == -56 [./Number.as:617] -PASSED: a == 2 [./Number.as:624] -PASSED: a == 2 [./Number.as:631] -PASSED: isNaN(a) [./Number.as:635] -PASSED: isNaN(a) [./Number.as:638] -PASSED: a == -2 [./Number.as:644] -PASSED: a == 1 [./Number.as:651] -PASSED: a == 63 [./Number.as:658] -PASSED: a == -63 [./Number.as:665] -PASSED: a == 63 [./Number.as:672] -PASSED: a == 77 [./Number.as:676] -PASSED: isNaN(0/0) [./Number.as:678] -PASSED: as == 'ff0000' [./Number.as:682] -#passed: 230 -#failed: 1 -#total tests run: 231 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v7/test.toml b/tests/tests/swfs/from_gnash/actionscript.all/Number-v7/test.toml index 11e963f5a927..f4f16330e8b1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v7/test.toml +++ b/tests/tests/swfs/from_gnash/actionscript.all/Number-v7/test.toml @@ -1,2 +1 @@ num_frames = 30 -known_failure = true diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v8/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Number-v8/output.ruffle.txt deleted file mode 100644 index 1d663ef7c125..000000000000 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v8/output.ruffle.txt +++ /dev/null @@ -1,237 +0,0 @@ -SWF8 - -[Number.as debug-22403-05c7ba106] -PASSED: Number.hasOwnProperty('MAX_VALUE') [./Number.as:37] -PASSED: typeof(Number.MAX_VALUE) == "number" [./Number.as:38] -PASSED: Number.MAX_VALUE.toString() == "1.79769313486231e+308" [./Number.as:41] -PASSED: Number.hasOwnProperty('MIN_VALUE') [./Number.as:43] -PASSED: typeof(Number.MIN_VALUE) == "number" [./Number.as:44] -PASSED: Number.MIN_VALUE.toString() == "4.94065645841247e-324" [./Number.as:45] -PASSED: Number.hasOwnProperty('NEGATIVE_INFINITY') [./Number.as:47] -PASSED: Number.NEGATIVE_INFINITY == -Infinity [./Number.as:48] -PASSED: Number.hasOwnProperty('NaN') [./Number.as:50] -PASSED: Number.NaN == NaN [./Number.as:51] -PASSED: Number.hasOwnProperty('POSITIVE_INFINITY') [./Number.as:53] -PASSED: Number.POSITIVE_INFINITY == Infinity [./Number.as:54] -PASSED: typeof(n1) == 'object' [./Number.as:57] -PASSED: typeof(n1prim) == 'number' [./Number.as:59] -PASSED: n1 == n1prim [./Number.as:62] -PASSED: ! (n1 === 268) [./Number.as:66] -PASSED: ! (n1 === Number(268)) [./Number.as:68] -PASSED: n1 == 268 [./Number.as:72] -PASSED: 268 == n1 [./Number.as:73] -PASSED: typeof(n1.toString) == "function" [./Number.as:79] -PASSED: typeof(n1.toString()) == "string" [./Number.as:80] -PASSED: n1.toString() == "268" [./Number.as:81] -PASSED: n1.toString() == "268" [./Number.as:85] -PASSED: Number.prototype.hasOwnProperty('toString') [./Number.as:89] -PASSED: tmp.toString(2) == '1010' [./Number.as:93] -PASSED: tmp.toString(2) == '110' [./Number.as:95] -PASSED: tmp.toString(3) == '20' [./Number.as:96] -PASSED: tmp.toString(8) == '6' [./Number.as:97] -PASSED: tmp.toString(-2) == '6' [./Number.as:98] -PASSED: tmp.toString(0) == '6' [./Number.as:99] -PASSED: tmp.toString(5) == '11' [./Number.as:100] -PASSED: tmp.toString(2) == '-101' [./Number.as:102] -PASSED: tmp.toString(16) == '-5' [./Number.as:103] -PASSED: tmp.toString(16) == '-b' [./Number.as:105] -PASSED: typeof(n1.valueOf) == "function" [./Number.as:111] -PASSED: typeof(n1.__proto__.valueOf) == "function" [./Number.as:112] -PASSED: typeof(n1.__proto__.__proto__.valueOf) == "function" [./Number.as:113] -PASSED: typeof(n1.valueOf()) == "number" [./Number.as:114] -PASSED: n1.valueOf() == 268 [./Number.as:115] -PASSED: Number.prototype.hasOwnProperty('valueOf') [./Number.as:118] -PASSED: Object.prototype.hasOwnProperty('valueOf') [./Number.as:119] -PASSED: n1.valueOf() == 268 [./Number.as:124] -PASSED: n1.valueOf() == "fake_value" [./Number.as:129] -PASSED: -268 == n1 [./Number.as:134] -PASSED: n1.toString() == "-268" [./Number.as:135] -PASSED: typeof(NaN) == 'number' [./Number.as:141] -PASSED: typeof(isNaN) == 'function' [./Number.as:142] -PASSED: typeof(isNaN(NaN)) == 'boolean' [./Number.as:143] -PASSED: NaN == NaN [./Number.as:144] -PASSED: (0/2) == (0/5) [./Number.as:145] -PASSED: ! (NaN != NaN) [./Number.as:146] -PASSED: isNaN(NaN) [./Number.as:147] -PASSED: typeof(isNaN(0/0)) == 'boolean' [./Number.as:148] -PASSED: isNaN(0/0) [./Number.as:149] -PASSED: typeof(_global.NaN) == 'number' [./Number.as:153] -PASSED: typeof(isNaN(_global.NaN)) == 'boolean' [./Number.as:154] -PASSED: isNaN(_global.NaN) [./Number.as:155] -PASSED: isNaN(undefined) [./Number.as:164] -PASSED: isNaN(null) [./Number.as:165] -PASSED: isNaN(Object.prototype.NaN) [./Number.as:166] -PASSED: ! Object.hasOwnProperty('NaN') [./Number.as:173] -PASSED: ! Object.prototype.hasOwnProperty('NaN') [./Number.as:174] -PASSED: ! this.__proto__.hasOwnProperty('NaN') [./Number.as:175] -PASSED: typeof(Infinity) == 'number' [./Number.as:181] -PASSED: typeof(isFinite) == 'function' [./Number.as:182] -PASSED: typeof(isFinite(Infinity)) == 'boolean' [./Number.as:183] -PASSED: Infinity == Infinity [./Number.as:184] -PASSED: ! isFinite(Infinity) [./Number.as:185] -PASSED: typeof(isFinite(0/0)) == 'boolean' [./Number.as:186] -PASSED: ! isFinite(0/0) [./Number.as:187] -PASSED: typeof(_global.Infinity) == 'number' [./Number.as:191] -PASSED: typeof(isFinite(_global.Infinity)) == 'boolean' [./Number.as:192] -PASSED: ! isFinite(_global.Infinity) [./Number.as:193] -PASSED: ! isFinite(undefined) [./Number.as:202] -PASSED: ! isFinite(null) [./Number.as:203] -PASSED: ! isFinite(Object.prototype.NaN) [./Number.as:204] -PASSED: ! Object.hasOwnProperty('Infinity') [./Number.as:211] -PASSED: ! Object.prototype.hasOwnProperty('Infinity') [./Number.as:212] -PASSED: ! this.__proto__.hasOwnProperty('Infinity') [./Number.as:213] -PASSED: isNaN(0+this) [./Number.as:219] -PASSED: isNaN(this) [./Number.as:220] -PASSED: isNaN(this) [./Number.as:222] -PASSED: isNaN(o) [./Number.as:224] -PASSED: isNaN(0+o) [./Number.as:225] -PASSED: 0+o == 3 [./Number.as:227] -PASSED: 0+"string" == "0string" [./Number.as:228] -PASSED: isNaN(2+Number) [./Number.as:233] -PASSED: isNaN(2/undefined) [./Number.as:237] -PASSED: isNaN(undefined/2) [./Number.as:238] -PASSED: !isFinite(undefined/2) [./Number.as:239] -PASSED: 2/undefined != Infinity [./Number.as:240] -PASSED: !isFinite(Infinity) [./Number.as:248] -PASSED: !isFinite(2/undefined) [./Number.as:249] -PASSED: typeof(("string"<7)) == 'undefined' [./Number.as:251] -PASSED: typeof((7<"string")) == 'undefined' [./Number.as:252] -PASSED: typeof(("18"<7)) == 'boolean' [./Number.as:253] -PASSED: typeof((7<"18")) == 'boolean' [./Number.as:254] -PASSED: ("18"<"7") == true [./Number.as:255] -PASSED: ("18"<7) == false [./Number.as:256] -PASSED: (7<"18") == true [./Number.as:257] -PASSED: typeof(_root<"18") == 'undefined' [./Number.as:258] -PASSED: typeof(undefined<7) == 'undefined' [./Number.as:261] -PASSED: typeof(undefined>7) == 'undefined' [./Number.as:262] -PASSED: typeof(undefined<-7) == 'undefined' [./Number.as:263] -PASSED: typeof(undefined>-7) == 'undefined' [./Number.as:264] -PASSED: typeof(7undefined) == 'undefined' [./Number.as:266] -PASSED: typeof(-7undefined) == 'undefined' [./Number.as:268] -PASSED: typeof(null<7) == 'undefined' [./Number.as:269] -PASSED: typeof(null>7) == 'undefined' [./Number.as:270] -PASSED: typeof(null<-7) == 'undefined' [./Number.as:271] -PASSED: typeof(null>-7) == 'undefined' [./Number.as:272] -PASSED: typeof(7null) == 'undefined' [./Number.as:274] -PASSED: typeof(-7null) == 'undefined' [./Number.as:276] -PASSED: '0' + -1 == '0-1' [./Number.as:298] -PASSED: '00' == 0 [./Number.as:301] -PASSED: "0xFF0000" == 0xFF0000 [./Number.as:305] -PASSED: "0XFF0000" == 0xFF0000 [./Number.as:306] -PASSED: "0Xff0000" == 0xFF0000 [./Number.as:307] -PASSED: "0Xff000000" != 0xFF000000 [./Number.as:308] -PASSED: "07700000000" == 07700000000 [./Number.as:309] -PASSED: "077000000000" != 077000000000 [./Number.as:310] -PASSED: isNaN("0xff000z") [./Number.as:316] -PASSED: typeof(Number.prototype.valueOf) == 'function' [./Number.as:318] -PASSED: typeof(Number.prototype.toString) == 'function' [./Number.as:319] -PASSED: isNaN(Number.valueOf()) [./Number.as:321] -PASSED: typeof(Number) == 'function' [./Number.as:326] -PASSED: Number.hasOwnProperty('prototype') [./Number.as:327] -PASSED: Number.hasOwnProperty('__proto__') [./Number.as:328] -FAILED: Number.hasOwnProperty('constructor') [./Number.as:329] -PASSED: typeof(Number.prototype) == 'object' [./Number.as:330] -PASSED: Number.prototype != Object [./Number.as:340] -PASSED: typeof(Number.__proto__) == 'object' [./Number.as:352] -PASSED: Number.prototype.__proto__ == Object.prototype [./Number.as:353] -PASSED: typeof(Number.toString) == 'function' [./Number.as:355] -PASSED: typeof(Number.valueOf) == 'function' [./Number.as:356] -PASSED: !Number.hasOwnProperty('valueOf') [./Number.as:357] -PASSED: !Number.hasOwnProperty('toString') [./Number.as:358] -PASSED: !Number.__proto__.hasOwnProperty('valueOf') [./Number.as:359] -PASSED: !Number.__proto__.hasOwnProperty('toString') [./Number.as:360] -PASSED: Number.__proto__.__proto__ == Object.prototype [./Number.as:361] -PASSED: typeof(Number.valueOf()) == 'function' [./Number.as:363] -PASSED: typeof(a.toString) == 'function' [./Number.as:366] -PASSED: typeof(a.valueOf) == 'function' [./Number.as:367] -PASSED: !a.hasOwnProperty('valueOf') [./Number.as:368] -PASSED: a.__proto__.hasOwnProperty('valueOf') [./Number.as:374] -PASSED: !a.hasOwnProperty('toString') [./Number.as:375] -PASSED: typeof(anum.toString) == 'function' [./Number.as:379] -PASSED: typeof(anum.valueOf) == 'function' [./Number.as:380] -PASSED: !anum.hasOwnProperty('valueOf') [./Number.as:381] -PASSED: anum.__proto__.hasOwnProperty('valueOf') [./Number.as:382] -PASSED: !anum.hasOwnProperty('toString') [./Number.as:383] -PASSED: val == 4 [./Number.as:393] -PASSED: isNaN(val) [./Number.as:400] -PASSED: isNaN(val) [./Number.as:408] -PASSED: val == 10 [./Number.as:412] -PASSED: val == 300 [./Number.as:415] -PASSED: val == 20 [./Number.as:418] -PASSED: isNaN(val) [./Number.as:421] -PASSED: val == 2.6 [./Number.as:424] -PASSED: isNaN(val) [./Number.as:427] -PASSED: isNaN(val) [./Number.as:430] -PASSED: val != Infinity [./Number.as:433] -PASSED: isNaN(val) [./Number.as:434] -PASSED: val != Infinity [./Number.as:437] -PASSED: isNaN(val) [./Number.as:438] -PASSED: isNaN(val) [./Number.as:442] -PASSED: val == 7 [./Number.as:446] -PASSED: isNaN(val) [./Number.as:451] -PASSED: val == 9 [./Number.as:461] -PASSED: 9 == val [./Number.as:462] -PASSED: isNaN(450 - undefined) [./Number.as:472] -PASSED: a.toString() == "11111111111111.1" [./Number.as:489] -PASSED: a.toString() == "111111111111111" [./Number.as:492] -PASSED: a.toString() == "1.11111111111111e+15" [./Number.as:495] -PASSED: a.toString() == "0.000123456789012346" [./Number.as:498] -PASSED: a.toString() == "0.0000123456789012346" [./Number.as:501] -PASSED: a.toString() == "1.23456789012346e-6" [./Number.as:504] -PASSED: a.toString() == "1.23456789012346e-7" [./Number.as:507] -PASSED: a.toString() == "0.0999999999999999" [./Number.as:510] -PASSED: a.toString() == "0.999999999999999" [./Number.as:513] -PASSED: a.toString() == "0.999999999999999" [./Number.as:516] -PASSED: a.toString() == "0.000054" [./Number.as:519] -PASSED: a.toString() == "5.4e-6" [./Number.as:522] -PASSED: a.toString(10) == "5.4e-6" [./Number.as:523] -PASSED: a.toString() == "2.12345678912346" [./Number.as:526] -PASSED: a.toString() == "-2.12345678912346" [./Number.as:529] -PASSED: a.toString() == "0.123456789123457" [./Number.as:532] -PASSED: a.toString() == "-0.123456789123457" [./Number.as:535] -PASSED: a.toString() == "1.23456789123456e+308" [./Number.as:538] -PASSED: a.toString() == "-1.23456789123456e+308" [./Number.as:541] -PASSED: a.toString() == "1.23456789123457e-308" [./Number.as:544] -PASSED: a.toString() == "-1.23456789123457e-308" [./Number.as:547] -PASSED: a.toString() == "1.23456789123457e-6" [./Number.as:550] -PASSED: a.toString() == "-1.23456789123457e-6" [./Number.as:553] -PASSED: a.toString() == "-1.24456789123457e-6" [./Number.as:556] -PASSED: a.toString() == "-1.24466789123457e-6" [./Number.as:559] -PASSED: a.toString() == "-0.00123456789123457" [./Number.as:562] -PASSED: a.toString() == "-0.00124456789123456" [./Number.as:565] -PASSED: a.toString() == "-0.00123456789123456" [./Number.as:568] -PASSED: a.toString() == "0.00123456789123457" [./Number.as:571] -PASSED: a.toString() == "0.00123456789123456" [./Number.as:574] -PASSED: a == 2 [./Number.as:577] -PASSED: a == 2 [./Number.as:581] -PASSED: isNaN(a) [./Number.as:584] -PASSED: isNaN(a) [./Number.as:587] -PASSED: a == 2 [./Number.as:590] -PASSED: a == 2 [./Number.as:593] -PASSED: a == 2 [./Number.as:596] -PASSED: a == -2 [./Number.as:599] -PASSED: a == -0.00002 [./Number.as:602] -PASSED: a == -200000 [./Number.as:605] -PASSED: a == -56 [./Number.as:608] -PASSED: a.toString() == "NaN" [./Number.as:611] -PASSED: a == -56 [./Number.as:614] -PASSED: a == -56 [./Number.as:617] -PASSED: a == 2 [./Number.as:624] -PASSED: a == 2 [./Number.as:631] -PASSED: isNaN(a) [./Number.as:635] -PASSED: isNaN(a) [./Number.as:638] -PASSED: a == -2 [./Number.as:644] -PASSED: a == 1 [./Number.as:651] -PASSED: a == 63 [./Number.as:658] -PASSED: a == -63 [./Number.as:665] -PASSED: a == 63 [./Number.as:672] -PASSED: a == 77 [./Number.as:676] -PASSED: isNaN(0/0) [./Number.as:678] -PASSED: as == 'ff0000' [./Number.as:682] -#passed: 230 -#failed: 1 -#total tests run: 231 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Number-v8/test.toml b/tests/tests/swfs/from_gnash/actionscript.all/Number-v8/test.toml index 11e963f5a927..f4f16330e8b1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Number-v8/test.toml +++ b/tests/tests/swfs/from_gnash/actionscript.all/Number-v8/test.toml @@ -1,2 +1 @@ num_frames = 30 -known_failure = true diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp18-20.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp18-20.ruffle.txt index 64871e5bee87..da73d6698e65 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp18-20.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp18-20.ruffle.txt @@ -4,7 +4,7 @@ SWF5 PASSED: typeof(Object) == 'function' [./Object.as:29] PASSED: typeof(Object.prototype) == 'object' [./Object.as:30] PASSED: typeof(Object.constructor) == 'function' [./Object.as:31] -FAILED: expected: 'undefined' obtained: object [./Object.as:33] +PASSED: typeof(Object.__proto__) == 'undefined' [./Object.as:33] PASSED: typeof(Object.__proto__) == 'object' [./Object.as:37] PASSED: typeof(Object.registerClass) == 'function' [./Object.as:40] PASSED: Object.prototype.registerClass == undefined [./Object.as:41] @@ -43,7 +43,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] PASSED: typeof(obj.toString()) == 'string' [./Object.as:181] @@ -140,6 +140,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 129 -#failed: 10 +#passed: 131 +#failed: 8 #total tests run: 139 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp9-19.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp9-19.ruffle.txt index 64871e5bee87..da73d6698e65 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp9-19.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v5/output.fp9-19.ruffle.txt @@ -4,7 +4,7 @@ SWF5 PASSED: typeof(Object) == 'function' [./Object.as:29] PASSED: typeof(Object.prototype) == 'object' [./Object.as:30] PASSED: typeof(Object.constructor) == 'function' [./Object.as:31] -FAILED: expected: 'undefined' obtained: object [./Object.as:33] +PASSED: typeof(Object.__proto__) == 'undefined' [./Object.as:33] PASSED: typeof(Object.__proto__) == 'object' [./Object.as:37] PASSED: typeof(Object.registerClass) == 'function' [./Object.as:40] PASSED: Object.prototype.registerClass == undefined [./Object.as:41] @@ -43,7 +43,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] PASSED: typeof(obj.toString()) == 'string' [./Object.as:181] @@ -140,6 +140,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 129 -#failed: 10 +#passed: 131 +#failed: 8 #total tests run: 139 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp18-20.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp18-20.ruffle.txt index c9416cf26ab1..5531e2abe58c 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp18-20.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp18-20.ruffle.txt @@ -19,7 +19,7 @@ PASSED: typeof(Object.prototype.isPrototypeOf) == 'function' [./Object.as:63] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:64] PASSED: Object.prototype.constructor == Object [./Object.as:66] PASSED: typeof(Object.prototype.toString.constructor) == 'function' [./Object.as:67] -FAILED: expected: Function obtained: [type Function] [./Object.as:71] +PASSED: Object.prototype.toString.constructor == Function [./Object.as:71] PASSED: Object.prototype.prototype == undefined [./Object.as:75] PASSED: Object.prototype.__proto__ == undefined [./Object.as:81] PASSED: !Object.prototype.hasOwnProperty("__proto__") [./Object.as:82] @@ -27,7 +27,7 @@ PASSED: Object.hasOwnProperty('__proto__') [./Object.as:89] PASSED: O == Object [./Object.as:92] PASSED: O.hasOwnProperty('__proto__') [./Object.as:95] PASSED: O.hasOwnProperty('registerClass') [./Object.as:96] -FAILED: O.hasOwnProperty('constructor') [./Object.as:97] +PASSED: O.hasOwnProperty('constructor') [./Object.as:97] PASSED: O.hasOwnProperty('prototype') [./Object.as:98] PASSED: O.__proto__.hasOwnProperty('__proto__') [./Object.as:101] PASSED: O.__proto__.hasOwnProperty('apply') [./Object.as:102] @@ -36,7 +36,7 @@ PASSED: O.__proto__.hasOwnProperty('constructor') [./Object.as:104] PASSED: O.__proto__ != Object.prototype [./Object.as:106] PASSED: O.__proto__.__proto__ == Object.prototype [./Object.as:107] PASSED: O.constructor.hasOwnProperty('__proto__') [./Object.as:110] -FAILED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] +PASSED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] PASSED: O.constructor.hasOwnProperty('prototype') [./Object.as:112] PASSED: O.prototype.hasOwnProperty('addProperty') [./Object.as:115] PASSED: O.prototype.hasOwnProperty('constructor') [./Object.as:116] @@ -48,10 +48,10 @@ PASSED: O.prototype.hasOwnProperty('valueOf') [./Object.as:121] PASSED: O.prototype.hasOwnProperty('unwatch') [./Object.as:122] PASSED: O.prototype.hasOwnProperty('watch') [./Object.as:123] PASSED: O.prototype.constructor.hasOwnProperty('__proto__') [./Object.as:126] -FAILED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] +PASSED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] PASSED: O.prototype.constructor.hasOwnProperty('prototype') [./Object.as:128] PASSED: O.prototype.constructor == Object [./Object.as:130] -FAILED: expected: Function obtained: [type Function] [./Object.as:131] +PASSED: O.constructor == Function [./Object.as:131] PASSED: typeof(Object.prototype.addProperty) == 'function' [./Object.as:133] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:134] PASSED: typeof(Object.prototype.isPropertyEnumerable) == 'function' [./Object.as:135] @@ -70,7 +70,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: obj.hasOwnProperty('constructor') [./Object.as:170] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] @@ -328,6 +328,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 284 -#failed: 43 +#passed: 290 +#failed: 37 #total tests run: 327 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp9-19.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp9-19.ruffle.txt index c9416cf26ab1..5531e2abe58c 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp9-19.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v6/output.fp9-19.ruffle.txt @@ -19,7 +19,7 @@ PASSED: typeof(Object.prototype.isPrototypeOf) == 'function' [./Object.as:63] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:64] PASSED: Object.prototype.constructor == Object [./Object.as:66] PASSED: typeof(Object.prototype.toString.constructor) == 'function' [./Object.as:67] -FAILED: expected: Function obtained: [type Function] [./Object.as:71] +PASSED: Object.prototype.toString.constructor == Function [./Object.as:71] PASSED: Object.prototype.prototype == undefined [./Object.as:75] PASSED: Object.prototype.__proto__ == undefined [./Object.as:81] PASSED: !Object.prototype.hasOwnProperty("__proto__") [./Object.as:82] @@ -27,7 +27,7 @@ PASSED: Object.hasOwnProperty('__proto__') [./Object.as:89] PASSED: O == Object [./Object.as:92] PASSED: O.hasOwnProperty('__proto__') [./Object.as:95] PASSED: O.hasOwnProperty('registerClass') [./Object.as:96] -FAILED: O.hasOwnProperty('constructor') [./Object.as:97] +PASSED: O.hasOwnProperty('constructor') [./Object.as:97] PASSED: O.hasOwnProperty('prototype') [./Object.as:98] PASSED: O.__proto__.hasOwnProperty('__proto__') [./Object.as:101] PASSED: O.__proto__.hasOwnProperty('apply') [./Object.as:102] @@ -36,7 +36,7 @@ PASSED: O.__proto__.hasOwnProperty('constructor') [./Object.as:104] PASSED: O.__proto__ != Object.prototype [./Object.as:106] PASSED: O.__proto__.__proto__ == Object.prototype [./Object.as:107] PASSED: O.constructor.hasOwnProperty('__proto__') [./Object.as:110] -FAILED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] +PASSED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] PASSED: O.constructor.hasOwnProperty('prototype') [./Object.as:112] PASSED: O.prototype.hasOwnProperty('addProperty') [./Object.as:115] PASSED: O.prototype.hasOwnProperty('constructor') [./Object.as:116] @@ -48,10 +48,10 @@ PASSED: O.prototype.hasOwnProperty('valueOf') [./Object.as:121] PASSED: O.prototype.hasOwnProperty('unwatch') [./Object.as:122] PASSED: O.prototype.hasOwnProperty('watch') [./Object.as:123] PASSED: O.prototype.constructor.hasOwnProperty('__proto__') [./Object.as:126] -FAILED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] +PASSED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] PASSED: O.prototype.constructor.hasOwnProperty('prototype') [./Object.as:128] PASSED: O.prototype.constructor == Object [./Object.as:130] -FAILED: expected: Function obtained: [type Function] [./Object.as:131] +PASSED: O.constructor == Function [./Object.as:131] PASSED: typeof(Object.prototype.addProperty) == 'function' [./Object.as:133] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:134] PASSED: typeof(Object.prototype.isPropertyEnumerable) == 'function' [./Object.as:135] @@ -70,7 +70,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: obj.hasOwnProperty('constructor') [./Object.as:170] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] @@ -328,6 +328,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 284 -#failed: 43 +#passed: 290 +#failed: 37 #total tests run: 327 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp18-20.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp18-20.ruffle.txt index eb1065c24045..d9bb1544d0a2 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp18-20.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp18-20.ruffle.txt @@ -19,7 +19,7 @@ PASSED: typeof(Object.prototype.isPrototypeOf) == 'function' [./Object.as:63] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:64] PASSED: Object.prototype.constructor == Object [./Object.as:66] PASSED: typeof(Object.prototype.toString.constructor) == 'function' [./Object.as:67] -FAILED: expected: Function obtained: [type Function] [./Object.as:71] +PASSED: Object.prototype.toString.constructor == Function [./Object.as:71] PASSED: Object.prototype.prototype == undefined [./Object.as:75] PASSED: Object.prototype.__proto__ == undefined [./Object.as:81] PASSED: !Object.prototype.hasOwnProperty("__proto__") [./Object.as:82] @@ -27,7 +27,7 @@ PASSED: Object.hasOwnProperty('__proto__') [./Object.as:89] PASSED: O == Object [./Object.as:92] PASSED: O.hasOwnProperty('__proto__') [./Object.as:95] PASSED: O.hasOwnProperty('registerClass') [./Object.as:96] -FAILED: O.hasOwnProperty('constructor') [./Object.as:97] +PASSED: O.hasOwnProperty('constructor') [./Object.as:97] PASSED: O.hasOwnProperty('prototype') [./Object.as:98] PASSED: O.__proto__.hasOwnProperty('__proto__') [./Object.as:101] PASSED: O.__proto__.hasOwnProperty('apply') [./Object.as:102] @@ -36,7 +36,7 @@ PASSED: O.__proto__.hasOwnProperty('constructor') [./Object.as:104] PASSED: O.__proto__ != Object.prototype [./Object.as:106] PASSED: O.__proto__.__proto__ == Object.prototype [./Object.as:107] PASSED: O.constructor.hasOwnProperty('__proto__') [./Object.as:110] -FAILED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] +PASSED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] PASSED: O.constructor.hasOwnProperty('prototype') [./Object.as:112] PASSED: O.prototype.hasOwnProperty('addProperty') [./Object.as:115] PASSED: O.prototype.hasOwnProperty('constructor') [./Object.as:116] @@ -48,10 +48,10 @@ PASSED: O.prototype.hasOwnProperty('valueOf') [./Object.as:121] PASSED: O.prototype.hasOwnProperty('unwatch') [./Object.as:122] PASSED: O.prototype.hasOwnProperty('watch') [./Object.as:123] PASSED: O.prototype.constructor.hasOwnProperty('__proto__') [./Object.as:126] -FAILED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] +PASSED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] PASSED: O.prototype.constructor.hasOwnProperty('prototype') [./Object.as:128] PASSED: O.prototype.constructor == Object [./Object.as:130] -FAILED: expected: Function obtained: [type Function] [./Object.as:131] +PASSED: O.constructor == Function [./Object.as:131] PASSED: typeof(Object.prototype.addProperty) == 'function' [./Object.as:133] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:134] PASSED: typeof(Object.prototype.isPropertyEnumerable) == 'function' [./Object.as:135] @@ -70,7 +70,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: !obj.hasOwnProperty('constructor') [./Object.as:173] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] @@ -328,6 +328,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 293 -#failed: 34 +#passed: 299 +#failed: 28 #total tests run: 327 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp9-19.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp9-19.ruffle.txt index eb1065c24045..d9bb1544d0a2 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp9-19.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v7/output.fp9-19.ruffle.txt @@ -19,7 +19,7 @@ PASSED: typeof(Object.prototype.isPrototypeOf) == 'function' [./Object.as:63] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:64] PASSED: Object.prototype.constructor == Object [./Object.as:66] PASSED: typeof(Object.prototype.toString.constructor) == 'function' [./Object.as:67] -FAILED: expected: Function obtained: [type Function] [./Object.as:71] +PASSED: Object.prototype.toString.constructor == Function [./Object.as:71] PASSED: Object.prototype.prototype == undefined [./Object.as:75] PASSED: Object.prototype.__proto__ == undefined [./Object.as:81] PASSED: !Object.prototype.hasOwnProperty("__proto__") [./Object.as:82] @@ -27,7 +27,7 @@ PASSED: Object.hasOwnProperty('__proto__') [./Object.as:89] PASSED: O == Object [./Object.as:92] PASSED: O.hasOwnProperty('__proto__') [./Object.as:95] PASSED: O.hasOwnProperty('registerClass') [./Object.as:96] -FAILED: O.hasOwnProperty('constructor') [./Object.as:97] +PASSED: O.hasOwnProperty('constructor') [./Object.as:97] PASSED: O.hasOwnProperty('prototype') [./Object.as:98] PASSED: O.__proto__.hasOwnProperty('__proto__') [./Object.as:101] PASSED: O.__proto__.hasOwnProperty('apply') [./Object.as:102] @@ -36,7 +36,7 @@ PASSED: O.__proto__.hasOwnProperty('constructor') [./Object.as:104] PASSED: O.__proto__ != Object.prototype [./Object.as:106] PASSED: O.__proto__.__proto__ == Object.prototype [./Object.as:107] PASSED: O.constructor.hasOwnProperty('__proto__') [./Object.as:110] -FAILED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] +PASSED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] PASSED: O.constructor.hasOwnProperty('prototype') [./Object.as:112] PASSED: O.prototype.hasOwnProperty('addProperty') [./Object.as:115] PASSED: O.prototype.hasOwnProperty('constructor') [./Object.as:116] @@ -48,10 +48,10 @@ PASSED: O.prototype.hasOwnProperty('valueOf') [./Object.as:121] PASSED: O.prototype.hasOwnProperty('unwatch') [./Object.as:122] PASSED: O.prototype.hasOwnProperty('watch') [./Object.as:123] PASSED: O.prototype.constructor.hasOwnProperty('__proto__') [./Object.as:126] -FAILED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] +PASSED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] PASSED: O.prototype.constructor.hasOwnProperty('prototype') [./Object.as:128] PASSED: O.prototype.constructor == Object [./Object.as:130] -FAILED: expected: Function obtained: [type Function] [./Object.as:131] +PASSED: O.constructor == Function [./Object.as:131] PASSED: typeof(Object.prototype.addProperty) == 'function' [./Object.as:133] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:134] PASSED: typeof(Object.prototype.isPropertyEnumerable) == 'function' [./Object.as:135] @@ -70,7 +70,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: !obj.hasOwnProperty('constructor') [./Object.as:173] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] @@ -328,6 +328,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 293 -#failed: 34 +#passed: 299 +#failed: 28 #total tests run: 327 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp18-20.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp18-20.ruffle.txt index 7402d8bce087..d3a9bbae9096 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp18-20.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp18-20.ruffle.txt @@ -19,7 +19,7 @@ PASSED: typeof(Object.prototype.isPrototypeOf) == 'function' [./Object.as:63] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:64] PASSED: Object.prototype.constructor == Object [./Object.as:66] PASSED: typeof(Object.prototype.toString.constructor) == 'function' [./Object.as:67] -FAILED: expected: Function obtained: [type Function] [./Object.as:71] +PASSED: Object.prototype.toString.constructor == Function [./Object.as:71] PASSED: Object.prototype.prototype == undefined [./Object.as:75] PASSED: Object.prototype.__proto__ == undefined [./Object.as:81] PASSED: !Object.prototype.hasOwnProperty("__proto__") [./Object.as:82] @@ -27,7 +27,7 @@ PASSED: Object.hasOwnProperty('__proto__') [./Object.as:89] PASSED: O == Object [./Object.as:92] PASSED: O.hasOwnProperty('__proto__') [./Object.as:95] PASSED: O.hasOwnProperty('registerClass') [./Object.as:96] -FAILED: O.hasOwnProperty('constructor') [./Object.as:97] +PASSED: O.hasOwnProperty('constructor') [./Object.as:97] PASSED: O.hasOwnProperty('prototype') [./Object.as:98] PASSED: O.__proto__.hasOwnProperty('__proto__') [./Object.as:101] PASSED: O.__proto__.hasOwnProperty('apply') [./Object.as:102] @@ -36,7 +36,7 @@ PASSED: O.__proto__.hasOwnProperty('constructor') [./Object.as:104] PASSED: O.__proto__ != Object.prototype [./Object.as:106] PASSED: O.__proto__.__proto__ == Object.prototype [./Object.as:107] PASSED: O.constructor.hasOwnProperty('__proto__') [./Object.as:110] -FAILED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] +PASSED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] PASSED: O.constructor.hasOwnProperty('prototype') [./Object.as:112] PASSED: O.prototype.hasOwnProperty('addProperty') [./Object.as:115] PASSED: O.prototype.hasOwnProperty('constructor') [./Object.as:116] @@ -48,10 +48,10 @@ PASSED: O.prototype.hasOwnProperty('valueOf') [./Object.as:121] PASSED: O.prototype.hasOwnProperty('unwatch') [./Object.as:122] PASSED: O.prototype.hasOwnProperty('watch') [./Object.as:123] PASSED: O.prototype.constructor.hasOwnProperty('__proto__') [./Object.as:126] -FAILED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] +PASSED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] PASSED: O.prototype.constructor.hasOwnProperty('prototype') [./Object.as:128] PASSED: O.prototype.constructor == Object [./Object.as:130] -FAILED: expected: Function obtained: [type Function] [./Object.as:131] +PASSED: O.constructor == Function [./Object.as:131] PASSED: typeof(Object.prototype.addProperty) == 'function' [./Object.as:133] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:134] PASSED: typeof(Object.prototype.isPropertyEnumerable) == 'function' [./Object.as:135] @@ -70,7 +70,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: !obj.hasOwnProperty('constructor') [./Object.as:173] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] @@ -328,6 +328,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 293 -#failed: 34 +#passed: 299 +#failed: 28 #total tests run: 327 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp9-19.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp9-19.ruffle.txt index 7402d8bce087..d3a9bbae9096 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp9-19.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/Object-v8/output.fp9-19.ruffle.txt @@ -19,7 +19,7 @@ PASSED: typeof(Object.prototype.isPrototypeOf) == 'function' [./Object.as:63] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:64] PASSED: Object.prototype.constructor == Object [./Object.as:66] PASSED: typeof(Object.prototype.toString.constructor) == 'function' [./Object.as:67] -FAILED: expected: Function obtained: [type Function] [./Object.as:71] +PASSED: Object.prototype.toString.constructor == Function [./Object.as:71] PASSED: Object.prototype.prototype == undefined [./Object.as:75] PASSED: Object.prototype.__proto__ == undefined [./Object.as:81] PASSED: !Object.prototype.hasOwnProperty("__proto__") [./Object.as:82] @@ -27,7 +27,7 @@ PASSED: Object.hasOwnProperty('__proto__') [./Object.as:89] PASSED: O == Object [./Object.as:92] PASSED: O.hasOwnProperty('__proto__') [./Object.as:95] PASSED: O.hasOwnProperty('registerClass') [./Object.as:96] -FAILED: O.hasOwnProperty('constructor') [./Object.as:97] +PASSED: O.hasOwnProperty('constructor') [./Object.as:97] PASSED: O.hasOwnProperty('prototype') [./Object.as:98] PASSED: O.__proto__.hasOwnProperty('__proto__') [./Object.as:101] PASSED: O.__proto__.hasOwnProperty('apply') [./Object.as:102] @@ -36,7 +36,7 @@ PASSED: O.__proto__.hasOwnProperty('constructor') [./Object.as:104] PASSED: O.__proto__ != Object.prototype [./Object.as:106] PASSED: O.__proto__.__proto__ == Object.prototype [./Object.as:107] PASSED: O.constructor.hasOwnProperty('__proto__') [./Object.as:110] -FAILED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] +PASSED: O.constructor.hasOwnProperty('constructor') [./Object.as:111] PASSED: O.constructor.hasOwnProperty('prototype') [./Object.as:112] PASSED: O.prototype.hasOwnProperty('addProperty') [./Object.as:115] PASSED: O.prototype.hasOwnProperty('constructor') [./Object.as:116] @@ -48,10 +48,10 @@ PASSED: O.prototype.hasOwnProperty('valueOf') [./Object.as:121] PASSED: O.prototype.hasOwnProperty('unwatch') [./Object.as:122] PASSED: O.prototype.hasOwnProperty('watch') [./Object.as:123] PASSED: O.prototype.constructor.hasOwnProperty('__proto__') [./Object.as:126] -FAILED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] +PASSED: O.prototype.constructor.hasOwnProperty('constructor') [./Object.as:127] PASSED: O.prototype.constructor.hasOwnProperty('prototype') [./Object.as:128] PASSED: O.prototype.constructor == Object [./Object.as:130] -FAILED: expected: Function obtained: [type Function] [./Object.as:131] +PASSED: O.constructor == Function [./Object.as:131] PASSED: typeof(Object.prototype.addProperty) == 'function' [./Object.as:133] PASSED: typeof(Object.prototype.hasOwnProperty) == 'function' [./Object.as:134] PASSED: typeof(Object.prototype.isPropertyEnumerable) == 'function' [./Object.as:135] @@ -70,7 +70,7 @@ PASSED: obj.__proto__.constructor == Object [./Object.as:161] PASSED: typeof(obj.toString) == 'function' [./Object.as:164] PASSED: typeof(obj.valueOf) == 'function' [./Object.as:165] PASSED: typeof(obj.addProperty) == 'function' [./Object.as:166] -FAILED: Object.hasOwnProperty('constructor') [./Object.as:168] +PASSED: Object.hasOwnProperty('constructor') [./Object.as:168] PASSED: !obj.hasOwnProperty('constructor') [./Object.as:173] PASSED: obj.hasOwnProperty('__constructor__') [./Object.as:176] PASSED: obj.member == 1 [./Object.as:180] @@ -328,6 +328,6 @@ FAILED: expected: "undefined" obtained: object [./Object.as:1019] PASSED: typeof(o) == "object" [./Object.as:1021] PASSED: o.toString() == "true" [./Object.as:1022] FAILED: expected: "undefined" obtained: object [./Object.as:1026] -#passed: 293 -#failed: 34 +#passed: 299 +#failed: 28 #total tests run: 327 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/String-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/String-v5/output.ruffle.txt index 415bd03a844e..76787e3831e7 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/String-v5/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/String-v5/output.ruffle.txt @@ -3,7 +3,7 @@ SWF5 [String.as debug-22403-05c7ba106] PASSED: typeof(String) == 'function' [./String.as:24] PASSED: typeof(String.prototype) == 'object' [./String.as:25] -FAILED: expected: Function.prototype obtained: [object Object] [./String.as:26] +PASSED: String.__proto__ == Function.prototype [./String.as:26] PASSED: typeof(String.prototype.valueOf) == 'function' [./String.as:27] PASSED: typeof(String.prototype.toString) == 'function' [./String.as:28] PASSED: typeof(String.prototype.toUpperCase) == 'function' [./String.as:29] @@ -19,8 +19,8 @@ PASSED: typeof(String.prototype.split) == 'function' [./String.as:38] PASSED: typeof(String.prototype.substr) == 'function' [./String.as:39] PASSED: typeof(String.prototype.length) == 'undefined' [./String.as:40] PASSED: typeof(String.prototype.fromCharCode) == 'undefined' [./String.as:41] -FAILED: expected: 'undefined' obtained: function [./String.as:46] -FAILED: expected: 'undefined' obtained: function [./String.as:47] +PASSED: typeof(String.valueOf) == 'undefined' [./String.as:46] +PASSED: typeof(String.toString) == 'undefined' [./String.as:47] PASSED: typeof(String.toUpperCase) == 'undefined' [./String.as:49] PASSED: typeof(String.toLowerCase) == 'undefined' [./String.as:50] PASSED: typeof(String.charAt) == 'undefined' [./String.as:51] @@ -207,8 +207,8 @@ PASSED: a.slice(0,0) == "" [./String.as:683] PASSED: a.slice(0,1) == "a" [./String.as:684] PASSED: a.slice(1,1) == "" [./String.as:685] PASSED: a.slice(1,2) == "b" [./String.as:686] -FAILED: expected: undefined obtained: vw [./String.as:693] -FAILED: expected: undefined obtained: vw [./String.as:694] +PASSED: a.slice.call(a, -5, -3) == undefined [./String.as:693] +PASSED: String.prototype.slice.call(a, -5, -3) == undefined [./String.as:694] PASSED: a.slice(-4) == "wxyz" [./String.as:696] PASSED: o.slice(0,1) == "[" [./String.as:700] PASSED: a.substring(5,2) == "cde" [./String.as:708] @@ -257,7 +257,7 @@ PASSED: b == "" [./String.as:1063] PASSED: b == "l" [./String.as:1072] PASSED: b == "f" [./String.as:1082] FAILED: stringInstance.__proto__ != undefined [./String.as:1091] -FAILED: expected: "" obtained: [type Function] [./String.as:1095] +PASSED: "" + stringInstance.__proto__.valueOf == "" [./String.as:1095] PASSED: stringInstance.__proto__ == String.prototype [./String.as:1098] PASSED: typeOf(String.prototype.constructor) == 'function' [./String.as:1099] PASSED: String.prototype.constructor == String [./String.as:1100] @@ -319,15 +319,15 @@ PASSED: a.length == 2 [./String.as:1253] PASSED: a == "123" [./String.as:1254] PASSED: a.length == "another string" [./String.as:1256] PASSED: a.length == "another string" [./String.as:1258] -FAILED: expected: 0 obtained: 2 [./String.as:1271] -FAILED: expected: "toString" obtained: prototype,toString [./String.as:1277] +PASSED: a.length == 0 [./String.as:1271] +PASSED: a.toString() == "toString" [./String.as:1277] PASSED: typeof(String.__proto__) == 'object' [./String.as:1279] PASSED: typeof(Object.prototype) == 'object' [./String.as:1280] PASSED: String.gotcha == 1 [./String.as:1282] PASSED: !String.__proto__.hasOwnProperty("gotcha") [./String.as:1284] PASSED: String.__proto__.__proto__.hasOwnProperty("gotcha") [./String.as:1285] PASSED: String.__proto__.__proto__ == Object.prototype [./String.as:1286] -FAILED: expected: "gotcha,toString" obtained: gotcha,prototype,toString [./String.as:1289] +PASSED: a.toString() == "gotcha,toString" [./String.as:1289] PASSED: !String.hasOwnProperty('toString') [./String.as:1298] PASSED: !String.hasOwnProperty('valueOf') [./String.as:1299] PASSED: String.hasOwnProperty('__proto__') [./String.as:1300] @@ -353,6 +353,6 @@ PASSED: saved1.value == 'string' [./String.as:1332] PASSED: saved2.value == 'another string' [./String.as:1333] PASSED: saved2.value.prop != saved3.value.prop [./String.as:1337] PASSED: saved2.value !== saved3.value [./String.as:1338] -#passed: 333 -#failed: 19 +#passed: 342 +#failed: 10 #total tests run: 352 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/String-v6/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/String-v6/output.ruffle.txt index 9b2b25102223..7c62670a13c8 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/String-v6/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/String-v6/output.ruffle.txt @@ -353,15 +353,15 @@ PASSED: a == "123" [./String.as:1254] PASSED: a.length == "another string" [./String.as:1256] PASSED: a.length == "another string" [./String.as:1258] PASSED: a.hasOwnProperty('length') [./String.as:1260] -FAILED: expected: "toString" obtained: prototype,toString [./String.as:1269] -FAILED: expected: "toString" obtained: prototype,toString [./String.as:1277] +PASSED: a.toString() == "toString" [./String.as:1269] +PASSED: a.toString() == "toString" [./String.as:1277] PASSED: typeof(String.__proto__) == 'object' [./String.as:1279] PASSED: typeof(Object.prototype) == 'object' [./String.as:1280] PASSED: String.gotcha == 1 [./String.as:1282] PASSED: !String.__proto__.hasOwnProperty("gotcha") [./String.as:1284] PASSED: String.__proto__.__proto__.hasOwnProperty("gotcha") [./String.as:1285] PASSED: String.__proto__.__proto__ == Object.prototype [./String.as:1286] -FAILED: expected: "gotcha,toString" obtained: gotcha,prototype,toString [./String.as:1289] +PASSED: a.toString() == "gotcha,toString" [./String.as:1289] PASSED: typeof(saved1.value) == 'object' [./String.as:1327] PASSED: saved1.value == 'string' [./String.as:1328] PASSED: saved1.value == 'string' [./String.as:1330] @@ -372,6 +372,6 @@ PASSED: saved2.value !== saved3.value [./String.as:1338] PASSED: a.id == 'wonder1' [./String.as:1352] PASSED: a.id == 'wonder2' [./String.as:1354] PASSED: a.id == 'wonder3' [./String.as:1356] -#passed: 358 -#failed: 13 +#passed: 361 +#failed: 10 #total tests run: 371 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/String-v7/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/String-v7/output.ruffle.txt index 8295a8a6c0a2..dd12fb6496ae 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/String-v7/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/String-v7/output.ruffle.txt @@ -353,15 +353,15 @@ PASSED: a == "123" [./String.as:1254] PASSED: a.length == "another string" [./String.as:1256] PASSED: a.length == "another string" [./String.as:1258] PASSED: a.hasOwnProperty('length') [./String.as:1260] -FAILED: expected: "toString" obtained: prototype,toString [./String.as:1269] -FAILED: expected: "toString" obtained: prototype,toString [./String.as:1277] +PASSED: a.toString() == "toString" [./String.as:1269] +PASSED: a.toString() == "toString" [./String.as:1277] PASSED: typeof(String.__proto__) == 'object' [./String.as:1279] PASSED: typeof(Object.prototype) == 'object' [./String.as:1280] PASSED: String.gotcha == 1 [./String.as:1282] PASSED: !String.__proto__.hasOwnProperty("gotcha") [./String.as:1284] PASSED: String.__proto__.__proto__.hasOwnProperty("gotcha") [./String.as:1285] PASSED: String.__proto__.__proto__ == Object.prototype [./String.as:1286] -FAILED: expected: "gotcha,toString" obtained: gotcha,prototype,toString [./String.as:1289] +PASSED: a.toString() == "gotcha,toString" [./String.as:1289] PASSED: typeof(saved1.value) == 'object' [./String.as:1327] PASSED: saved1.value == 'string' [./String.as:1328] PASSED: saved1.value == 'string' [./String.as:1330] @@ -372,6 +372,6 @@ PASSED: saved2.value !== saved3.value [./String.as:1338] PASSED: a.id == 'wonder1' [./String.as:1352] PASSED: a.id == 'wonder2' [./String.as:1354] PASSED: a.id == 'wonder3' [./String.as:1356] -#passed: 358 -#failed: 13 +#passed: 361 +#failed: 10 #total tests run: 371 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/String-v8/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/String-v8/output.ruffle.txt index 838dc9ca54fe..5c9a62ddb026 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/String-v8/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/String-v8/output.ruffle.txt @@ -353,15 +353,15 @@ PASSED: a == "123" [./String.as:1254] PASSED: a.length == "another string" [./String.as:1256] PASSED: a.length == "another string" [./String.as:1258] PASSED: a.hasOwnProperty('length') [./String.as:1260] -FAILED: expected: "toString" obtained: prototype,toString [./String.as:1269] -FAILED: expected: "toString" obtained: prototype,toString [./String.as:1277] +PASSED: a.toString() == "toString" [./String.as:1269] +PASSED: a.toString() == "toString" [./String.as:1277] PASSED: typeof(String.__proto__) == 'object' [./String.as:1279] PASSED: typeof(Object.prototype) == 'object' [./String.as:1280] PASSED: String.gotcha == 1 [./String.as:1282] PASSED: !String.__proto__.hasOwnProperty("gotcha") [./String.as:1284] PASSED: String.__proto__.__proto__.hasOwnProperty("gotcha") [./String.as:1285] PASSED: String.__proto__.__proto__ == Object.prototype [./String.as:1286] -FAILED: expected: "gotcha,toString" obtained: gotcha,prototype,toString [./String.as:1289] +PASSED: a.toString() == "gotcha,toString" [./String.as:1289] PASSED: typeof(saved1.value) == 'object' [./String.as:1327] PASSED: saved1.value == 'string' [./String.as:1328] PASSED: saved1.value == 'string' [./String.as:1330] @@ -372,6 +372,6 @@ PASSED: saved2.value !== saved3.value [./String.as:1338] PASSED: a.id == 'wonder1' [./String.as:1352] PASSED: a.id == 'wonder2' [./String.as:1354] PASSED: a.id == 'wonder3' [./String.as:1356] -#passed: 358 -#failed: 13 +#passed: 361 +#failed: 10 #total tests run: 371 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Video-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/Video-v5/output.ruffle.txt deleted file mode 100644 index e1662bc1ba08..000000000000 --- a/tests/tests/swfs/from_gnash/actionscript.all/Video-v5/output.ruffle.txt +++ /dev/null @@ -1,7 +0,0 @@ -SWF5 - -[Video.as debug-22405-0e18b8076] -FAILED: expected: undefined obtained: [type Function] [./Video.as:30] -#passed: 0 -#failed: 1 -#total tests run: 1 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/Video-v5/test.toml b/tests/tests/swfs/from_gnash/actionscript.all/Video-v5/test.toml index 11e963f5a927..f4f16330e8b1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/Video-v5/test.toml +++ b/tests/tests/swfs/from_gnash/actionscript.all/Video-v5/test.toml @@ -1,2 +1 @@ num_frames = 30 -known_failure = true diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp10.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp10.ruffle.txt index f9d9d36d9686..be97ea8d7023 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp10.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp10.ruffle.txt @@ -114,8 +114,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -123,8 +121,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -132,8 +128,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -279,8 +273,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -288,8 +280,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -297,8 +287,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -444,8 +432,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -453,8 +439,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -462,8 +446,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -486,8 +468,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -495,8 +475,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -504,8 +482,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -552,8 +528,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -561,8 +535,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -570,8 +542,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp11-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp11-14.ruffle.txt index f9d9d36d9686..be97ea8d7023 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp11-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp11-14.ruffle.txt @@ -114,8 +114,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -123,8 +121,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -132,8 +128,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -279,8 +273,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -288,8 +280,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -297,8 +287,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -444,8 +432,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -453,8 +439,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -462,8 +446,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -486,8 +468,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -495,8 +475,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -504,8 +482,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -552,8 +528,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -561,8 +535,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -570,8 +542,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp13-18.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp13-18.ruffle.txt index f9d9d36d9686..be97ea8d7023 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp13-18.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp13-18.ruffle.txt @@ -114,8 +114,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -123,8 +121,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -132,8 +128,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -279,8 +273,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -288,8 +280,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -297,8 +287,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -444,8 +432,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -453,8 +439,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -462,8 +446,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -486,8 +468,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -495,8 +475,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -504,8 +482,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -552,8 +528,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -561,8 +535,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -570,8 +542,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp32.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp32.ruffle.txt index f9d9d36d9686..be97ea8d7023 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp32.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp32.ruffle.txt @@ -114,8 +114,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -123,8 +121,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -132,8 +128,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -279,8 +273,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -288,8 +280,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -297,8 +287,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -444,8 +432,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -453,8 +439,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -462,8 +446,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -486,8 +468,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -495,8 +475,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -504,8 +482,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -552,8 +528,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -561,8 +535,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -570,8 +542,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp9.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp9.ruffle.txt index f9d9d36d9686..be97ea8d7023 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp9.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v6/output.fp9.ruffle.txt @@ -114,8 +114,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -123,8 +121,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -132,8 +128,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -279,8 +273,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -288,8 +280,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -297,8 +287,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -444,8 +432,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -453,8 +439,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -462,8 +446,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -486,8 +468,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -495,8 +475,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -504,8 +482,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -552,8 +528,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -561,8 +535,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -570,8 +542,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp10.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp10.ruffle.txt index 9e77088abeb4..27f9ff233aed 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp10.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp10.ruffle.txt @@ -107,8 +107,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -116,8 +114,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -125,8 +121,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -261,8 +255,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -270,8 +262,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -279,8 +269,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -422,8 +410,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -431,8 +417,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -440,8 +424,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -462,8 +444,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -471,8 +451,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -480,8 +458,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -522,8 +498,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -531,8 +505,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -540,8 +512,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp11-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp11-14.ruffle.txt index 9e77088abeb4..27f9ff233aed 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp11-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp11-14.ruffle.txt @@ -107,8 +107,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -116,8 +114,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -125,8 +121,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -261,8 +255,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -270,8 +262,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -279,8 +269,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -422,8 +410,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -431,8 +417,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -440,8 +424,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -462,8 +444,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -471,8 +451,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -480,8 +458,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -522,8 +498,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -531,8 +505,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -540,8 +512,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp13-18.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp13-18.ruffle.txt index 9e77088abeb4..27f9ff233aed 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp13-18.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp13-18.ruffle.txt @@ -107,8 +107,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -116,8 +114,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -125,8 +121,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -261,8 +255,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -270,8 +262,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -279,8 +269,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -422,8 +410,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -431,8 +417,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -440,8 +424,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -462,8 +444,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -471,8 +451,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -480,8 +458,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -522,8 +498,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -531,8 +505,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -540,8 +512,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp32.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp32.ruffle.txt index 9e77088abeb4..27f9ff233aed 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp32.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp32.ruffle.txt @@ -107,8 +107,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -116,8 +114,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -125,8 +121,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -261,8 +255,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -270,8 +262,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -279,8 +269,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -422,8 +410,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -431,8 +417,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -440,8 +424,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -462,8 +444,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -471,8 +451,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -480,8 +458,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -522,8 +498,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -531,8 +505,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -540,8 +512,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp9.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp9.ruffle.txt index 9e77088abeb4..27f9ff233aed 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp9.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v7/output.fp9.ruffle.txt @@ -107,8 +107,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -116,8 +114,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -125,8 +121,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -261,8 +255,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -270,8 +262,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -279,8 +269,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -422,8 +410,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -431,8 +417,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -440,8 +424,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -462,8 +444,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -471,8 +451,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -480,8 +458,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -522,8 +498,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -531,8 +505,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -540,8 +512,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp11-14.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp11-14.ruffle.txt index 15280cd59a70..d45eb79aff9f 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp11-14.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp11-14.ruffle.txt @@ -420,8 +420,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -429,8 +427,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -438,8 +434,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -574,8 +568,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -583,8 +575,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -592,8 +582,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -735,8 +723,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -744,8 +730,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -753,8 +737,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -775,8 +757,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -784,8 +764,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -793,8 +771,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -835,8 +811,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -844,8 +818,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -853,8 +825,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp13-18.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp13-18.ruffle.txt index 15280cd59a70..d45eb79aff9f 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp13-18.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp13-18.ruffle.txt @@ -420,8 +420,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -429,8 +427,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -438,8 +434,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -574,8 +568,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -583,8 +575,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -592,8 +582,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -735,8 +723,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -744,8 +730,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -753,8 +737,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -775,8 +757,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -784,8 +764,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -793,8 +771,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -835,8 +811,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -844,8 +818,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -853,8 +825,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp32.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp32.ruffle.txt index 15280cd59a70..d45eb79aff9f 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp32.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/argstest-v8/output.fp32.ruffle.txt @@ -420,8 +420,6 @@ testing _global.System.IME.UNKNOWN(string) testing _global.System.IME.broadcastMessage(function) Trying to construct _global.System.IME.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.broadcastMessage.__constructor__(undefined) @@ -429,8 +427,6 @@ Testing __proto__() testing _global.System.IME.removeListener(function) Trying to construct _global.System.IME.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.removeListener.__constructor__(undefined) @@ -438,8 +434,6 @@ Testing __proto__() testing _global.System.IME.addListener(function) Trying to construct _global.System.IME.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.System.IME.addListener.__constructor__(undefined) @@ -574,8 +568,6 @@ testing _global.Stage.align(string) testing _global.Stage.broadcastMessage(function) Trying to construct _global.Stage.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.broadcastMessage.__constructor__(undefined) @@ -583,8 +575,6 @@ Testing __proto__() testing _global.Stage.removeListener(function) Trying to construct _global.Stage.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.removeListener.__constructor__(undefined) @@ -592,8 +582,6 @@ Testing __proto__() testing _global.Stage.addListener(function) Trying to construct _global.Stage.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Stage.addListener.__constructor__(undefined) @@ -735,8 +723,6 @@ testing _global.Key.CAPSLOCK(number) testing _global.Key.broadcastMessage(function) Trying to construct _global.Key.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.broadcastMessage.__constructor__(undefined) @@ -744,8 +730,6 @@ Testing __proto__() testing _global.Key.removeListener(function) Trying to construct _global.Key.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.removeListener.__constructor__(undefined) @@ -753,8 +737,6 @@ Testing __proto__() testing _global.Key.addListener(function) Trying to construct _global.Key.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Key.addListener.__constructor__(undefined) @@ -775,8 +757,6 @@ Testing __proto__() testing _global.Mouse.broadcastMessage(function) Trying to construct _global.Mouse.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.broadcastMessage.__constructor__(undefined) @@ -784,8 +764,6 @@ Testing __proto__() testing _global.Mouse.removeListener(function) Trying to construct _global.Mouse.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.removeListener.__constructor__(undefined) @@ -793,8 +771,6 @@ Testing __proto__() testing _global.Mouse.addListener(function) Trying to construct _global.Mouse.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Mouse.addListener.__constructor__(undefined) @@ -835,8 +811,6 @@ Testing __proto__() testing _global.Selection.broadcastMessage(function) Trying to construct _global.Selection.broadcastMessage Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.broadcastMessage.__constructor__(undefined) @@ -844,8 +818,6 @@ Testing __proto__() testing _global.Selection.removeListener(function) Trying to construct _global.Selection.removeListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.removeListener.__constructor__(undefined) @@ -853,8 +825,6 @@ Testing __proto__() testing _global.Selection.addListener(function) Trying to construct _global.Selection.addListener Object was constructed -Testing apply() -Testing call() Testing constructor() Testing __constructor__() testing _global.Selection.addListener.__constructor__(undefined) diff --git a/tests/tests/swfs/from_gnash/actionscript.all/array-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/array-v5/output.ruffle.txt index 44e24a39c870..fc145812ffc1 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/array-v5/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/array-v5/output.ruffle.txt @@ -58,8 +58,8 @@ PASSED: a[5] == undefined [./array.as:150] PASSED: a[4] == 9 [./array.as:151] PASSED: a.join() == "200,551,7,8,9" [./array.as:152] PASSED: a.join() == "9,8,7,551,200" [./array.as:154] -FAILED: expected: undefined obtained: 9,8,7,551,200 [./array.as:160] -FAILED: expected: undefined obtained: 9,8,7,551,200 [./array.as:161] +PASSED: Array.prototype.join.apply(a) == undefined [./array.as:160] +PASSED: a.join.apply(a) == undefined [./array.as:161] PASSED: a.join("test") == "9test8test7test551test200" [./array.as:163] PASSED: typeof(Array.UNIQUE) == 'undefined' [./array.as:166] PASSED: (undefined|1) == 1 [./array.as:172] @@ -555,6 +555,6 @@ PASSED: ret == "" [./array.as:1699] creating new object X ctor PASSED: ret == "Array data" [./array.as:1710] -#passed: 524 -#failed: 28 +#passed: 526 +#failed: 26 #total tests run: 552 diff --git a/tests/tests/swfs/from_gnash/actionscript.all/toString_valueOf-v5/output.ruffle.txt b/tests/tests/swfs/from_gnash/actionscript.all/toString_valueOf-v5/output.ruffle.txt index c874c9607351..9230a4bbd645 100644 --- a/tests/tests/swfs/from_gnash/actionscript.all/toString_valueOf-v5/output.ruffle.txt +++ b/tests/tests/swfs/from_gnash/actionscript.all/toString_valueOf-v5/output.ruffle.txt @@ -6,24 +6,24 @@ PASSED: typeof(x) == 'function' [./toString_valueOf.as:55] PASSED: typeof(hasOwnProperty) == 'undefined' [./toString_valueOf.as:66] PASSED: typeof(Object.prototype['toString']) == 'function' [./toString_valueOf.as:68] PASSED: typeof(Object.prototype['valueOf']) == 'function' [./toString_valueOf.as:69] -FAILED: expected: undefined obtained: [type Function] [./toString_valueOf.as:72] -FAILED: expected: undefined obtained: [type Function] [./toString_valueOf.as:73] +PASSED: Object.prototype.toString == undefined [./toString_valueOf.as:72] +PASSED: Object.prototype.valueOf == undefined [./toString_valueOf.as:73] PASSED: typeof(x) == "string" [./toString_valueOf.as:79] PASSED: typeof(y) == "object" [./toString_valueOf.as:80] PASSED: x == "[object Object]" [./toString_valueOf.as:81] PASSED: y == obj [./toString_valueOf.as:82] -FAILED: obj.toString == undefined [./toString_valueOf.as:97] -FAILED: obj.valueOf == undefined [./toString_valueOf.as:98] -FAILED: obj.toString == obj.valueOf [./toString_valueOf.as:99] -FAILED: Object.prototype.toString == undefined [./toString_valueOf.as:100] -FAILED: Object.prototype.valueOf == undefined [./toString_valueOf.as:101] +PASSED: obj.toString == undefined [./toString_valueOf.as:97] +PASSED: obj.valueOf == undefined [./toString_valueOf.as:98] +PASSED: obj.toString == obj.valueOf [./toString_valueOf.as:99] +PASSED: Object.prototype.toString == undefined [./toString_valueOf.as:100] +PASSED: Object.prototype.valueOf == undefined [./toString_valueOf.as:101] PASSED: x=="TO_STRING" [./toString_valueOf.as:105] PASSED: y=="TO_VALUE" [./toString_valueOf.as:106] PASSED: typeof(obj)=="object" [./toString_valueOf.as:107] PASSED: typeof(y) == "string" [./toString_valueOf.as:109] PASSED: obj == y [./toString_valueOf.as:110] -FAILED: Number.prototype.toString == undefined [./toString_valueOf.as:123] -FAILED: Number.prototype.valueOf == undefined [./toString_valueOf.as:124] +PASSED: Number.prototype.toString == undefined [./toString_valueOf.as:123] +PASSED: Number.prototype.valueOf == undefined [./toString_valueOf.as:124] PASSED: typeof(x)=="string" [./toString_valueOf.as:131] PASSED: typeof(y)=="number" [./toString_valueOf.as:132] PASSED: x==1 [./toString_valueOf.as:133] @@ -33,8 +33,8 @@ PASSED: typeof(x)=="string" [./toString_valueOf.as:146] PASSED: typeof(y)=="string" [./toString_valueOf.as:147] PASSED: x=="TO_STRING" [./toString_valueOf.as:148] PASSED: y=="TO_VALUE" [./toString_valueOf.as:149] -FAILED: String.prototype.toString == undefined [./toString_valueOf.as:163] -FAILED: String.prototype.valueOf == undefined [./toString_valueOf.as:164] +PASSED: String.prototype.toString == undefined [./toString_valueOf.as:163] +PASSED: String.prototype.valueOf == undefined [./toString_valueOf.as:164] PASSED: typeof(x) == "string" [./toString_valueOf.as:170] PASSED: typeof(y) == "string" [./toString_valueOf.as:171] PASSED: x == 10 [./toString_valueOf.as:172] @@ -89,8 +89,8 @@ PASSED: typeof(Button.prototype.toString) == 'function' [./toString_valueOf.as:3 PASSED: typeof(Button.prototype.valueOf) == 'function' [./toString_valueOf.as:350] PASSED: Button.prototype.toString == Object.prototype.toString [./toString_valueOf.as:354] PASSED: Button.prototype.valueOf == Object.prototype.valueOf [./toString_valueOf.as:355] -FAILED: expected: undefined obtained: [type Function] [./toString_valueOf.as:356] -FAILED: expected: undefined obtained: [type Function] [./toString_valueOf.as:357] +PASSED: Button.prototype.toString == undefined [./toString_valueOf.as:356] +PASSED: Button.prototype.valueOf == undefined [./toString_valueOf.as:357] PASSED: typeof(btn1) == "object" [./toString_valueOf.as:364] PASSED: typeof(x) == "string" [./toString_valueOf.as:367] PASSED: typeof(y) == "object" [./toString_valueOf.as:368] @@ -99,8 +99,8 @@ PASSED: y.toString() == "[object Object]" [./toString_valueOf.as:370] PASSED: typeof(y.valueOf()) == "object" [./toString_valueOf.as:371] PASSED: typeof(btn1) == "object" [./toString_valueOf.as:372] PASSED: y == btn1 [./toString_valueOf.as:373] -FAILED: Boolean.prototype.toString == undefined [./toString_valueOf.as:384] -FAILED: Boolean.prototype.valueOf == undefined [./toString_valueOf.as:385] +PASSED: Boolean.prototype.toString == undefined [./toString_valueOf.as:384] +PASSED: Boolean.prototype.valueOf == undefined [./toString_valueOf.as:385] PASSED: typeof(b1) == "object" [./toString_valueOf.as:389] PASSED: typeof(x) == "string" [./toString_valueOf.as:392] PASSED: typeof(y) == "boolean" [./toString_valueOf.as:393] @@ -108,8 +108,8 @@ PASSED: x == "false" [./toString_valueOf.as:394] PASSED: y == false [./toString_valueOf.as:395] PASSED: typeof(b3) == 'number' [./toString_valueOf.as:400] PASSED: b3 == 1 [./toString_valueOf.as:401] -FAILED: Date.prototype.toString == undefined [./toString_valueOf.as:412] -FAILED: Date.prototype.valueOf == undefined [./toString_valueOf.as:413] +PASSED: Date.prototype.toString == undefined [./toString_valueOf.as:412] +PASSED: Date.prototype.valueOf == undefined [./toString_valueOf.as:413] PASSED: typeof(d1) == "object" [./toString_valueOf.as:417] PASSED: typeof(x) == "string" [./toString_valueOf.as:420] PASSED: typeof(y) == "number" [./toString_valueOf.as:421] @@ -117,7 +117,7 @@ PASSED: y == 0 [./toString_valueOf.as:426] PASSED: typeof(d3) == 'number' [./toString_valueOf.as:435] PASSED: d3 == 1 [./toString_valueOf.as:436] PASSED: d1.toString() == d2.toString() [./toString_valueOf.as:440] -FAILED: Array.prototype.toString == undefined [./toString_valueOf.as:451] +PASSED: Array.prototype.toString == undefined [./toString_valueOf.as:451] PASSED: Array.prototype.valueOf == Object.prototype.valueOf [./toString_valueOf.as:454] PASSED: typeof(a1) == "object" [./toString_valueOf.as:457] PASSED: typeof(x) == "string" [./toString_valueOf.as:460] @@ -132,6 +132,6 @@ PASSED: typeof(a) == "string" [./toString_valueOf.as:491] PASSED: a == "[type Object]" [./toString_valueOf.as:492] PASSED: ts() == "[object Object]" [./toString_valueOf.as:496] PASSED: s.toString() == "[object Object]" [./toString_valueOf.as:499] -#passed: 97 -#failed: 34 +#passed: 115 +#failed: 16 #total tests run: 131