Cleanup running extensions after test failures

RESOLVED FIXED in Firefox 47

Status

()

Toolkit
WebExtensions: Untriaged
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: kmag, Assigned: kmag)

Tracking

unspecified
mozilla47
Points:
---

Firefox Tracking Flags

(firefox47 fixed)

Details

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

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.
Created attachment 8726061 [details]
MozReview Request: Bug 1253148: [webext] Cleanup running extensions on test failure. r?billm

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

Comment 4

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/cd697b51aed4
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox47: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.