Bug 454363. a=ss

git-svn-id: svn://10.0.0.236/trunk@258066 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mozilla.mano%sent.com 2009-08-12 08:33:38 +00:00
parent 43dd75f4f7
commit dbaa7ba5fb

View File

@ -1331,6 +1331,8 @@ FeedWriter.prototype = {
// nsIObserver
observe: function FW_observe(subject, topic, data) {
subject = new XPCNativeWrapper(subject);
if (!this._window) {
// this._window is null unless this.write was called with a trusted
// window object.
@ -1402,6 +1404,8 @@ FeedWriter.prototype = {
// nsINavHistoryService
onPageChanged: function FW_onPageChanged(aURI, aWhat, aValue) {
aURI = new XPCNativeWrapper(aURI);
if (aWhat == Ci.nsINavHistoryObserver.ATTRIBUTE_FAVICON) {
// Go through the readers menu and look for the corresponding
// reader menu-item for the page if any.