head.js (811B)
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 /* eslint no-unused-vars: [2, {"vars": "local"}] */ 6 7 "use strict"; 8 9 // Import the inspector's head.js first (which itself imports shared-head.js). 10 Services.scriptloader.loadSubScript( 11 "chrome://mochitests/content/browser/devtools/client/inspector/test/head.js", 12 this 13 ); 14 15 // Import the inspector extensions test helpers (shared between the tests that live 16 // in the current devtools test directory and the devtools sidebar tests that live 17 // in browser/components/extensions/test/browser). 18 Services.scriptloader.loadSubScript( 19 new URL("head_devtools_inspector_sidebar.js", gTestPath).href, 20 this 21 );