Closed Bug 687376 Opened 13 years ago Closed 13 years ago

continue_test in test_browserhistory.js might never execute

Categories

(Toolkit :: Places, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: espindola, Assigned: mak)

References

Details

Attachments

(1 file, 1 obsolete file)

Adding a do_check_eq(0, 1) at the start of continue_test doesn't cause the test to fail. See for example: https://tbpl.mozilla.org/?tree=Try&rev=efe2ff0296e9 I found this while working on bug 673017 when the patch I was testing caused continue_test to execute during shutdown (which fails).
looks like the test is missing do_test_pending and do_test_finished, good catch!
Attached patch demostration patch (obsolete) (deleted) — Splinter Review
I tried the attached patch, but then the test freezes. Hitting control-c shows that the last executed check was .../test_browserhistory.js | [continue_test : 218] 0 == 0
well, it may be the test is just broken, it needs a cleanup regardless, so I may look at it.
Attached patch patch v1.0 (deleted) — Splinter Review
Well I ended up rewriting it with current conventions, this way it's also much shorter while the tested paths don't change.
Assignee: nobody → mak77
Attachment #561044 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #561086 - Flags: review?(dietrich)
Attachment #561086 - Flags: review?(dietrich) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: