Closed Bug 2019623 Opened 2 months ago Closed 1 month ago

Add columns to moz_origins and preferences for temporary autofill blocking

Categories

(Firefox :: Address Bar, task, P2)

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: jteow, Assigned: jteow)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng][adaptive-autofill])

Attachments

(2 files)

When the user backspaces or dismisses the autofill suggestion, we add to this temporary blocklist, for a while (let’s start with 7 days for dismiss, 2 days for backspace) the url won’t be suggested. This removes the immediate annoyance of getting a wrong result repeatedly, while at the same time reduces the risk of accidental dismissals blocklisting the url forever. During the timeframe we assume the user can train Firefox to pick a better result.

We can add a block_until_ms and block_pages_until_ms timestamp column to moz_origins. The former is used on the origin, the latter is used on all subpages.

Set a blocklist expiration date in it, compare with current time when querying.

Summary: Dismissed autofill suggestions should be temporarily blocklisted rather than permanently removed → Add columns to moz_origins and preferences for temporary autofill blocking
Blocks: 2021079
Attachment #9548435 - Attachment description: WIP: - Bug 2019623 - Part 1: Create block_until_ms in moz_inputhistory - r?mak! → WIP: - Bug 2019623 - Part 1: Add block_until_ms and block_pages_until_ms to moz_origins - r?#places-reviewers!
Attachment #9548436 - Attachment description: WIP: - Bug 2019623 - Part 2: Add block list duration - r?mak! → WIP: - Bug 2019623 - Part 2: Add block list duration preferences and Nimbus variables - r?#urlbar-reviewers!
Assignee: nobody → jteow
Attachment #9548435 - Attachment description: WIP: - Bug 2019623 - Part 1: Add block_until_ms and block_pages_until_ms to moz_origins - r?#places-reviewers! → Bug 2019623 - Part 1: Add block_until_ms and block_pages_until_ms to moz_origins - r?#places-reviewers!
Status: NEW → ASSIGNED
Attachment #9548436 - Attachment description: WIP: - Bug 2019623 - Part 2: Add block list duration preferences and Nimbus variables - r?#urlbar-reviewers! → Bug 2019623 - Part 2: Add block list duration preferences and Nimbus variables - r?#urlbar-reviewers!
Pushed by jteow@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3809552c7889 https://hg.mozilla.org/integration/autoland/rev/7fa97f8e43d3 Part 1: Add block_until_ms and block_pages_until_ms to moz_origins - r=places-reviewers,daisuke https://github.com/mozilla-firefox/firefox/commit/ec0c58ca5808 https://hg.mozilla.org/integration/autoland/rev/ab88542bc350 Part 2: Add block list duration preferences and Nimbus variables - r=urlbar-reviewers,daisuke
Whiteboard: [sng] → [sng][adaptive-autofill]
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [QA-4997][qa-ver-needed-c151]
QA Contact: cbaica
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: