Bug 1199257 - Destroy front before tearing down tests, intermittent fix, part 2. r=fitzgen
authorJordan Santell <jsantell@mozilla.com>
Tue, 01 Sep 2015 08:40:29 -0700
changeset 260395 92c0b21cd4f639a0713a9eff506bace3d5ea9b27
parent 260394 9b160b712c83be9f05d38814d0fadea1b7c11943
child 260396 273a97c8cfc89b4f7f8bbbf362b32326d458ad13
push id64495
push userryanvm@gmail.com
push dateWed, 02 Sep 2015 01:16:33 +0000
treeherdermozilla-inbound@e747377d86eb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1199257
milestone43.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
Bug 1199257 - Destroy front before tearing down tests, intermittent fix, part 2. r=fitzgen
toolkit/devtools/server/tests/browser/browser_perf-recording-actor-01.js
--- a/toolkit/devtools/server/tests/browser/browser_perf-recording-actor-01.js
+++ b/toolkit/devtools/server/tests/browser/browser_perf-recording-actor-01.js
@@ -61,16 +61,17 @@ add_task(function*() {
 
   ok(importedModel.isCompleted(), "All imported recordings should be completed");
   ok(!importedModel.isRecording(), "All imported recordings should not be recording");
   ok(importedModel.isImported(), "All imported recordings should be considerd imported");
 
   checkSystemInfo(importedModel, "Host");
   checkSystemInfo(importedModel, "Client");
 
+  yield front.destroy();
   yield closeDebuggerClient(client);
   gBrowser.removeCurrentTab();
 });
 
 function checkSystemInfo (recording, type) {
   let data = recording[`get${type}SystemInfo`]();
   for (let field of ["appid", "apptype", "vendor", "name", "version"]) {
     ok(data[field], `get${type}SystemInfo() has ${field} property`);