mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-12 14:37:50 +00:00
77ec1d2ca4
--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);
|
|
}
|