Created attachment 601199 [details]
repo_api failure output
The navigator mozApps implementation for mozilla-central is not currently the same as the extension, soup.
Attached is my test run data from the mochitests i ported.
A few things I noticed
navigator.mozApps.mgmt is undefined
Error: navigator.mozApps.getInstalled is not a function
navigator.mozApps.setMockResponse(,,); <-- this function is used under test
I am fixing up some of the other issues with the tests, but this seems reasonable to start submitting data now.
There is nothing surprising here, since the implementation of the new API has not landed yet on m-c
What I do think we should have for testing support is two hidden preferences: one that disables user confirmation of application installation, and another to set what sites have mozApps.mgmt privileges. These will make it much easier to automate testing (and would serve the same purpose as setMockResponse).
The implementation has landed.