B2G/gecko/browser/components/places/tests/browser/browser_library_open_leak.js
/**
 * Bug 474831
 * https://bugzilla.mozilla.org/show_bug.cgi?id=474831
 *
 * Tests for leaks caused by simply opening and closing the Places Library
 * window.  Opens the Places Library window, waits for it to load, closes it,
 * and finishes.
 */


Tests for leaks caused by simply opening and closing the Places Library
window.  Opens the Places Library window, waits for it to load, closes it,
and finishes.
Tests for leaks caused by simply opening and closing the Places Library window . Opens the Places Library window waits for it to load closes it and finishes .
function test() {
  waitForExplicitFinish();
  openLibrary(function (win) {
    ok(true, "Library has been correctly opened");
    win.close();
    finish();
  });
}
function test ( ) { waitForExplicitFinish ( ) ; openLibrary ( function ( win ) { ok ( true , "Library has been correctly opened" ) ; win . close ( ) ; finish ( ) ; } ) ; }
Bug 474831
 https://bugzilla.mozilla.org/show_bug.cgi?id=474831
Bug 474831 https : // bugzilla . mozilla . org / show_bug . cgi?id = 474831