mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
f44ed8784a
--HG-- rename : dom/indexedDB/test/unit/head_idb.js => dom/indexedDB/test/unit/head.js extra : transplant_source : %5D1%15%CC%90%E0%F5%0D%0B%FDi%0B%B9YA%D4c%24%D42
19 lines
555 B
JavaScript
19 lines
555 B
JavaScript
/**
|
|
* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/
|
|
*/
|
|
|
|
const INDEXEDDB_UNIT_DIR = "../../test/unit/";
|
|
const INDEXEDDB_HEAD_FILE = INDEXEDDB_UNIT_DIR + "head.js";
|
|
|
|
function run_test() {
|
|
// IndexedDB needs a profile.
|
|
do_get_profile();
|
|
|
|
let thisTest = _TEST_FILE.toString().replace(/\\/g, "/");
|
|
thisTest = thisTest.substring(thisTest.lastIndexOf("/") + 1);
|
|
|
|
_HEAD_FILES.push(do_get_file(INDEXEDDB_HEAD_FILE).path.replace(/\\/g, "/"));
|
|
run_test_in_child(INDEXEDDB_UNIT_DIR + thisTest);
|
|
}
|