Closed Bug 1128501 Opened 10 years ago Closed 10 years ago

Failure "Preferences panes have been initialized" in open() method of the AboutPreferencesPage class

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

Version 2
defect
Not set
normal

Tracking

(firefox37 unaffected, firefox38 fixed)

RESOLVED FIXED
Tracking Status
firefox37 --- unaffected
firefox38 --- fixed

People

(Reporter: teodruta, Assigned: cosmin-malutan)

Details

Attachments

(1 file, 2 obsolete files)

Opening a new about:preferences dialog results in "Preferences panes have been initialized" failure.
Attached patch patch v1.0 (obsolete) — Splinter Review
The actual culprit is the commit bellow, where the initialization of each category is done when it is selected and not when we open the preferences page. https://hg.mozilla.org/integration/mozilla-inbound/rev/89cbd02b6589 To fix this I had to move the waiting to the category selecting.
Assignee: nobody → cosmin.malutan
Status: NEW → ASSIGNED
Attachment #8557935 - Flags: review?(andreea.matei)
Attached patch patch v2.0 (obsolete) — Splinter Review
Because calling close all tabs, leaves us in a pristine page, the about:preferences will be opened in the same tab, this behavior is unexpected and it results in a failure. So I had to remove the closeAllTabs methods from setup-module.
Attachment #8557935 - Attachment is obsolete: true
Attachment #8557935 - Flags: review?(andreea.matei)
Attachment #8557938 - Flags: review?(andreea.matei)
Attachment #8557938 - Flags: review?(hskupin)
Attachment #8557938 - Flags: review?(andreea.matei)
Attachment #8557938 - Flags: review+
Comment on attachment 8557938 [details] [diff] [review] patch v2.0 Review of attachment 8557938 [details] [diff] [review]: ----------------------------------------------------------------- r=me with the nit fixed. ::: firefox/lib/ui/about-preferences-page.js @@ +70,5 @@ > assert.waitFor(() => this.isSelected(aCategory), > "Category has been loaded - " + aCategory); > + > + // For "sync" category wait for weave:service to be ready > + if (aCategory == "sync") { nit: triple = please.
Attachment #8557938 - Flags: review?(hskupin) → review+
Attached patch patch v2.1Splinter Review
Thanks Henrik
Attachment #8557938 - Attachment is obsolete: true
Attachment #8560407 - Flags: review?(andreea.matei)
Comment on attachment 8560407 [details] [diff] [review] patch v2.1 Review of attachment 8560407 [details] [diff] [review]: ----------------------------------------------------------------- https://hg.mozilla.org/qa/mozmill-tests/rev/50fa044102fd (default)
Attachment #8560407 - Flags: review?(andreea.matei) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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: