Open Bug 1459821 Opened 2 years ago Updated 2 years ago

Cleanup functions should be executed in reverse order in all test harness

Categories

(Testing :: Mochitest, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: arai, Unassigned)

References

Details

(derived from bug 1420574)

functions registered by registerCleanupFunction are executed in reverse order only in some test harnesses.

at least, mochitest browser's registerCleanupFunction executes the registered functions in the registered order.

xpcshell's registerCleanupFunction and mochitest-chrome's SimpleTest.registerCleanupFunction execute functions in reverse order.
Severity: normal → enhancement
You need to log in before you can comment on or make changes to this bug.