No Bug - add test coverage for more types of form fields to ignore in session form field restore. r=MattN, a=test-only
authorMike de Boer <mdeboer@mozilla.com>
Thu, 07 Jul 2016 15:10:26 +0200
changeset 341962 f3e298bcd505bd69c8302d3bbb9e4ed4d5c1988d
parent 341961 6484e936f2c297f7c3c00b98ccf79fbdebef7686
child 341963 eaf5b9ddb33ff66c6bbac6f56bc843cef293cf3b
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN, test-only
milestone49.0a2
No Bug - add test coverage for more types of form fields to ignore in session form field restore. r=MattN, a=test-only MozReview-Commit-ID: KdN5kETA9go
browser/components/sessionstore/test/browser_456342_sample.xhtml
--- a/browser/components/sessionstore/test/browser_456342_sample.xhtml
+++ b/browser/components/sessionstore/test/browser_456342_sample.xhtml
@@ -17,12 +17,20 @@
 <input type="HIDDEN" name="hideme2"/>
 <input type="submit" name="submit"/>
 <input type="reset"  name="reset"/>
 <input type="image"  name="image"/>
 <input type="button" name="button"/>
 <input type="password" name="password"/>
 <input type="PassWord" name="password2"/>
 <input type="PASSWORD" name="password3"/>
+<input autocomplete="off" name="auto1"/>
+<input type="text" autocomplete="OFF" name="auto2"/>
+<textarea autocomplete="off" name="auto3"/>
+<select autocomplete="off" name="auto4">
+  <option value="1" selected="true"/>
+  <option value="2"/>
+  <option value="3"/>
+</select>
 </form>
 
 </body>
 </html>