navigator.mozApps.installPackage no longer works

navigator.mozApps.installPackage will no longer work use navigator.mozApps.install

Pretty much as the title says really!

If you are building a webapp for Firefox OS it used to be that to install the manifest file you would call navigator.mozApps.installPackage('path/to/manifest') but this has been changed to just be navigator.mozApps.install('path/to/manifest').

This tripped me up recently as I was following an old guide and I couldn't work out why something that I was positive worked before no longer worked!

I think this syntax is a lot cleaner.

Recent posts View all

Ruby

Rubocop CircleCI Config

How to fix issues with Rubocop running on your entire code base.

General

Testing DNS Speeds

Here are some quick scripts for testing DNS speeds and comparing the results.