☠☠ backed out by 4f45c9de5a9e ☠ ☠ | |
author | Kershaw Chang <kechang@mozilla.com> |
Wed, 10 May 2017 03:49:00 +0200 | |
changeset 405675 | 1431c80b02efa27c574f826c889cc9742b766b2b |
parent 405674 | 8d46046a7367540c311a9abbfb4fcf3f868bb824 |
child 405676 | dd31968cb8d72803d9a9f3f2fd7ef78c7319f563 |
push id | 7391 |
push user | mtabara@mozilla.com |
push date | Mon, 12 Jun 2017 13:08:53 +0000 |
treeherder | mozilla-beta@2191d7f87e2e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | Waldo |
bugs | 469228 |
milestone | 55.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/testing/mochitest/browser-test.js +++ b/testing/mochitest/browser-test.js @@ -645,16 +645,18 @@ Tester.prototype = { "ShutdownLeaks: Wait for cleanup to be finished before checking for leaks"); Services.obs.notifyObservers({wrappedJSObject: barrier}, "shutdown-leaks-before-check"); barrier.client.addBlocker("ShutdownLeaks: Wait for tabs to finish closing", TabDestroyObserver.wait()); barrier.wait().then(() => { + // Close all active HTTP connections. + Services.obs.notifyObservers(null, "net:prune-all-connections", null); // Simulate memory pressure so that we're forced to free more resources // and thus get rid of more false leaks like already terminated workers. Services.obs.notifyObservers(null, "memory-pressure", "heap-minimize"); Services.ppmm.broadcastAsyncMessage("browser-test:collect-request"); shutdownCleanup(() => { setTimeout(() => {