diff --git a/browser/components/browserhelper/nsBrowserHelper.js b/browser/components/browserhelper/nsBrowserHelper.js index c57e993f..ef359be6 100644 --- a/browser/components/browserhelper/nsBrowserHelper.js +++ b/browser/components/browserhelper/nsBrowserHelper.js @@ -35,7 +35,7 @@ BrowserHelperService.prototype = { return this; } -; +} /* :::::::: Service Registration & Initialization ::::::::::::::: */ @@ -94,5 +94,6 @@ const BrowserHelperFactory = { }; function NSGetModule(aComMgr, aFileSpec) { + dump("nsBrowserHelper: NSGetModule\n") return BrowserHelperModule; } diff --git a/tests/test-browser.py b/tests/test-browser.py index 12394a68..681aefab 100755 --- a/tests/test-browser.py +++ b/tests/test-browser.py @@ -24,9 +24,13 @@ import gtk import sugar.browser +def _quit(window): + sugar.browser.shutdown() + gtk.main_quit() + # Main window window = gtk.Window() -window.connect("destroy", lambda w: gtk.main_quit()) +window.connect("destroy", _quit) sugar.browser.startup(os.path.expanduser('~/.sugar-browser-test'), 'test')