Bug 691925 - Replaced content.focus() with gBrowser.selectedBrowser.focus() and/or window.focus(). r=dao

This commit is contained in:
Abhishek Potnis
2012-09-19 12:59:26 +02:00
parent 0002b193e9
commit bcb5d9c439
10 changed files with 15 additions and 16 deletions

View File

@@ -38,7 +38,7 @@ var asyncTests = [
function (tab) {
info("closing tab with accel+w");
gBrowser.selectedTab = tab;
content.focus();
gBrowser.selectedBrowser.focus();
EventUtils.synthesizeKey("w", { accelKey: true });
},
function (tab) {