/* 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 . */ "use strict"; /* import-globals-from helper_touch_all_events.js */ Services.scriptloader.loadSubScript( CHROME_URL_ROOT + "helper_touch_all_events.js", this ); const TEST_URL = `${URL_ROOT_COM_SSL}touch_iframe_parent.html`; // The long_tap test frequently fails on CI, isolating it to reduce the risk of // intermittent failures. See Bug 1980013. addRDMTask(TEST_URL, async function ({ ui }) { reloadOnTouchChange(true); await toggleTouchSimulation(ui); await runTouchAllEventsTests( ui, ["topFrame", "localIFrame", "remoteIFrame"], "long_tap" ); await toggleTouchSimulation(ui); });