Bug 1008481 - More test diagnostics. r=me

This commit is contained in:
Bobby Holley 2014-06-05 23:41:35 -07:00
parent bf3d4ed619
commit 16e9855962

View File

@ -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'],