mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 21:58:41 +02:00
Depends on D10191 I would like to update browser-test.js to stop swallowing exceptions when calling loadSubScript from head.js. It looks like those head files are trying to load a layout.js helper that I could not find in any revision. Can you check it can be removed? Differential Revision: https://phabricator.services.mozilla.com/D10193 --HG-- extra : moz-landing-system : lando
15 lines
597 B
JavaScript
15 lines
597 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
"use strict";
|
|
|
|
// Load the shared-head file first.
|
|
/* import-globals-from ../shared-head.js */
|
|
Services.scriptloader.loadSubScript(
|
|
"chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js",
|
|
this);
|
|
|
|
// Loading and common.js from accessible/tests/mochitest/ for all tests, as
|
|
// well as events.js.
|
|
loadScripts({ name: "common.js", dir: MOCHITESTS_DIR }, "events.js");
|