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: Tue, 12 Jan 2016 12:33: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 #1, bug #46878 (project gnash):

I have created a simple Flash file (Flash 8) using libming's `makeswf`
with a HTML container to demonstrate the issue, attached as
`flash2js-zeroarg.zip`. JavaScript function `js_function()` prints a line
"js_function callback is called." to HTML page and returns a string "Hello!".

Text output from running `flash2js-zeroarg.html` under browser with Flash
Player:

js_function callback is called.


Player's trace output from the run:

flash2js-zeroarg: js_function returned: Hello!


You'd see that the JavaScript function was called, and return value was
passed
back to ActionScript properly.

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




Gnash's console output from the run:

74 TRACE: flash2js-zeroarg: js_function returned: undefined


You'd see that the JavaScript function was not called (no output on HTML
page),
and `undefined` value was returned to ActionScript.

Text output, screenshots, full debug/trace output (verbosity 2 + action
error),
and Gnash's player-container communication logs are also attached in
`flash2js-zeroarg.zip`.

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

Additional Item Attachment:

File name: flash2js-zeroarg.zip           Size:5 KB


    _______________________________________________________

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]