gecko/testing/mochitest/tests/browser/browser_scope.js

5 lines
127 B
JavaScript

function test() {
ok(!!gBrowser, "gBrowser exists");
is(gBrowser, getBrowser(), "both ways of getting tabbrowser work");
}