mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 738818 followup: remove now-unused portions of test
This commit is contained in:
parent
34d5ef65a4
commit
11d5aabc10
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user