mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 631956 - Intermittent browser_522545.js | sessionstore got correct userTypedValue; r=froydnj
This commit is contained in:
parent
ac06b3a3f7
commit
059ec2c88f
@ -198,6 +198,9 @@ function test() {
|
|||||||
event.initEvent("input", true, false);
|
event.initEvent("input", true, false);
|
||||||
gURLBar.dispatchEvent(event);
|
gURLBar.dispatchEvent(event);
|
||||||
|
|
||||||
|
browser.addEventListener("load", function onLoad() {
|
||||||
|
browser.removeEventListener("load", onLoad, true);
|
||||||
|
|
||||||
executeSoon(function () {
|
executeSoon(function () {
|
||||||
is(browser.userTypedValue, "example.org",
|
is(browser.userTypedValue, "example.org",
|
||||||
"userTypedValue was set when changing gURLBar.value");
|
"userTypedValue was set when changing gURLBar.value");
|
||||||
@ -212,6 +215,7 @@ function test() {
|
|||||||
"sessionstore got correct userTypedClear");
|
"sessionstore got correct userTypedClear");
|
||||||
runNextTest();
|
runNextTest();
|
||||||
});
|
});
|
||||||
|
}, true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user