diff -r 000000000000 -r 6474c204b198 dom/indexedDB/ipc/unit/head.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/indexedDB/ipc/unit/head.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,18 @@ +/** + * 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); +}