From 1db91054d36f97f815d7dd4cc8d69f7adf397099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 8 Mar 2023 23:01:46 +0000 Subject: [PATCH] Bug 1787008 - Add some dumping of load notifications to a test. r=dholbert Seems per the logs we're hanging at the beginning of the test which is a bit surprising. Try to see if we're failing to load any browser in particular or we're getting an unexpected notification or what not. Differential Revision: https://phabricator.services.mozilla.com/D172054 --- layout/base/tests/chrome/test_color_scheme_browser.xhtml | 1 + 1 file changed, 1 insertion(+) diff --git a/layout/base/tests/chrome/test_color_scheme_browser.xhtml b/layout/base/tests/chrome/test_color_scheme_browser.xhtml index 54297175b452..15a6ac2282e5 100644 --- a/layout/base/tests/chrome/test_color_scheme_browser.xhtml +++ b/layout/base/tests/chrome/test_color_scheme_browser.xhtml @@ -31,6 +31,7 @@ let loaded = new Promise(resolve => { b.addProgressListener({ onStateChange(aWebProgress, aRequest, aStateFlags, aStatus) { + info(`Got state change for ${b.parentNode.id}: ${aStateFlags}, ${aStatus}`); if ( aStateFlags & Ci.nsIWebProgressListener.STATE_IS_WINDOW && aStateFlags & Ci.nsIWebProgressListener.STATE_STOP