/* 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"; async function runTests(browser, accDoc) { const dpr = await getContentDPR(browser); let componentAcc = findAccessibleChildByID(accDoc, "component1"); await testChildAtPoint( dpr, 1, 1, componentAcc, componentAcc.firstChild, componentAcc.firstChild ); componentAcc = findAccessibleChildByID(accDoc, "component2"); await testChildAtPoint( dpr, 1, 1, componentAcc, componentAcc.firstChild, componentAcc.firstChild ); } addAccessibleTask( `