Fix some mime-type to extension mapping checks in Installer (#1489983)
Reset $value in a loop
Fix errors when using localStorage in Safari's private browsing mode (#1489996)