gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [bug #46878] Gnash refused to call zero-parameter JavaScr


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [bug #46878] Gnash refused to call zero-parameter JavaScript function via ExternalInterface.call()
Date: Thu, 04 Feb 2016 10:02:48 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0

Follow-up Comment #5, bug #46878 (project gnash):

On current git version of Gnash, zero-argument function call from Flash
to JavaScript via `ExternalInterface.call()` seems to be done properly:

Text output from `flash2js-zeroarg.html` under browser with Gnash:

js_function callback is called.


Gnash's console output from the run:

67 SECURITY: Extensions disabled
67 UNIMPLEMENTED: FileAttributes tag in the SWF requests that network access
is not granted to this movie (or application?) when loaded from the
filesystem. Anyway Gnash won't care; use white/black listing in your .gnashrc
instead
92 TRACE: flash2js-zeroarg: js_function returned: Hello!


You'd see that zero-argument call to JavaScript function is now working,
and returning value properly.

If I tried to revert the original fix
<http://git.savannah.gnu.org/cgit/gnash.git/commit/?id=e8b111c3ca89eb23624d5c994fc4dff9b787d161>,
and run `make check`, I'm now getting
the expected test failures:

 --=[ testsuite/misc-mtasc.all ]=-- 
FAIL: extcommtests-runner: Gnash should call JavaScript's js_simple function
correctly ("" != "<invoke name="js_simple"
returntype="xml"><arguments><string>js_simple</string></arguments></invoke>")
FAIL: extcommtests-runner: expected: "Correct" , obtained: "undefined" 
[extcomm.as:142]


So, this bug could now be marked as fixed.

Gnash: 0.8.11dev (git 02ec1e6 3-Feb-2016)
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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