1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 23:18:26 +00:00
Files
UXP/testing/xpcshell/example/unit/test_execute_soon.js
T
Moonchild a39fd9e75f Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from modules, netwerk, security, storage, testing, toolkit, and
a few scattered misc files. More to come.
2023-05-05 22:59:16 +08:00

20 lines
481 B
JavaScript

/* ***** BEGIN LICENSE BLOCK *****
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
* ***** END LICENSE BLOCK ***** */
var complete = false;
function run_test() {
dump("Starting test\n");
do_register_cleanup(function() {
dump("Checking test completed\n");
do_check_true(complete);
});
do_execute_soon(function execute_soon_callback() {
dump("do_execute_soon callback\n");
complete = true;
});
}