Closed Bug 1253148 Opened 4 years ago Closed 4 years ago
Cleanup running extensions after test failures
58 bytes, text/x-review-board-request
Currently, a timeout or exception which prevents a test from unloading an extension causes the rest of the tests in the group to fail with "Error: unable to handle multiple listeners for SPExtensionMessage". We should handle this more gracefully, probably by registering a cleanup function to shutdown any extensions which are still running when the test ends.
Review commit: https://reviewboard.mozilla.org/r/37789/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/37789/
Attachment #8726061 - Flags: review?(wmccloskey)
Comment on attachment 8726061 [details] MozReview Request: Bug 1253148: [webext] Cleanup running extensions on test failure. r?billm https://reviewboard.mozilla.org/r/37789/#review34529
Attachment #8726061 - Flags: review?(wmccloskey) → review+
https://hg.mozilla.org/integration/fx-team/rev/cd697b51aed416ac3be564b7b2dff6b44178481b Bug 1253148: [webext] Cleanup running extensions on test failure. r=billm
You need to log in before you can comment on or make changes to this bug.