From 2817e3268d0b196dbdada47bc332f4dfb4a7ad89 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Fri, 24 Apr 2020 11:26:23 +0000 Subject: [PATCH] Bug 1632097 - Add blank lines to browser_pageinfo_svg_image.js to make it easier to read. DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D72361 --- .../base/content/test/pageinfo/browser_pageinfo_svg_image.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser/base/content/test/pageinfo/browser_pageinfo_svg_image.js b/browser/base/content/test/pageinfo/browser_pageinfo_svg_image.js index f340c29ef4a7..a654681107ea 100644 --- a/browser/base/content/test/pageinfo/browser_pageinfo_svg_image.js +++ b/browser/base/content/test/pageinfo/browser_pageinfo_svg_image.js @@ -3,6 +3,7 @@ const URI = add_task(async function() { gBrowser.selectedTab = BrowserTestUtils.addTab(gBrowser); + BrowserTestUtils.loadURI(gBrowser.selectedBrowser, URI); await BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser, false, URI); @@ -10,8 +11,8 @@ add_task(async function() { gBrowser.selectedBrowser.currentURI.spec, "mediaTab" ); - await BrowserTestUtils.waitForEvent(pageInfo, "page-info-init"); + const imageTree = pageInfo.document.getElementById("imagetree"); const imageRowsNum = imageTree.view.rowCount;