Bug 898738 - 'Error: input is not defined' browser_formdata_format.js; r=yoric
authorTim Taubert <ttaubert@mozilla.com>
Mon, 29 Jul 2013 09:44:58 -0700
changeset 152656 82659e86fd98739a56cc08058d29751829634848
parent 152655 8f24192cb2b25d67789e158b23d40305c321ee6c
child 152657 7647768b47066d6e4506971b57ac303c5d4c335e
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyoric
bugs898738
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 898738 - 'Error: input is not defined' browser_formdata_format.js; r=yoric
browser/components/sessionstore/test/browser_formdata_format.js
--- a/browser/components/sessionstore/test/browser_formdata_format.js
+++ b/browser/components/sessionstore/test/browser_formdata_format.js
@@ -100,16 +100,16 @@ function testTabRestoreData(aFormData, a
         aCallback();
       };
 
       waitForSaveState(saveStateCallback);
 
       // force a change event to recollect the formdata
       let changeEvent = document.createEvent("Events");
       changeEvent.initEvent("change", true, true);
-      input.dispatchEvent(changeEvent);
+      input1.dispatchEvent(changeEvent);
     };
 
     waitForTabState(tab, tabState, tabStateCallback);
   };
 
   whenBrowserLoaded(tab.linkedBrowser, browserLoadedCallback);
 }