1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 var gTestRoot = getRootDirectory(gTestPath);
16 Services.obs.removeObserver(onLoad, "bug839193-loaded");
17 Services.obs.removeObserver(onUnload, "bug839193-unloaded");
22 gBugWindow = window.openDialog(gTestRoot + "bug839193.xhtml");
27 // This test is about leaks, which are handled by the test harness, so
28 // there are no actual checks here. Whether or not this test passes or fails
29 // will be apparent by the checks the harness performs.
31 waitForExplicitFinish();
33 // This test relies on the test timing out in order to indicate failure so
34 // let's add a dummy pass.
37 "Each test requires at least one pass, fail or todo so here is a pass."
40 Services.obs.addObserver(onLoad, "bug839193-loaded");
41 Services.obs.addObserver(onUnload, "bug839193-unloaded");
43 gBugWindow = window.openDialog(gTestRoot + "bug839193.xhtml");