[Top][All Lists]

[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


                 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



This is a spin-off from bug #42395 (EFF panopticlick GetVariable issue).

As mentioned in bug #42395 comment 16
<>, Flash Player return a value
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
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

Gnash: 0.8.11dev (git 4c03566 19-Dec-2015) NPAPI
Adobe Flash Player: 11.2 r202 ( NPAPI binary
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386 


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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