head.js (615B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 "use strict"; 6 7 // Load the shared-head file first. 8 Services.scriptloader.loadSubScript( 9 "chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js", 10 this 11 ); 12 13 // Loading and common.js from accessible/tests/mochitest/ for all tests, as 14 // well as promisified-events.js. 15 loadScripts( 16 { name: "common.js", dir: MOCHITESTS_DIR }, 17 { name: "promisified-events.js", dir: MOCHITESTS_DIR } 18 );