[Top][All Lists]

[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
Date: Tue, 12 Jan 2016 12:23:40 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0


                 Summary: Gnash refused to call zero-parameter JavaScript
function via
                 Project: Gnash - The GNU Flash player
            Submitted by: nachanon
            Submitted on: Tue 12 Jan 2016 07:23:39 PM ICT
                Category: core
                Severity: 3 - Normal
                 Release: master
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



While I was testing around bug #46131 ( return issue),
I found that if Flash file tried to call a simple _zero-argument_
JavaScript function via Flash 8-style ExternalInterface using a code like

Under browser with Flash Player, a JavaScript function named "js_function"
would be called and its return value would be passed back to ActionScript
as ``'s return value.

But under browser with Gnash plugin, the JavaScript function was _not
and `` returned `undefined` value.

According to Gnash's container-player communication log in this case,
the player never send "<invoke>" command to the container, thus
the JavaScript function was never called.

Note: This issue is specific to _zero argument_ function call.
Calling JavaScript function with one or more argument (even the target
function doesn't accept it) will get the target function called properly.

Gnash: 0.8.11dev (git 15d61a8 26-Dec-2015) NPAPI
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]