[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 16:49:16 +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 #42395 (project gnash):
For the problem of data marshalling, I've created a test Flash/HTML file
(using libming's makeswf again) to demonstrate how variables of various type
got translated via `GetVariable(variablePath)` call. This test is done
*without slash-colon notation*.
When running `getvariable.html` on browser with Adobe Flash Player
<http://i.imgur.com/LDpXZaa.png>:
Flash's string_variable: type=string, value=Hello!
Flash's integer_variable: type=string, value=1234
Flash's float_variable: type=string, value=1234.5678
Flash's infinite_variable: type=string, value=Infinity
Flash's neginfinite_variable: type=string, value=-Infinity
Flash's nan_variable: type=string, value=NaN
Flash's boolean_variable: type=string, value=true
Flash's undefined_variable: type=string, value=undefined
Flash's nonexistent_variable: type=object, value=null
Flash's null_variable: type=string, value=null
Flash's array_variable: type=string,
value=The,quick,brown,fox,jumps,over,the,lazy,dog
Flash's object_variable: type=string, value=[object Object]
You'd see that all values are properly passed to JavaScript in string form.
The only exception is nonexistent variable, which is passed as `null`.
When running `getvariable.html` on browser current Gnash 0.8.11dev git
<http://i.imgur.com/TTX3VVo.png>:
Flash's string_variable: type=string, value=Hello!
Flash's integer_variable: type=number, value=1234
Flash's float_variable: type=number, value=1234.5678
Flash's infinite_variable: type=number, value=0
Flash's neginfinite_variable: type=number, value=0
Flash's nan_variable: type=number, value=0
Flash's boolean_variable: type=boolean, value=true
Flash's undefined_variable: type=object, value=null
Flash's nonexistent_variable: type=object, value=null
Flash's null_variable: type=object, value=null
Flash's array_variable: type=function, value=[object NPObject JS wrapper
class]
Error occured:
Error: Error calling method on NPObject!
You'd see that values are *returned using original types*,
+/-Infinity, NaN, undefined, and Array are not passed properly,
then plugin *crashed*.
Note: generic Object type will also result in the same crash (and same
`type=function, value=[object NPObject JS wrapper class]` output)
if the corresponding JavaScript code had been run before Array's one.
Test Flash/HTML file, source code, build script, full text outputs,
and screenshots of both cases are attached (getvariable.zip).
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
(file #34682)
_______________________________________________________
Additional Item Attachment:
File name: getvariable.zip Size:18 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42395>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/09
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/20
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/20
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated,
Nutchanon Wetchasit <=
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/21
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/21
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/21
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/24
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/25
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Sandro Santilli, 2015/08/25
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Sandro Santilli, 2015/08/25
- [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, Nutchanon Wetchasit, 2015/08/28
Re: [Gnash-commit] [bug #42395] No respons from panopticlick site when gnash is activated, John Gilmore, 2015/08/23