Bug 618998 - Star UI is checking for about:blank before the real visited page.

r=sdwilsh a=sdwilsh
This commit is contained in:
Marco Bonardo 2010-12-14 09:58:58 -08:00
parent ade39d2c6a
commit b4ed4f429b

View File

@ -961,6 +961,11 @@ var PlacesStarButton = {
// Hide the star while we update its state.
this._starIcon.hidden = true;
// We can load about:blank before the actual page, but there is no point in handling that page.
if (this._uri.spec == "about:blank") {
return;
}
PlacesUtils.asyncGetBookmarkIds(this._uri, function (aItemIds) {
this._itemIds = aItemIds;
this._updateStateInternal();