Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley