[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #46719] Gnash's `GetVariable()` returns incorrect va
From: |
Nutchanon Wetchasit |
Subject: |
[Gnash-commit] [bug #46719] Gnash's `GetVariable()` returns incorrect value of undefined variable under SWF5 |
Date: |
Mon, 11 Jan 2016 15:04:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0 |
Follow-up Comment #4, bug #46719 (project gnash):
Patch included, see patch #8851.
`getvariable-allver.html` output _before_ applying the patch:
variable-v5:
variable-v5's string_variable: type=string, value=Hello!
variable-v5's unassigned_variable: type=string, value=undefined
variable-v5's nonexistent_variable: type=object, value=null
variable-v6:
variable-v6's string_variable: type=string, value=Hello!
variable-v6's unassigned_variable: type=string, value=undefined
variable-v6's nonexistent_variable: type=object, value=null
variable-v7:
variable-v7's string_variable: type=string, value=Hello!
variable-v7's unassigned_variable: type=string, value=undefined
variable-v7's nonexistent_variable: type=object, value=null
variable-v8:
variable-v8's string_variable: type=string, value=Hello!
variable-v8's unassigned_variable: type=string, value=undefined
variable-v8's nonexistent_variable: type=object, value=null
You'd see that under SWF5 and SWF6, `undefined` value of
`unassigned_variable`
are translated to string "undefined", which is incorrect.
`getvariable-allver.html` output _after_ applied the patch:
variable-v5:
variable-v5's string_variable: type=string, value=Hello!
variable-v5's unassigned_variable: type=string, value=
variable-v5's nonexistent_variable: type=object, value=null
variable-v6:
variable-v6's string_variable: type=string, value=Hello!
variable-v6's unassigned_variable: type=string, value=
variable-v6's nonexistent_variable: type=object, value=null
variable-v7:
variable-v7's string_variable: type=string, value=Hello!
variable-v7's unassigned_variable: type=string, value=undefined
variable-v7's nonexistent_variable: type=object, value=null
variable-v8:
variable-v8's string_variable: type=string, value=Hello!
variable-v8's unassigned_variable: type=string, value=undefined
variable-v8's nonexistent_variable: type=object, value=null
You'd see that output from patched Gnash is identical to output from Flash
Player <https://savannah.gnu.org/bugs/?46719#comment2>.
Gnash: 0.8.11dev (patched against git 15d61a8 26-Dec-2015)
Flash Player: 11.2 r202 (11.2.202.491) NPAPI binary
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46719>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/