Closed Bug 715022 Opened 13 years ago Closed 13 years ago

Ensure that addonsManager.open waits until the selected view has been loaded

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [lib])

Attachments

(1 file)

The failure of not having an add-on available after restarting Firefox (as seen on bug 670904) is caused by the addonsManager.open() method. Currently we do not wait until the currently selected view has been finished loading. We have to do that if waitFor has been set.
Adds an additional waitFor call for the ViewChanged event to happen. This will also fix the problem encountered on bug 670904. Further I have fixed a comment we missed to update.
Attachment #585602 - Flags: review?(anthony.s.hughes)
Blocks: 707638
Attachment #585602 - Flags: review?(anthony.s.hughes) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 715081
Blocks: 715413
Pretty sure this was blocking also bug 688375
Blocks: 688375
Given this has resulted in a couple dependencies being resolved, marking as VERIFIED.
Status: RESOLVED → VERIFIED
Component: Mozmill Shared Modules → Mozmill Tests
Whiteboard: [lib]
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: