Closed Bug 584693 Opened 14 years ago Closed 14 years ago

"Get Add-ons" pane in Add-ons Tab shows web page of http://www.mozilla.org/, when the manager reopened. And reload(F5) displays http://www.mozilla.org/ once and then displays correct page

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla2.0b7
Tracking Status
blocking2.0 --- final+

People

(Reporter: alice0775, Assigned: mossop)

References

Details

(Whiteboard: [AOMTestday][in-litmus-bug-week])

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100805 Minefield/4.0b4pre ID:20100805041002
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100805 Minefield/4.0b4pre ID:20100805041002

When I re-open Add-ons Manager,
"Get Add-ons" pane shows web page of http://www.mozilla.org/ .

It should be "Add on style. Add on function. Add features to Firefox...."( https://services.addons.mozilla.org/en-US/firefox/discovery/4.0b4pre/WINNT.....).

Reproducible: Always

Steps to Reproduce:
1. Start Minefield with new profile
2. Open Add-ons Manager (Alt > Tools > Add-ons)
3. Select "Get Add-ons" in left pane of the Add-ons Manager.
4. Close the Add-ons Manager.
5. Open Add-ons Manager again (Alt > Tools > Add-ons)

Actual Results:
 "Get Add-ons" pane shows web page of http://www.mozilla.org/

Expected Results:
 It should be "Add on style. Add on function. Add features to Firefox...."( https://services.addons.mozilla.org/en-US/firefox/discovery/4.0b4pre/WINNT.....).


Regression Window:
Works(But not persist document in the right pane):
http://hg.mozilla.org/mozilla-central/rev/1ac135c8a484
Mozilla/5.0 (Windows; Windows NT 6.1; WOW64; rv:2.0b3pre) Gecko/20100729 Minefield/4.0b3pre ID:20100729204651
Fails
http://hg.mozilla.org/mozilla-central/rev/92c3a3a02405
Mozilla/5.0 (Windows; Windows NT 6.1; WOW64; rv:2.0b3pre) Gecko/20100729 Minefield/4.0b3pre ID:20100729224559
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1ac135c8a484&tochange=92c3a3a02405
Candidate Bug:
Bug 571598 - Allow XUL documents loaded in about urls to persist attributes
In addition to the Comment#0,

When I Reload(F5) any pane of Add-ons manager, A collect pane is displayed after http://www.mozilla.org/ page was displayed for an instant.
Summary: "Get Add-ons" pane in Add-ons Tab shows web page of http://www.mozilla.org/, when the manager reopened → "Get Add-ons" pane in Add-ons Tab shows web page of http://www.mozilla.org/, when the manager reopened. And reload(F5) displays http://www.mozilla.org/ once and then displays correct page
Side effect of persisting the selected pane yes. The code doesn't expect that view to be visible immediately.
Assignee: nobody → dtownsend
blocking2.0: --- → final+
David made the mistake of asking about this bug, now he can fix it
Assignee: dtownsend → ddahl
Assignee: ddahl → dtownsend
OS: Windows 7 → All
Hardware: x86 → All
Attached patch patch rev 1 (obsolete) — Splinter Review
Sets the default homepage of the browser to about:blank and then attempts to go home from initialize if show has already been called. Also makes us only notify that the view has changed or initialized after the page loads.
Attachment #474266 - Flags: review?(bmcbride)
Status: NEW → ASSIGNED
Comment on attachment 474266 [details] [diff] [review]
patch rev 1

>+  loaded: false,

Add a comment somewhere as to why this needs to be tracked - its not obvious that the pane can be shown before its finished initializing (in fact, its somewhat counter-intuitive).

>+      }
>+      else {

Nit: No newline.
Attachment #474266 - Flags: review?(bmcbride) → review+
Attached patch patch rev 2Splinter Review
Spinning back for another review. In testing I realised that this was breaking future tests that were relying on the initial view to be the extensions list. I've been over every browser chrome tests and made them open the extensions list if they weren't already selected an initial view somewhere so hopefully we won't hit this again.
Attachment #474266 - Attachment is obsolete: true
Attachment #474887 - Flags: review?(bmcbride)
Attachment #474887 - Flags: review?(bmcbride) → review+
landed: http://hg.mozilla.org/mozilla-central/rev/898ac02c84b0
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b7
Depends on: 596990
Blocks: 596990
No longer depends on: 596990
Haven't seen this issue today so marking verified fixed

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b7pre) Gecko/20100916 Firefox/4.0b7pre
Status: RESOLVED → VERIFIED
Verified fixed with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b7pre) Gecko/20100917 Firefox/4.0b7pre

Dave, do the automated tests cover all possible paths?
Flags: in-testsuite+
Flags: in-litmus?
Whiteboard: [AOMTestday][in-litmus-bug-week]
I believe so
Flags: in-litmus? → in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: