зеркало из https://github.com/mozilla/gecko-dev.git
Bug 618998 - Star UI is checking for about:blank before the real visited page.
r=sdwilsh a=sdwilsh
This commit is contained in:
Родитель
7cd8f091ad
Коммит
aaa5cf798c
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче