mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
|||
importScripts("../testharness.js");
|
||||
|
||||
test(
|
||||
function(test) {
|
||||
assert_true(true, "True is true");
|
||||
},
|
||||
"Worker test that completes successfully");
|
||||
|
||||
test(
|
||||
function(test) {
|
||||
assert_true(false, "Failing test");
|
||||
},
|
||||
"Worker test that fails ('FAIL')");
|
||||
|
||||
async_test(
|
||||
function(test) {
|
||||
assert_true(true, "True is true");
|
||||
},
|
||||
"Worker test that times out ('TIMEOUT')");
|
||||
|
||||
async_test("Worker test that doesn't run ('NOT RUN')");
|
||||
|
||||
async_test(
|
||||
function(test) {
|
||||
self.setTimeout(
|
||||
function() {
|
||||
test.done();
|
||||
},
|
||||
0);
|
||||
},
|
||||
"Worker async_test that completes successfully");
|
||||
|
||||
// An explicit done() is required for dedicated and shared web workers.
|
||||
done();
|
||||
Loading…
Add table
Add a link
Reference in a new issue