Files
sousa-gecko/accessible/tests/browser/treeupdate/head.js
T
James Teh 283387491e Bug 2040856 part 1: Port treeupdate inert tests to the browser test harness. r=eeejay
Previously, there were no browser tests for inert.
The next patch will add new tests to this file, so rather than adding more stuff to mochitests, I figured it made sense to port this test.
There shouldn't be any functional change in this patch.
I also added a treeupdate directory rather than shoving it in the e10s kitchen sink because someone had to make the first move. :)
This doesn't move other treeupdate tests though.

Differential Revision: https://phabricator.services.mozilla.com/D301483
2026-05-20 22:48:22 +00:00

19 lines
604 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.
Services.scriptloader.loadSubScript(
"chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js",
this
);
// Loading helpers from accessible/tests/mochitest/ for all tests.
loadScripts(
{ name: "common.js", dir: MOCHITESTS_DIR },
{ name: "events.js", dir: MOCHITESTS_DIR },
{ name: "role.js", dir: MOCHITESTS_DIR }
);