summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/text/autofill-blank.html
blob: 966d314038001da3fa40cc184677ea7b99a5a008 (plain)
1
2
3
4
5
6
7
8
<!doctype html>
<input type=text>
<script>
  let input = SpecialPowers.wrap(document.querySelector("input"));
  SpecialPowers.Cc["@mozilla.org/satchel/form-fill-controller;1"].getService(SpecialPowers.Ci.nsIFormFillController).markAsAutofillField(input);
  input.getBoundingClientRect();
  SpecialPowers.wrap(window).windowUtils.addManuallyManagedState(input, "autofill");
</script>