Closed Bug 651078 Opened 14 years ago Closed 14 years ago

Make content/html/content/test/test_bug613113.html non flaky

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla6

People

(Reporter: mounir, Assigned: mounir)

References

Details

Attachments

(1 file)

Attached patch Should work (deleted) — Splinter Review
No description provided.
Attachment #526952 - Flags: review?(ehsan)
Whiteboard: [needs review]
Comment on attachment 526952 [details] [diff] [review] Should work > output.addEventListener("invalid", function() { > if (invalidEvent) { > ok(false, "invalid event has already been caught"); > } else { > invalidEvent = true; > ok(true, "invalid event has been caught"); >+ setTimeout(SimpleTest.finish, 0); This will call finish with this set to window, I think. Change this to: setTimeout(function() { SimpleTest.finish(); }, 0); r=me with that.
Attachment #526952 - Flags: review?(ehsan) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs review]
Target Milestone: --- → mozilla6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: