mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 05:15:09 +00:00
Bug 898738 - 'Error: input is not defined' browser_formdata_format.js; r=yoric
This commit is contained in:
parent
d99d7f422a
commit
90114931da
@ -105,7 +105,7 @@ function testTabRestoreData(aFormData, aExpectedValue, aCallback) {
|
|||||||
// force a change event to recollect the formdata
|
// force a change event to recollect the formdata
|
||||||
let changeEvent = document.createEvent("Events");
|
let changeEvent = document.createEvent("Events");
|
||||||
changeEvent.initEvent("change", true, true);
|
changeEvent.initEvent("change", true, true);
|
||||||
input.dispatchEvent(changeEvent);
|
input1.dispatchEvent(changeEvent);
|
||||||
};
|
};
|
||||||
|
|
||||||
waitForTabState(tab, tabState, tabStateCallback);
|
waitForTabState(tab, tabState, tabStateCallback);
|
||||||
|
Loading…
Reference in New Issue
Block a user