mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 618998 - Star UI is checking for about:blank before the real visited page.
r=sdwilsh a=sdwilsh
This commit is contained in:
parent
ade39d2c6a
commit
b4ed4f429b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user