Will this not also be fired for app:// URLs? Is that what we want? If you try to open a browser window with an app:// URL it may not work if the mozapp attribute is not set to the manifest URL of the app.