Bug 996912 - [B2G] Apps will close after the user initiates a BT transfer to another phone r=gene a=v1.3t+

This commit is contained in:
Fabrice Desré 2014-04-17 10:03:02 +08:00
parent 1837ce9148
commit 41b67427e6

View File

@ -819,6 +819,8 @@ InterAppCommService.prototype = {
// To prevent the hacked child process from sending commands to parent
// to do illegal connections, we need to check its manifest URL.
if (aMessage.name !== "child-process-shutdown" &&
// TODO: fix bug 988142 to re-enable "InterAppMessagePort:Unregister".
aMessage.name !== "InterAppMessagePort:Unregister" &&
kMessages.indexOf(aMessage.name) != -1) {
if (!target.assertContainApp(message.manifestURL)) {
if (DEBUG) {