Hi Henry,
I just did, and didn't get any more lines of log, but I added some debug
statements in broadcastMessage(), and found out that the problem is in this
block:
// Buffer system messages until the webapps' registration is ready,
// so that we can know the correct pages registered to be broadcasted.
if (!this._webappsRegistryReady) {
this._bufferedSysMsgs.push({ how: "broadcast",
type: aType,
msg: aMessage,
extra: aExtra });
return Promise.resolve();
}
The execution flow apparently goes through that block and returns, without
having broadcast the message. I don't understand why the webapp is not
registered though.
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos