Closed
Bug 1759418
Opened 3 years ago
Closed 3 years ago
Enable using Fathom to recognize credit card number field
Categories
(Toolkit :: Form Autofill, task, P2)
Toolkit
Form Autofill
Tracking
()
RESOLVED
FIXED
102 Branch
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: dimi, Assigned: dimi)
References
Details
Attachments
(3 files)
We haven't turned on the feature because the current fathom CC model doesn't include samples from Germany and France. We will enable this feature once we improve the model.
| Assignee | ||
Comment 1•3 years ago
|
||
The improvement includes:
- Train the model with more en-US, fr-FR and de-DE samples
- Add de-DE and fr-FR keywords
- Remove nagative lookbehind and negative lookahead from regular
expressions. - Check <td> and <dd> when searching labels
- Add rule to look at the closest label
- Remove IsNotVisble rule from cc-number and cc-name ruleset
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D146791
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D146792
Updated•3 years ago
|
Assignee: nobody → dlee
Attachment #9277275 -
Attachment description: WIP: Bug 1759418 - P1. Update CreditCardRuleset.jsm to → Bug 1759418 - P1. Update CreditCardRuleset.jsm to r=sgalich!
Status: NEW → ASSIGNED
Updated•3 years ago
|
Attachment #9277276 -
Attachment description: WIP: Bug 1759418 - P2. Use Fathom to detect cc-number field → Bug 1759418 - P2. Use Fathom to detect cc-number field r=sgalich!
Updated•3 years ago
|
Attachment #9277277 -
Attachment description: WIP: Bug 1759418 - P3. Enable using Fathom to recognize CC field → Bug 1759418 - P3. Enable using Fathom to recognize CC field r=sgalich!
Updated•3 years ago
|
Attachment #9277275 -
Attachment description: Bug 1759418 - P1. Update CreditCardRuleset.jsm to r=sgalich! → Bug 1759418 - P1. Update CreditCardRuleset.jsm to e6aff61 r=sgalich!
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/013930ed617f
P1. Update CreditCardRuleset.jsm to e6aff61 r=sgalich
https://hg.mozilla.org/integration/autoland/rev/dbf65a66ad3f
P2. Use Fathom to detect cc-number field r=sgalich
https://hg.mozilla.org/integration/autoland/rev/7feecbf279d4
P3. Enable using Fathom to recognize CC field r=sgalich
Comment 5•3 years ago
|
||
Backed out for causing bp-hybrid bustages on FormAutofillNative.
[task 2022-05-23T21:57:24.866Z] 21:57:24 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/toolkit/components/formautofill'
[task 2022-05-23T21:57:24.869Z] 21:57:24 INFO - /builds/worker/fetches/sccache/sccache /builds/worker/fetches/clang/bin/clang-cl -Xclang -std=c++17 -FoFormAutofillNative.obj -c -I/builds/worker/workspace/obj-build/dist/stl_wrappers -guard:cf -DNDEBUG=1 -DTRIMMED=1 -DUNICODE -D_UNICODE -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -D_SECURE_ATL -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DOS_WIN=1 -DWIN32 -D_WIN32 -D_WINDOWS -DWIN32_LEAN_AND_MEAN -DCOMPILER_MSVC -DWINAPI_NO_BUNDLED_LIBRARIES -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/toolkit/components/formautofill -I/builds/worker/workspace/obj-build/toolkit/components/formautofill -I/builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders -I/builds/worker/checkouts/gecko/ipc/chromium/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -MD -FI /builds/worker/workspace/obj-build/mozilla-config.h -DMOZILLA_CLIENT -Qunused-arguments -Qunused-arguments -W3 -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Werror=non-literal-null-conversion -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wno-unknown-pragmas -Wno-ignored-pragmas -Wno-deprecated-declarations -Wno-microsoft-enum-value -Wno-microsoft-include -Wno-invalid-noreturn -Wno-inconsistent-missing-override -Wno-implicit-exception-spec-mismatch -Wno-microsoft-exception-spec -Wno-unused-local-typedef -Wno-ignored-attributes -Wno-used-but-marked-unused -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wthread-safety -fcrash-diagnostics-dir=/builds/worker/artifacts -TP -Zc:sizedDealloc- -D_HAS_EXCEPTIONS=0 -Gy -Zc:inline -Gw -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING -GR- -Z7 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O2 -Oy- -Werror -fno-strict-aliasing -Xclang -ffp-contract=off -Xclang -MP -Xclang -dependency-file -Xclang .deps/FormAutofillNative.obj.pp -Xclang -MT -Xclang FormAutofillNative.obj /builds/worker/checkouts/gecko/toolkit/components/formautofill/FormAutofillNative.cpp
[task 2022-05-23T21:57:24.870Z] 21:57:24 INFO - /builds/worker/checkouts/gecko/toolkit/components/formautofill/FormAutofillNative.cpp(351,17): error: unused variable 'kCCNameBias' [-Werror,-Wunused-const-variable]
[task 2022-05-23T21:57:24.870Z] 21:57:24 INFO - constexpr float kCCNameBias = -5.3578081130981445;
[task 2022-05-23T21:57:24.871Z] 21:57:24 INFO - ^
[task 2022-05-23T21:57:24.871Z] 21:57:24 INFO - /builds/worker/checkouts/gecko/toolkit/components/formautofill/FormAutofillNative.cpp(352,17): error: unused variable 'kCCTypeBias' [-Werror,-Wunused-const-variable]
[task 2022-05-23T21:57:24.872Z] 21:57:24 INFO - constexpr float kCCTypeBias = -5.979659557342529;
[task 2022-05-23T21:57:24.872Z] 21:57:24 INFO - ^
[task 2022-05-23T21:57:24.872Z] 21:57:24 INFO - /builds/worker/checkouts/gecko/toolkit/components/formautofill/FormAutofillNative.cpp(353,17): error: unused variable 'kCCExpBias' [-Werror,-Wunused-const-variable]
[task 2022-05-23T21:57:24.873Z] 21:57:24 INFO - constexpr float kCCExpBias = -5.849575996398926;
[task 2022-05-23T21:57:24.873Z] 21:57:24 INFO - ^
[task 2022-05-23T21:57:24.873Z] 21:57:24 INFO - /builds/worker/checkouts/gecko/toolkit/components/formautofill/FormAutofillNative.cpp(354,17): error: unused variable 'kCCExpMonthBias' [-Werror,-Wunused-const-variable]
[task 2022-05-23T21:57:24.873Z] 21:57:24 INFO - constexpr float kCCExpMonthBias = -8.844199180603027;
[task 2022-05-23T21:57:24.875Z] 21:57:24 INFO - ^
[task 2022-05-23T21:57:24.878Z] 21:57:24 INFO - /builds/worker/checkouts/gecko/toolkit/components/formautofill/FormAutofillNative.cpp(355,17): error: unused variable 'kCCExpYearBias' [-Werror,-Wunused-const-variable]
[task 2022-05-23T21:57:24.878Z] 21:57:24 INFO - constexpr float kCCExpYearBias = -6.499860763549805;
[task 2022-05-23T21:57:24.879Z] 21:57:24 INFO - ^
[task 2022-05-23T21:57:24.879Z] 21:57:24 INFO - 5 errors generated.
[task 2022-05-23T21:57:24.879Z] 21:57:24 ERROR - gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:660: FormAutofillNative.obj] Error 1
[task 2022-05-23T21:57:24.879Z] 21:57:24 INFO - gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/toolkit/components/formautofill'
[task 2022-05-23T21:57:24.882Z] 21:57:24 ERROR - gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: toolkit/components/formautofill/target-objects] Error 2
[task 2022-05-23T21:57:24.882Z] 21:57:24 INFO - gmake[3]: *** Waiting for unfinished jobs....
[task 2022-05-23T21:57:24.882Z] 21:57:24 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/xpcom/threads'
Flags: needinfo?(dlee)
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a0649fdc26ac
P1. Update CreditCardRuleset.jsm to e6aff61 r=sgalich
https://hg.mozilla.org/integration/autoland/rev/e9b6f9acdb72
P2. Use Fathom to detect cc-number field r=sgalich
https://hg.mozilla.org/integration/autoland/rev/4d3cc15a1b62
P3. Enable using Fathom to recognize CC field r=sgalich
| Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(dlee)
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a0649fdc26ac
https://hg.mozilla.org/mozilla-central/rev/e9b6f9acdb72
https://hg.mozilla.org/mozilla-central/rev/4d3cc15a1b62
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
| Assignee | ||
Updated•3 years ago
|
Summary: Enable using Fathom to recognize CC field in Nightly → Enable using Fathom to recognize credit card number field
You need to log in
before you can comment on or make changes to this bug.
Description
•