1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/testing/mochitest/tests/browser/head.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +let headVar = "I'm a var in head file"; 1.5 + 1.6 +function headMethod() { 1.7 + return true; 1.8 +}; 1.9 + 1.10 +ok(true, "I'm a test in head file"); 1.11 + 1.12 +registerCleanupFunction(function() { 1.13 + ok(true, "I'm a cleanup function in head file"); 1.14 + is(this.headVar, "I'm a var in head file", "Head cleanup function scope is correct"); 1.15 +});