Closed Bug 680576 Opened 15 years ago Closed 15 years ago

tab.url is incorrect for unrestored and restoring tabs

Categories

(Add-on SDK Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dietrich, Assigned: dietrich)

Details

(Whiteboard: [cherry-pick-1.1])

Attachments

(1 file)

the tabs code currently uses browser.contentDocument.location, which is not correct for tabs that are not yet restored. tabs can be restored either on-demand or be in the queue for being restored, but for all intent and appearance be loaded (eg, title and favicon) even if never activated during a session. zpao said browser.currentURI should be correct.
Comment on attachment 554590 [details] Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/229 fixed session restore incompatibility as well as made both properties e10s-ready (in terms of out-of-process content, not out-of-process jetpack).
Attachment #554590 - Flags: review?(rFobic)
Comment on attachment 554590 [details] Pointer to Github pull request: https://github.com/mozilla/addon-sdk/pull/229 Thanks, Dietrich!
Attachment #554590 - Flags: review?(rFobic) → review+
Dietrich: is this a problem on Firefox 7 as well or only newer versions of Firefox (i.e. should I land this fix on the stabilization branch for SDK 1.1, which targets Firefox 7)?
Yes, could be a problem for any release >=4, since that's when cascading session restore first landed.
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Whiteboard: [cherry-pick-wanted]
Target Milestone: --- → 1.1
Whiteboard: [cherry-pick-wanted] → [cherry-pick-1.1]
Assignee: nobody → dietrich
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: