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
This commit is contained in:
Emilio Cobos Álvarez 2023-03-08 23:01:46 +00:00
Родитель 5184a1bb4d
Коммит 1db91054d3
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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