1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/indexedDB/ipc/unit/head.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +/** 1.5 + * Any copyright is dedicated to the Public Domain. 1.6 + * http://creativecommons.org/publicdomain/zero/1.0/ 1.7 + */ 1.8 + 1.9 +const INDEXEDDB_UNIT_DIR = "../../test/unit/"; 1.10 +const INDEXEDDB_HEAD_FILE = INDEXEDDB_UNIT_DIR + "head.js"; 1.11 + 1.12 +function run_test() { 1.13 + // IndexedDB needs a profile. 1.14 + do_get_profile(); 1.15 + 1.16 + let thisTest = _TEST_FILE.toString().replace(/\\/g, "/"); 1.17 + thisTest = thisTest.substring(thisTest.lastIndexOf("/") + 1); 1.18 + 1.19 + _HEAD_FILES.push(do_get_file(INDEXEDDB_HEAD_FILE).path.replace(/\\/g, "/")); 1.20 + run_test_in_child(INDEXEDDB_UNIT_DIR + thisTest); 1.21 +}