Bug 729474. (Av1) name/test_browserui.xul: Improve log, to help diagnose. r=surkov.alexander.

This commit is contained in:
Serge Gautherie 2012-02-22 14:45:24 +01:00
parent 552768cf47
commit 4a4844d2ad

View File

@ -55,8 +55,9 @@
this.check = function switchTab_check(aEvent)
{
var title = getAccessible(browserDocument()).name;
ok(title.indexOf(aEvent.accessible.name) != -1,
"Window title contains the name of active tab document");
isnot(title.indexOf(aEvent.accessible.name), -1,
"Window title contains the name of active tab document" +
" (Is '" + aEvent.accessible.name + "' in '" + title + "'?)");
}
this.getID = function switchTab_getID() { return "switch tab"; }