mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
13 lines
314 B
JavaScript
13 lines
314 B
JavaScript
|
let headVar = "I'm a var in head file";
|
||
|
|
||
|
function headMethod() {
|
||
|
return true;
|
||
|
};
|
||
|
|
||
|
ok(true, "I'm a test in head file");
|
||
|
|
||
|
registerCleanupFunction(function() {
|
||
|
ok(true, "I'm a cleanup function in head file");
|
||
|
is(this.headVar, "I'm a var in head file", "Head cleanup function scope is correct");
|
||
|
});
|