gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #47004] Gnash didn't pass string return value "Error


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #47004] Gnash didn't pass string return value "Error" and "SecurityError" from ExternalInterface callback
Date: Sun, 14 Feb 2016 11:20:40 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1

Follow-up Comment #9, bug #47004 (project gnash):

I have written another set of test SWF/HTML file (compiles on MTASC),
which try to check on how Flash return value of various types from
ExternalInterface (in both direction).

JavaScript calls Flash direction: attached as `js2flash-rtypes.zip`.
Flash calls JavaScript direction: attached as `flash2js-rtypes.zip`.

Note: There seems to be some peculiarities regarding how Flash Player
deal with odd return values:

* `Infinity` and `-Infinity` value:
** In JavaScript-calls-Flash scenario, they were returned properly.
** In Flash-calls-JavaScript scenario, they were returned as NaN.
* Function-typed field in `Object` return value:
** In JavaScript-calls-Flash scenario, it refused to return _the entire
object_; returned `null` instead.
** In Flash-calls-JavaScript scenario, the object itself is returned properly,
though its function-typed fields were set to `null`.

Gnash: 0.8.11dev (git 435d3e9 6-Feb-2016) NPAPI
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 #36330, file #36331)
    _______________________________________________________

Additional Item Attachment:

File name: js2flash-rtypes.zip            Size:42 KB
File name: flash2js-rtypes.zip            Size:15 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47004>

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




reply via email to

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