Closed Bug 1253148 Opened 4 years ago Closed 4 years ago

Cleanup running extensions after test failures

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set

Tracking

(firefox47 fixed)

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: kmag, Assigned: kmag)

Details

Attachments

(1 file)

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.
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
https://hg.mozilla.org/mozilla-central/rev/cd697b51aed4
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.