gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #42395] No respons from panopticlick site when gnash


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated
Date: Thu, 20 Aug 2015 12:15:12 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0

Follow-up Comment #2, bug #42395 (project gnash):

I've looked more closely, and I found that Panopticlick's Flash file is
not really using ExternalInterface, but uses the old-school plugin-provided
`GetVariable(variablePath)` facility, which fetch value from Flash variable
_as String_, regardless of variable's actual type within Flash.

In Panopticlick case, the variable in question is an Array named `user_fonts`
in root movie, accessed using `GetVariable("/:user_fonts")` from JavaScript.
The content of `user_fonts` is a value returned from
`TextField.getFontList()`
static function call.

Gnash seems to have several problem with this:
* Gnash didn't resolve variable path in slash-colon notation correctly.
* Gnash didn't pass some variable types (like Infinity Number, NaN Number,
Array, and Object) through GetVariable() properly.
* Calling `TextField.getFontList()` under Gnash somehow caused ActionScript
error (and return `undefined`).

First and third problem caused `null` to be returned to JavaScript,
second problem in Array/Object case caused Gnash plugin to crash.

Gnash: 0.8.11dev (git 88f86a3 19-Aug-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/?42395>

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




reply via email to

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