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
Родитель 7caad4dd8f
Коммит 0246db7315
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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") {