Bug 1182072 - Add more diagnostic output to test failures caused by extra windows, r=jmaher,RyanVM

This commit is contained in:
Gijs Kruitbosch 2015-12-29 15:24:26 +00:00
parent 162d0252c7
commit 8fa84c29c7

View File

@ -314,7 +314,8 @@ Tester.prototype = {
type = "browser window";
break;
case null:
type = "unknown window";
type = "unknown window with document URI: " + win.document.documentURI +
" and title: " + win.document.title;
break;
}
let msg = baseMsg.replace("{elt}", type);