Bug 621732 - Random failure in browser_navigation.js - followup [r=me]

This commit is contained in:
Vivien Nicolas 2010-12-29 11:44:15 +01:00
parent ee317bc2ca
commit 0c4bcf3330

View File

@ -129,11 +129,11 @@ gTests.push({
} }
waitFor(function() { waitFor(function() {
is(BrowserUI._edit.value, testURL_02, "URL value should be equal to the string sent via synthesizeString");
EventUtils.synthesizeKey("VK_RETURN", {}, window);
// Wait for the tab to load, then do the test // Wait for the tab to load, then do the test
waitFor(gCurrentTest.onPageFinish, pageLoaded(testURL_02)); waitFor(gCurrentTest.onPageFinish, pageLoaded(testURL_02));
is(BrowserUI._edit.value, testURL_02, "URL value should be equal to the string sent via synthesizeString");
EventUtils.synthesizeKey("VK_RETURN", {}, window);
}, URLIsReadWrite); }, URLIsReadWrite);
}, },