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)
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)
|
2.84 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
Opening a new about:preferences dialog results in "Preferences panes have been initialized" failure.
| Assignee | ||
Comment 1•10 years ago
|
||
This is the regression-range:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=7460be688f60&tochange=a6bbabebed2f
| Assignee | ||
Comment 2•10 years ago
|
||
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)
| Assignee | ||
Comment 3•10 years ago
|
||
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)
Updated•10 years ago
|
Attachment #8557938 -
Flags: review?(hskupin)
Attachment #8557938 -
Flags: review?(andreea.matei)
Attachment #8557938 -
Flags: review+
Comment 4•10 years ago
|
||
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+
| Assignee | ||
Comment 5•10 years ago
|
||
Thanks Henrik
Attachment #8557938 -
Attachment is obsolete: true
Attachment #8560407 -
Flags: review?(andreea.matei)
Comment 6•10 years ago
|
||
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+
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•