summaryrefslogtreecommitdiffstats
path: root/browser/extensions/formautofill/test/browser/heuristics/browser_fr_fields.js
blob: b43d1b1e2a717008945f0915273e8dfdfc9ffafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */

/* global add_heuristic_tests */

"use strict";

add_heuristic_tests(
  [
    {
      fixturePath: "heuristics_fr_fields.html",
      expectedResult: [
        {
          fields: [
            { fieldName: "cc-number", reason: "fathom" },
            { fieldName: "cc-exp", reason: "update-heuristic" },
            { fieldName: "cc-name", reason: "regex-heuristic" },
          ],
        },
      ],
    },
  ],
  "fixtures/"
);