Bug 631956 - Intermittent browser_522545.js | sessionstore got correct userTypedValue; r=froydnj

This commit is contained in:
Tim Taubert 2012-07-26 15:20:28 +02:00
parent ac06b3a3f7
commit 059ec2c88f

View File

@ -198,7 +198,10 @@ function test() {
event.initEvent("input", true, false);
gURLBar.dispatchEvent(event);
executeSoon(function() {
browser.addEventListener("load", function onLoad() {
browser.removeEventListener("load", onLoad, true);
executeSoon(function () {
is(browser.userTypedValue, "example.org",
"userTypedValue was set when changing gURLBar.value");
is(browser.userTypedClear, 0,
@ -212,6 +215,7 @@ function test() {
"sessionstore got correct userTypedClear");
runNextTest();
});
}, true);
});
}