From 063fe2212e3d5e97eae6eb79d89ac24033458397 Mon Sep 17 00:00:00 2001 From: Narcis Beleuzu Date: Wed, 12 Apr 2023 21:12:22 +0300 Subject: [PATCH] Backed out changeset 18a6a649b1a1 (bug 1821985) for causing dt failures on browser_webextension_dropdown.js . CLOSED TREE --- devtools/client/framework/test/browser.ini | 4 ++-- .../client/framework/test/browser_webextension_dropdown.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devtools/client/framework/test/browser.ini b/devtools/client/framework/test/browser.ini index 7a3f52f621cf..9274dddb1344 100644 --- a/devtools/client/framework/test/browser.ini +++ b/devtools/client/framework/test/browser.ini @@ -166,8 +166,8 @@ skip-if = fail-if = a11y_checks # bug 1687737 tools-chevron-menu-button is not accessible [browser_webextension_descriptor.js] [browser_webextension_dropdown.js] -skip-if = - os == "linux" && !debug # Bug 1714106 +skip-if = true # Temporary +# os == "linux" && !debug # Bug 1714106 # We want these tests to run for mochitest-dt as well, so we include them here: [../../../../browser/base/content/test/static/browser_parsable_css.js] skip-if = diff --git a/devtools/client/framework/test/browser_webextension_dropdown.js b/devtools/client/framework/test/browser_webextension_dropdown.js index 69a0abde1b0e..daa26c8821ee 100644 --- a/devtools/client/framework/test/browser_webextension_dropdown.js +++ b/devtools/client/framework/test/browser_webextension_dropdown.js @@ -40,7 +40,7 @@ add_task(async function runTest() { const iframe = panel.firstChild; const popupShownPromise = BrowserTestUtils.waitForSelectPopupShown( - toolbox.win.browsingContext.topChromeWindow + iframe.contentWindow ); const browser = iframe.contentDocument.getElementById(