Closed Bug 470814 Opened 16 years ago Closed 16 years ago

TestRunner needs a feature guard before using document.hasFocus and document.activeElement

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.1b3

People

(Reporter: Waldo, Assigned: Waldo)

References

()

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

Otherwise the test runner doesn't work cross-browser, useful for running cross-browser tests.
Attached patch Patch?Splinter Review
The force-focus code is just voodoo magic/belt-and-suspenders prevention, so I don't think it's necessary to run it when we're in browsers that don't support focus detection.
Assignee: nobody → jwalden+bmo
Status: NEW → ASSIGNED
Attachment #354210 - Flags: review?(sayrer)
Attachment #354210 - Flags: review?(ajschult)
Attachment #354210 - Flags: review?(sayrer) → review+
Attachment #354210 - Flags: review?(ajschult) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Keywords: fixed1.9.1
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: