Bug 1242666 - Support apple-touch-icon-precomposed too r=mfinkle

--HG--
extra : commitid : 3AWRHIKLPJ1
This commit is contained in:
Andrzej Hunt 2016-02-01 11:25:52 -08:00
parent 7caad4dd8f
commit 0246db7315

View File

@ -4123,7 +4123,8 @@ Tab.prototype = {
let list = this.sanitizeRelString(target.rel);
if (list.indexOf("[icon]") != -1) {
jsonMessage = this.makeFaviconMessage(target);
} else if (list.indexOf("[apple-touch-icon]") != -1) {
} else if (list.indexOf("[apple-touch-icon]") != -1 ||
list.indexOf("[apple-touch-icon-precomposed]") != -1) {
let message = this.makeFaviconMessage(target);
this.addMetadata("touchIconList", message.href, message.size);
} else if (list.indexOf("[alternate]") != -1 && aEvent.type == "DOMLinkAdded") {