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

--HG--
extra : commitid : BIOvrwz8iiS
extra : transplant_source : %3F%ED%06%3EB%AF%EE%16W%C4qC.G%F2%E9%40%5E%A51
This commit is contained in:
Gijs Kruitbosch 2015-12-29 15:24:26 +00:00
parent a236e77645
commit 51083cba24

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);