Bug 738818 followup: remove now-unused portions of test

This commit is contained in:
Gavin Sharp 2013-04-10 16:58:07 -07:00
parent 34d5ef65a4
commit 11d5aabc10

View File

@ -68,11 +68,6 @@ function test() {
var gCurrTest;
function nextTest() {
// Clear the pref before every test (and after the last)
try {
Services.prefs.clearUserPref("keyword.URL");
} catch(ex) {}
if (gTests.length) {
gCurrTest = gTests.shift();
doTest();
@ -84,9 +79,6 @@ function nextTest() {
function doTest() {
info("Running test: " + gCurrTest.name);
if (gCurrTest.keywordURLPref)
Services.prefs.setCharPref("keyword.URL", gCurrTest.keywordURLPref);
// Simulate a user entering search terms
gURLBar.value = gCurrTest.testText;
gURLBar.focus();