Closed Bug 664670 Opened 13 years ago Closed 13 years ago

imageDataCb passed to Storage.getTabData in TabItem__reconnect runs when the tab is already gone

Categories

(Firefox Graveyard :: Panorama, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 8

People

(Reporter: dao, Assigned: ttaubert)

References

Details

Attachments

(1 file)

Seen in browser-chrome test logs:

JavaScript Error: "self.tab is null" {file: "chrome://browser/content/tabview.js" line: 5178}
Blocks: 660175
Attached patch patch v1Splinter Review
I'd like to have checked in ThumbnailStorage.loadThumbnail() whether the given tab is still linked to a TabItem before executing the callback but that's not possible as the tab might have been re-used be SS/SR in the meantime. So we need to check if the TabItem is still linked to a tab in TabItem._reconnect();
Assignee: nobody → tim.taubert
Status: NEW → ASSIGNED
Attachment #544619 - Flags: feedback?(raymond)
Attachment #544619 - Flags: feedback?(raymond) → feedback+
Attachment #544619 - Flags: review?(dao)
Comment on attachment 544619 [details] [diff] [review]
patch v1

I don't think there's a point in checking tabData before self.tab.
Attachment #544619 - Flags: review?(dao) → review+
http://hg.mozilla.org/mozilla-central/rev/3c57112a6a6f
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 8
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: