Skip leak check under FF

This commit is contained in:
kpdecker
2013-12-23 12:32:48 -06:00
parent 015eba6687
commit 7f53c917d9
+4 -1
View File
@@ -45,7 +45,10 @@
<script src="/tmp/tests.js"></script>
<script>
onload = function(){
mocha.checkLeaks();
// The test harness leaks under FF. We should have decent global leak coverage from other tests
if (!navigator.userAgent.match(/Firefox\/([\d.]+)/)) {
mocha.checkLeaks();
}
mocha.run();
};
</script>