Closed Bug 736905 Opened 11 years ago Closed 11 years ago

[SeaMonkey] "a11y/accessible/relations/test_ui_modalprompt.html | Test timed out."

Categories

(Core :: Disability Access APIs, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla14

People

(Reporter: sgautherie, Assigned: sgautherie)

References

(Depends on 1 open bug, Blocks 2 open bugs, )

Details

(Whiteboard: [perma-orange])

Attachments

(1 file)

I'm guessing this fails because SeaMonkey bug 625056 is not fixed yet, right?
(In reply to Serge Gautherie (:sgautherie) from comment #0)
> I'm guessing this fails because SeaMonkey bug 625056 is not fixed yet, right?

sounds right
Copied+Adapted existing code to use SpecialPowers.
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #607490 - Flags: review?(surkov.alexander)
Comment on attachment 607490 [details] [diff] [review]
(Av1) test_ui_modalprompt.html needs to check "prompts.tab_modal.enabled" preference
[Checked in: Comment 6]

Review of attachment 607490 [details] [diff] [review]:
-----------------------------------------------------------------

::: accessible/tests/mochitest/relations/test_ui_modalprompt.html
@@ +80,5 @@
>        gQueue.invoke(); // will call SimpleTest.finish()
>      }
>  
> +    if (!hasTabModalPrompts()) {
> +      todo(false, "Test disabled when tab modal prompts are not enabled.");

SimpleTest.finish()?

I think I'd prefer
if (hasTabModalPrompts()) {
} else {
}
Attachment #607490 - Flags: review?(surkov.alexander) → review+
Comment on attachment 607490 [details] [diff] [review]
(Av1) test_ui_modalprompt.html needs to check "prompts.tab_modal.enabled" preference
[Checked in: Comment 6]

(In reply to alexander :surkov from comment #3)

> SimpleTest.finish()?

No: skipping SimpleTest.waitForExplicitFinish() instead.

> I think I'd prefer
> if (hasTabModalPrompts()) {
> } else {
> }

"I/We" usually handle the "exception" first, but I can swap that code if you insist.
Attachment #607490 - Flags: feedback?(surkov.alexander)
(In reply to Serge Gautherie (:sgautherie) from comment #4)
> Comment on attachment 607490 [details] [diff] [review]
> (Av1) test_ui_modalprompt.html needs to check "prompts.tab_modal.enabled"
> preference
> 
> (In reply to alexander :surkov from comment #3)
> 
> > SimpleTest.finish()?
> 
> No: skipping SimpleTest.waitForExplicitFinish() instead.

ok, I thought that SimpleTest.finish() is necessary part to finish a test.

> > I think I'd prefer
> > if (hasTabModalPrompts()) {
> > } else {
> > }
> 
> "I/We" usually handle the "exception" first, but I can swap that code if you
> insist.

ok, up to you
Attachment #607490 - Flags: feedback?(surkov.alexander) → feedback+
Comment on attachment 607490 [details] [diff] [review]
(Av1) test_ui_modalprompt.html needs to check "prompts.tab_modal.enabled" preference
[Checked in: Comment 6]

https://hg.mozilla.org/mozilla-central/rev/e97da8b4b939
Attachment #607490 - Attachment description: (Av1) test_ui_modalprompt.html needs to check "prompts.tab_modal.enabled" preference → (Av1) test_ui_modalprompt.html needs to check "prompts.tab_modal.enabled" preference [Checked in: Comment 6]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Hardware: x86 → All
Resolution: --- → FIXED
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1332324425.1332330787.5222.gz
Linux comm-central-trunk debug test mochitest-other on 2012/03/21 03:07:05

V.Fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.