Closed
Bug 625038
Opened 14 years ago
Closed 14 years ago
[SeaMonkey] mochitest-plain-5: test_bug619644.html fails to load bug619644_inner.html, since it landed
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
VERIFIED
FIXED
mozilla2.0b10
Tracking | Status | |
---|---|---|
blocking2.0 | --- | - |
People
(Reporter: sgautherie, Assigned: khuey)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Whiteboard: [test that aborts the suite] [perma-orange])
Attachments
(1 file)
http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey&maxdate=1293934820&hours=24&legend=0&norules=1
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1293861121.1293862312.6511.gz
Linux comm-central-trunk debug test mochitests-5/5 on 2010/12/31 21:52:01
{
...
Error loading URL http://mochi.test:8888/tests/toolkit/components/prompts/test/bug619644_inner.html : 804b0002 (NS_BINDING_ABORTED)
...
5741 ERROR TEST-UNEXPECTED-FAIL | /tests/toolkit/components/prompts/test/test_bug619644.html | Test timed out.
}
Then 1+ other test fails too then
"buildbot.slave.commands.TimeoutError: command timed out: 1200 seconds without output"
:-(
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Assignee | ||
Comment 1•14 years ago
|
||
Does Seamonkey use tab-modal prompts? If not we should just skip the test.
Comment 2•14 years ago
|
||
> Does Seamonkey use tab-modal prompts?
No.
> If not we should just skip the test.
How about making the test conditional on whether the tab-modal pref is on or off?
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #2)
> > Does Seamonkey use tab-modal prompts?
> No.
> > If not we should just skip the test.
> How about making the test conditional on whether the tab-modal pref is on or
> off?
Right.
Assignee: nobody → khuey
Status: NEW → ASSIGNED
Reporter | ||
Updated•14 years ago
|
Updated•14 years ago
|
blocking2.0: ? → -
Reporter | ||
Comment 4•14 years ago
|
||
Yeah, the test should be a todo() when the pref is off.
Assignee | ||
Comment 5•14 years ago
|
||
Assignee | ||
Comment 6•14 years ago
|
||
Do Seamonkey, Thunderbird, etc have Services.jsm? Or do I need to get this through xpcom proper?
Reporter | ||
Comment 7•14 years ago
|
||
(In reply to comment #6)
> Do Seamonkey, Thunderbird, etc have Services.jsm? Or do I need to get this
> through xpcom proper?
SM and TB do, and all Toolkit apps should, iiuc:
http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/content/Makefile.in#93
Assignee | ||
Comment 8•14 years ago
|
||
Cool. I'll land this change tomorrow.
Reporter | ||
Comment 9•14 years ago
|
||
Comment on attachment 503296 [details] [diff] [review]
Do not run tab-modal specific tests if the app does not have tab-modal dialogs
[Checked in: See comment 11]
>+ return Services.prefs.getBoolPref("prompts.tab_modal.enabled");
This pref is undefined on other apps, so this code should be
var prefName = "prompts.tab_modal.enabled";
return Services.prefs.getPrefType(prefName) == Services.prefs.PREF_BOOL &&
Services.prefs.getBoolPref(prefName);
>+ todo(0, "No tab modal prompts");
Nit: I would prefer something like
todo(false, "Test disabled as tab modal prompts are not enabled");
Attachment #503296 -
Flags: review-
Assignee | ||
Comment 10•14 years ago
|
||
Bah, annoying that toolkit doesn't set a default value for this pref.
Assignee | ||
Comment 11•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•14 years ago
|
Attachment #503296 -
Attachment description: Do not run tab-modal specific tests if the app does not have tab-modal dialogs. → Do not run tab-modal specific tests if the app does not have tab-modal dialogs
[Checked in: See comment 11]
Reporter | ||
Comment 12•14 years ago
|
||
V.Fixed, per bug 626294 comment 0.
*****
(In reply to comment #0)
> Then 1+ other test fails too
I filed bug 626294.
Status: RESOLVED → VERIFIED
Flags: in-testsuite+
Target Milestone: --- → mozilla2.0b10
Reporter | ||
Comment 13•14 years ago
|
||
(In reply to comment #11)
> http://hg.mozilla.org/mozilla-central/rev/996e407e9735
Nit: a 'var' is missing:
{
18 prefName = "prompts.tab_modal.enabled";
}
Reporter | ||
Comment 14•14 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•