Use _global as "this" for ExternalInterface callback that lacks it.
commit8b336929d19917a4d85629e8a9cd8483ad7f1c60
authorNutchanon Wetchasit <Nutchanon.Wetchasit@gmail.com>
Mon, 7 Mar 2016 10:04:53 +0000 (7 11:04 +0100)
committerSandro Santilli <strk@keybit.net>
Mon, 7 Mar 2016 10:04:53 +0000 (7 11:04 +0100)
tree484bcc26c58b2559dd5d45fd1dc132cff126996c
parent9229f6fa59061eb930179c6f6a616be541d1139f
Use _global as "this" for ExternalInterface callback that lacks it.

This fixes special cases of bug #37223 where instance object of
the callback is set to null or undefined at registration time.
See <https://savannah.gnu.org/bugs/?37223>
libcore/movie_root.cpp
testsuite/misc-mtasc.all/extcomm.as
testsuite/misc-mtasc.all/extcommtests-runner.sh