summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/text/autofill-preview-blank.html
blob: a235b7430f6f4bbd987ed534c2eb22a27e2e3ba1 (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, "-moz-autofill-preview");
</script>