From 7ac1460c9f359dfd14bae7463a2c93240b67a43c Mon Sep 17 00:00:00 2001 From: Masayuki Nakano Date: Wed, 14 Dec 2022 04:47:48 +0000 Subject: [PATCH] Bug 1784847 - Disable the breakpoint tests of composition events until bug 1466596 or bug 1690827 is fixed r=bomsy I think that fixing the crash bug requires a big design change to manage delayed composition commit requests from a remote process and I don't have much time to work on it but the intermittent failure frequency has spiked up. Therefore, we need temporarily to comment out the block for now. Differential Revision: https://phabricator.services.mozilla.com/D164532 --- .../test/mochitest/browser_dbg-event-breakpoints.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devtools/client/debugger/test/mochitest/browser_dbg-event-breakpoints.js b/devtools/client/debugger/test/mochitest/browser_dbg-event-breakpoints.js index 83c694515edf..c00f440c5ab0 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg-event-breakpoints.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg-event-breakpoints.js @@ -77,6 +77,8 @@ add_task(async function() { await toggleEventBreakpoint(dbg, "Control", "event.control.focusin"); await toggleEventBreakpoint(dbg, "Control", "event.control.focusout"); + // TODO: Enable this block when you fix bug 1466596 or bug 1690827 + /* await toggleEventBreakpoint( dbg, "Keyboard", @@ -133,6 +135,7 @@ add_task(async function() { await waitForPaused(dbg); assertPausedAtSourceAndLine(dbg, eventBreakpointsSource.id, 63); await resume(dbg); + */ info(`Check that breakpoint can be set on "scrollend"`); await toggleEventBreakpoint(dbg, "Control", "event.control.scrollend"); @@ -274,6 +277,8 @@ async function invokeOnElement(selector, action) { ); } +// TODO: Enable this function when you fix bug 1466596 or bug 1690827 +/* function invokeComposition() { const string = "ex"; EventUtils.synthesizeCompositionChange({ @@ -290,3 +295,4 @@ function invokeComposition() { key: { key: string[string.length - 1] }, }); } +*/