I can reproduce the failure on both osx debug build and linux debug build. `Cu.forceGC` doesn't seem to help (and I also tried to explicitly clear all the message stored in the consoleService by manually calling [nsIConsoleService.reset](https://searchfox.org/mozilla-central/rev/46e3b1ce2cc120a188f6940b5c6eab6b24530e4f/xpcom/base/nsConsoleService.cpp#494-505), but the detected shutdown leak was reproducible). If this is a general issue, then I'm a bit surprised that this is the only test to trigger it, at a first glance the new test case added in the attached patch doesn't seem to be doing anything that we are not already doing. I'm doing a full build locally and see if I can get some additional details about this.
Bug 1253129 Comment 17 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I can reproduce the failure on both osx debug build and linux debug build. Delaying exiting the test function or calling `Cu.forceGC` do not seem to help (and I also tried to explicitly clear all the message stored in the consoleService by manually calling [nsIConsoleService.reset](https://searchfox.org/mozilla-central/rev/46e3b1ce2cc120a188f6940b5c6eab6b24530e4f/xpcom/base/nsConsoleService.cpp#494-505), but the detected shutdown leak was reproducible). If this is a general issue, then I'm a bit surprised that this is the only test to trigger it, at a first glance the new test case added in the attached patch doesn't seem to be doing anything that we are not already doing. I'm doing a full build locally and see if I can get some additional details about this.