1
0
Fork 0
firefox/testing/mochitest/tests/browser/head.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
318 B
JavaScript

var 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"
);
});