Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 964476 - Dont use seperate field to store favicon data. r=kgrandon #15852

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/system/js/app_window.js
Expand Up @@ -613,7 +613,7 @@

AppWindow.prototype._handle_mozbrowsericonchange =
function aw__handle_mozbrowsericonchange(evt) {
this.config.icon = evt.detail;
this.config.favicon = evt.detail;
this.publish('iconchange');
};

Expand Down
6 changes: 5 additions & 1 deletion apps/system/js/places.js
@@ -1,3 +1,6 @@
/* globals SettingsListener, Promise */
/* exported Places */

/**
* Places.
*
Expand Down Expand Up @@ -49,7 +52,8 @@ var Places = {
this.addVisit(evt.detail.config.url);
break;
case 'appiconchange':
this.setPlaceIconUri(evt.detail.config.url, evt.detail.config.icon.href);
this.setPlaceIconUri(evt.detail.config.url,
evt.detail.config.favicon.href);
break;
}
},
Expand Down
1 change: 0 additions & 1 deletion build/jshint/xfail.list
Expand Up @@ -1049,7 +1049,6 @@ apps/system/js/operator_variant/operator_variant_iccs.js
apps/system/js/orientation_manager.js
apps/system/js/payment.js
apps/system/js/permission_manager.js
apps/system/js/places.js
apps/system/js/popup_manager.js
apps/system/js/quick_settings.js
apps/system/js/remote_debugger.js
Expand Down