mozilla-b2g/gaia — pull request #18122 by elefant (2014-04-09 12:09:52+00:00)
Title: Add test case for Bug 906164.

The scenario we want to test is:

1) Launch an app.
2) DOM side SystemMessageManager has been created.
3) No system message handler is set.
4) Broadcast system message internally. The message is pending until the app sets the message handler.
5) The app sets the message handler and it should be signalled right away.