gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #47354] `Function.call(null)` and `Function.call(und


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #47354] `Function.call(null)` and `Function.call(undefined)` provided an incorrect `this` instance
Date: Wed, 13 Apr 2016 10:17:53 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

Follow-up Comment #5, bug #47354 (project gnash):

On current git version of Gnash, all test SWFs in `fncall-nothis-rev2.zip`
and
`fnapply-nothis-rev2.zip` are giving `PASSED` result.

I have also tested reverting
http://git.savannah.gnu.org/cgit/gnash.git/commit/?id=a794319ac28c02365eddffd571a37c3ec4fb1eea
the fix], and found that 14 test failures are
appearing as expected:

FAIL: astests-v6-Runner: isThisGlobal.apply() [./Function.as:136]
FAIL: astests-v6-Runner: isThisGlobal.apply(undefined) [./Function.as:137]
FAIL: astests-v6-Runner: isThisGlobal.apply(null) [./Function.as:138]
FAIL: astests-v6-Runner: expected: "apply_no_this" obtained: 
[./Function.as:140]
FAIL: astests-v6-Runner: expected: "apply_undefined_this" obtained: 
[./Function.as:142]
FAIL: astests-v6-Runner: expected: "apply_null_this" obtained: 
[./Function.as:144]
FAIL: astests-v6-Runner: delete _global.instanceCheck [./Function.as:145]
FAIL: astests-v6-Runner: ret === _global [./Function.as:188]
FAIL: astests-v6-Runner: ret === _global [./Function.as:195]
FAIL: astests-v6-Runner: ret === _global [./Function.as:202]
FAIL: astests-v6-Runner: expected: "call_no_this" obtained: 
[./Function.as:209]
FAIL: astests-v6-Runner: expected: "call_undefined_this" obtained: 
[./Function.as:211]
FAIL: astests-v6-Runner: expected: "call_null_this" obtained: 
[./Function.as:213]
FAIL: astests-v6-Runner: delete _global.instanceCheck [./Function.as:214]
FAIL: astests-v7-Runner: isThisGlobal.apply() [./Function.as:136]
FAIL: astests-v7-Runner: isThisGlobal.apply(undefined) [./Function.as:137]
FAIL: astests-v7-Runner: isThisGlobal.apply(null) [./Function.as:138]
FAIL: astests-v7-Runner: expected: "apply_no_this" obtained: undefined
[./Function.as:140]
FAIL: astests-v7-Runner: expected: "apply_undefined_this" obtained: undefined
[./Function.as:142]
FAIL: astests-v7-Runner: expected: "apply_null_this" obtained: undefined
[./Function.as:144]
FAIL: astests-v7-Runner: delete _global.instanceCheck [./Function.as:145]
FAIL: astests-v7-Runner: ret === _global [./Function.as:188]
FAIL: astests-v7-Runner: ret === _global [./Function.as:195]
FAIL: astests-v7-Runner: ret === _global [./Function.as:202]
FAIL: astests-v7-Runner: expected: "call_no_this" obtained: undefined
[./Function.as:209]
FAIL: astests-v7-Runner: expected: "call_undefined_this" obtained: undefined
[./Function.as:211]
FAIL: astests-v7-Runner: expected: "call_null_this" obtained: undefined
[./Function.as:213]
FAIL: astests-v7-Runner: delete _global.instanceCheck [./Function.as:214]
FAIL: astests-v8-Runner: isThisGlobal.apply() [./Function.as:136]
FAIL: astests-v8-Runner: isThisGlobal.apply(undefined) [./Function.as:137]
FAIL: astests-v8-Runner: isThisGlobal.apply(null) [./Function.as:138]
FAIL: astests-v8-Runner: expected: "apply_no_this" obtained: undefined
[./Function.as:140]
FAIL: astests-v8-Runner: expected: "apply_undefined_this" obtained: undefined
[./Function.as:142]
FAIL: astests-v8-Runner: expected: "apply_null_this" obtained: undefined
[./Function.as:144]
FAIL: astests-v8-Runner: delete _global.instanceCheck [./Function.as:145]
FAIL: astests-v8-Runner: ret === _global [./Function.as:188]
FAIL: astests-v8-Runner: ret === _global [./Function.as:195]
FAIL: astests-v8-Runner: ret === _global [./Function.as:202]
FAIL: astests-v8-Runner: expected: "call_no_this" obtained: undefined
[./Function.as:209]
FAIL: astests-v8-Runner: expected: "call_undefined_this" obtained: undefined
[./Function.as:211]
FAIL: astests-v8-Runner: expected: "call_null_this" obtained: undefined
[./Function.as:213]
FAIL: astests-v8-Runner: delete _global.instanceCheck [./Function.as:214]


This bug could now be marked as fixed.

Gnash: 0.8.11dev (git 484ca4c 29-Mar-2016)
System: Debian GNU/Linux 7.0 Wheezy i386


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47354>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]