author | Ian Neal <iann_cvs@blueyonder.co.uk> |
Tue, 07 Sep 2010 13:25:18 +0100 | |
changeset 52095 | fe3a1059a92b1177243854580a69173f5d863498 |
parent 52094 | ca371593d4330ce7b277ad5de11d56b2f9cc5b1c |
child 52096 | 34d82d177553f73d2b9ecdbe5ee63e5d755e7088 |
push id | 15539 |
push user | iann_cvs@blueyonder.co.uk |
push date | Tue, 07 Sep 2010 12:25:58 +0000 |
treeherder | mozilla-central@fe3a1059a92b [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 535903 |
milestone | 2.0b6pre |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
dom/tests/browser/browser_focus_steal_from_chrome.js | file | annotate | diff | comparison | revisions |
--- a/dom/tests/browser/browser_focus_steal_from_chrome.js +++ b/dom/tests/browser/browser_focus_steal_from_chrome.js @@ -85,17 +85,17 @@ function test() { tabs[1].linkedBrowser.loadURI(testingList[testingIndex].uri); } function onLoadForegroundTab() { tabs[0].linkedBrowser.removeEventListener("load", onLoadForegroundTab, true); if (setFocusToChrome) { // Set focus to a chrome element before the loaded content tries to move // focus. - BrowserSearch.searchBar.focus(); + document.getElementById("urlbar").focus(); } onLoadComplete(); } function onLoadBackgroundTab() { tabs[1].linkedBrowser.removeEventListener("load", onLoadBackgroundTab, true); onLoadComplete(); }