|
From: | Nutchanon Wetchasit |
Subject: | [Gnash-commit] [bug #47004] Gnash didn't pass string return value "Error" and "SecurityError" from ExternalInterface callback |
Date: | Sun, 07 Feb 2016 12:43:23 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:25.8) Gecko/20151123 Firefox/31.9 PaleMoon/25.8.1 |
Follow-up Comment #7, bug #47004 (project gnash): Also, there seems to be some mismatching interpretation of `undefined` value in Gnash's ExternalInterface implementation: | NPAPI libgnashplugin | Gnash (player) ============================+========================+======================= Flash returns to JavaScript | <void/> [1] | <undefined/> [2] JavaScript returns to Flash | <void/> [3] | <void/> [4] According to the table, the marshalling result of JavaScript and ActionScript's `undefined` value is supposed to be "<void/>". As current container-emulated tests <http://git.savannah.gnu.org/cgit/gnash.git/tree/testsuite/misc-mtasc.all/extcommtests-runner.sh?id=435d3e9aa7864883f6a2379fd318126113786475#n235> are currently interpreting `undefined` as "<undefined/>", not "<void/>" (following current Gnash player's output), it would need to be adjusted when this bug is fixed. Side note: `GetVariable()` plugin function and associated tests are not affected by this discrepancy as the function does not return `undefined` value. Gnash: 0.8.11dev (git 435d3e9 6-Feb-2016) System: Debian GNU/Linux 7.0 Wheezy i386 [1] http://git.savannah.gnu.org/cgit/gnash.git/tree/plugin/npapi/external.cpp?id=435d3e9aa7864883f6a2379fd318126113786475#n286 [2] http://git.savannah.gnu.org/cgit/gnash.git/tree/libcore/ExternalInterface.cpp?id=435d3e9aa7864883f6a2379fd318126113786475#n117 [3] http://git.savannah.gnu.org/cgit/gnash.git/tree/plugin/npapi/external.cpp?id=435d3e9aa7864883f6a2379fd318126113786475#n377 [4] http://git.savannah.gnu.org/cgit/gnash.git/tree/libcore/ExternalInterface.cpp?id=435d3e9aa7864883f6a2379fd318126113786475#n245 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47004> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |