[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #32411] ExternalInterface XML parser fails with nest
From: |
Nutchanon Wetchasit |
Subject: |
[Gnash-commit] [bug #32411] ExternalInterface XML parser fails with nested tags |
Date: |
Wed, 06 Jan 2016 17:29:41 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0 |
Follow-up Comment #13, bug #32411 (project gnash):
*Object-Typed Function Return Value Case*
This is an image result from `js2flash-objret.html` under browser with Flash
Player:
http://i.imgur.com/KjPAvCU.png
Flash Player's trace output from the run:
Warning: Reference to undeclared variable, 'JS2FlashObjectRet'
callee: starting
callee: adding ExternalInterface callback
callee: finished initializing
callee: entering ExternalInterface callback
callee: ExternalInterface callback succeeded
callee: ExternalInterface callback returning
You'll see that Flash Player passed ExternalInterface callback's Object return
value and its members correctly.
This is an image result from `js2flash-objret.html` under browser with Gnash:
http://i.imgur.com/6nTqrHV.png
Gnash's console output shows:
108 SECURITY: Extensions disabled
109 ACTIONSCRIPT ERROR: reference to non-existent variable
'JS2FlashObjectRet'
109 TRACE: callee: starting
109 TRACE: callee: adding ExternalInterface callback
109 TRACE: callee: finished initializing
2952 TRACE: callee: entering ExternalInterface callback
2952 TRACE: callee: ExternalInterface callback succeeded
2952 TRACE: callee: ExternalInterface callback returning
You'll see from screenshot that Gnash *did not pass Object-typed return
value*
from ExternalInterface callback correctly, and XULRunner _crashed_ afterward.
According to Gnash's container-player communication log, Gnash (player) seems
to marshall the object properly, but libgnashplugin somehow choked on it.
Test SWFs, source code, build script, HTML container, screenshots, debug
logs,
container-player communication dump and detailed GDB backtrace of xulrunner's
`plugin-container` are attached as `js2flash-obj.zip`.
Gnash: 0.8.11dev (git 15d61a8 26-Dec-2015) NPAPI
Flash Player: 11.2.202.491 NPAPI binary
Browser: Iceweasel 10.0.12 (debian)
System: Debian GNU/Linux 7.0 Wheezy
(file #35935)
_______________________________________________________
Additional Item Attachment:
File name: js2flash-obj.zip Size:24 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32411>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/