diff --git a/caps/tests/mochitest/test_bug995943.xul b/caps/tests/mochitest/test_bug995943.xul index 39747fb2cad0..6025ff858003 100644 --- a/caps/tests/mochitest/test_bug995943.xul +++ b/caps/tests/mochitest/test_bug995943.xul @@ -64,7 +64,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=995943 return new Promise(function(resolve) { SpecialPowers.popPrefEnv(resolve); }); } + var gGoCount = 0; function go() { + debug("Invoking go for window with id: " + window.getInterface(Ci.nsIDOMWindowUtils).currentInnerWindowID); + is(++gGoCount, 1, "Should only call go once!"); checkLoadFileURI('http://example.com', false).then( pushPrefs.bind(null, [['capability.policy.policynames', ' somepolicy '], ['capability.policy.somepolicy.checkloaduri.enabled', 'AlLAcCeSs'],