From da4c7e7ed675c3bf405668739c3012d140856109 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:42 +0200 Subject: Adding upstream version 126.0. Signed-off-by: Daniel Baumann --- testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs') diff --git a/testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs b/testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs index 1793a6646f..463be20cec 100644 --- a/testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs +++ b/testing/mochitest/BrowserTestUtils/BrowserTestUtils.sys.mjs @@ -745,7 +745,7 @@ export var BrowserTestUtils = { * @resolves With the {xul:tab} when a tab is opened and its location changes * to the given URL and optionally that browser has loaded. * - * NB: this method will not work if you open a new tab with e.g. BrowserOpenTab + * NB: this method will not work if you open a new tab with e.g. BrowserCommands.openTab * and the tab does not load a URL, because no onLocationChange will fire. */ waitForNewTab( @@ -1737,7 +1737,7 @@ export var BrowserTestUtils = { }, /** - * Versions of EventUtils.jsm synthesizeMouse functions that synthesize a + * Versions of EventUtils.sys.mjs synthesizeMouse functions that synthesize a * mouse event in a child process and return promises that resolve when the * event has fired and completed. Instead of a window, a browser or * browsing context is required to be passed to this function. @@ -1754,7 +1754,7 @@ export var BrowserTestUtils = { * @param {integer} offsetY * y offset from target's top bounding edge * @param {Object} event object - * Additional arguments, similar to the EventUtils.jsm version + * Additional arguments, similar to the EventUtils.sys.mjs version * @param {BrowserContext|MozFrameLoaderOwner} browsingContext * Browsing context or browser element, must not be null * @param {boolean} handlingUserInput @@ -1792,7 +1792,7 @@ export var BrowserTestUtils = { }, /** - * Versions of EventUtils.jsm synthesizeTouch functions that synthesize a + * Versions of EventUtils.sys.mjs synthesizeTouch functions that synthesize a * touch event in a child process and return promises that resolve when the * event has fired and completed. Instead of a window, a browser or * browsing context is required to be passed to this function. @@ -1809,7 +1809,7 @@ export var BrowserTestUtils = { * @param {integer} offsetY * y offset from target's top bounding edge * @param {Object} event object - * Additional arguments, similar to the EventUtils.jsm version + * Additional arguments, similar to the EventUtils.sys.mjs version * @param {BrowserContext|MozFrameLoaderOwner} browsingContext * Browsing context or browser element, must not be null * -- cgit v1.2.3