[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: |
Sat, 19 Dec 2015 16:33:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0 |
URL:
<http://savannah.gnu.org/bugs/?46719>
Summary: Gnash's `GetVariable()` returns incorrect value of
undefined variable under SWF5
Project: Gnash - The GNU Flash player
Submitted by: nachanon
Submitted on: Sat 19 Dec 2015 11:33:41 PM ICT
Category: core
Severity: 3 - Normal
Release: master
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This is a spin-off from bug #42395 (EFF panopticlick GetVariable issue).
As mentioned in bug #42395 comment 16
<https://savannah.gnu.org/bugs/?42395#comment16>, Flash Player return a value
of
unassigned variable or variable with `undefined` value via `GetVariable()`
plugin call _as an empty string_ if the running SWF was targeted to Flash 5.
Current Gnash returns a string "undefined", which is incorrect.
Two automated
<http://git.savannah.gnu.org/cgit/gnash.git/tree/testsuite/misc-ming.all/extgetvariable_testrunner.sh?id=4c03566dab0b7a30f716afe1c90d80a6d5139519#n254>
checks
<http://git.savannah.gnu.org/cgit/gnash.git/tree/testsuite/misc-ming.all/extgetvariable_testrunner.sh?id=4c03566dab0b7a30f716afe1c90d80a6d5139519#n266>
of this behavior on Gnash testsuite are provided in
`extgetvariable_testrunner`, currently giving XFAIL status.
One of them is also the same check used for verifying bug #45840
(timeline unassigned variable issue)'s behavior on SWF5.
Although Gnash's `GetVariable()` implementation could be rigged
to give an empty string under said condition as a stopgap measure,
it might need some testing to check if any specific nature of
`undefined` variable value under SWF5 (and below) caused this behavior,
so the underlying behavior difference (if any) could be fixed.
Note: If SWF version is higher than 5, Flash Player will return
a string "undefined" for such variable; current Gnash followed this
correctly.
Gnash: 0.8.11dev (git 4c03566 19-Dec-2015) NPAPI
Adobe 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/
- [Gnash-commit] [bug #46719] Gnash's `GetVariable()` returns incorrect value of undefined variable under SWF5,
Nutchanon Wetchasit <=