Opened on 08/25/2015 at 11:31:54 AM
Closed on 08/25/2015 at 12:17:47 PM
#2953 closed defect (fixed)
[unit tests] Cleanup on unload is broken
Reported by: | trev | Assignee: | trev |
---|---|---|---|
Priority: | P3 | Milestone: | |
Module: | Extensions-for-Adblock-Plus | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Platform: | Firefox | |
Ready: | yes | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description
Environment
Adblock Plus unit tests 1.0.1a.357
How to reproduce
- Run unit tests.
- Close unit test window while some async test is still running.
Observed behaviour
Error Console shows "QUnit.config.current.testEnvironment.teardown is not a function" and cleanup indeed doesn't run (preferences/filters not restored, HTTP server not shut down). This is fallout from a QUnit update, the API we expect here no longer exists.
Expected behaviour
Cleanup should run as expected.
Attachments (0)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Fixed: https://hg.adblockplus.org/adblockplustests/rev/63747b8afb94