Closed Bug 1502821 Opened 2 years ago Closed 1 year ago

browser.urlbar.suggest.bookmark false is no longer respected

Categories

(Firefox :: Address Bar, defect, P2)

63 Branch
defect
Points:
3

Tracking

()

VERIFIED FIXED
Firefox 70
Iteration:
70.1 - Jul 8 - 21
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- wontfix
firefox68 --- wontfix
firefox69 --- verified
firefox70 --- verified

People

(Reporter: evedaneeltrevize, Assigned: adw)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fxsearch])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Steps to reproduce:

Have bookmarked sites, and don't have them in your history.

Uncheck Options > Privacy & Security > Address Bar > When using the address bar, suggest: Bookmarks. Or set browser.urlbar.suggest.bookmark false in about:config

(Update from FF 62 to FF 63).


Actual results:

Start typing the bookmarked site in the address bar, and notice that it suggests the bookmarked site, despite the setting not to use bookmarks as a suggestion source.


Expected results:

Bookmarks should not be used as a suggestion source while this setting is false/uncheked, bookmarked sites should not be revealed and presented when typing in the address bar.
Component: Untriaged → Address Bar
New Firefox version no longer uses moz_hosts, instead it suggests host from moz_origins. With this change, it ignores setting "Suggest from Bookmarks" and autocompletes url. It also seems to ignore or bypass frecency, still suggests at negative values.
Flags: needinfo?(mak77)
It's likely a fallback from bug 1488879 and bug 1493636
Blocks: 1488879, 1493636
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mak77)
Keywords: regression
Priority: -- → P1
Whiteboard: [fxsearch]
Assignee: nobody → adw
Status: NEW → ASSIGNED
This bug is still present in 64.0
Summary: Firefox 63 not honouring browser.urlbar.suggest.bookmark false → Firefox 63,64 not honouring browser.urlbar.suggest.bookmark false
Thanks for the update, but there's really no need to update titles/bugs for each version. This is a P1 issue and we'll hopefully get to it soon.
Summary: Firefox 63,64 not honouring browser.urlbar.suggest.bookmark false → browser.urlbar.suggest.bookmark false is no longer offered
Summary: browser.urlbar.suggest.bookmark false is no longer offered → browser.urlbar.suggest.bookmark false is no longer respected
Duplicate of this bug: 1519970
Priority: P1 → P2

Might I enquire why this has been downgraded in priority? It's still leaking all bookmarks into the URL bar despite an explicit menu option to not do so.

Because the team is really busy, so we plan to fix it asap, but we have no resources to fix it "now". Bookmarks are not a top tier privacy information, as such it's not a critical issue. If you have ideas on how to fix the bug, we'll gladly accept suggestions in shape of a code patch.

Duplicate of this bug: 1205528
Iteration: --- → 70.1 - Jul 8 - 21
Points: --- → 3
  • Add a new case for when suggest.bookmark = false to the logic that returns the appropriate SQL query
  • Add a bunch of new tests that cover all cases
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a0d1724c35aa
Don't autofill bookmarks when browser.urlbar.suggest.bookmark is false. r=mak
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
No longer blocks: 1488879, 1493636
Flags: in-testsuite+
Regressed by: 1488879, 1493636

Is this something we should consider uplifting to Beta for Fx69 or can it ride Fx70 to release?

Flags: needinfo?(adw)

I think it would be OK to uplift. I'll request approval.

Flags: needinfo?(adw)

Comment on attachment 9078842 [details]
Bug 1502821 - Don't autofill bookmarks when browser.urlbar.suggest.bookmark is false.

Beta/Release Uplift Approval Request

  • User impact if declined: This bug has been present since 63, so it's not a critical uplift.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Please see comment 0, but note that when it says "suggest", it means autofill (i.e., the text in the input is automatically filled in with a domain name as you are typing)
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): We're handling a case that wasn't previously handled and not changing anything else. Has lots of automated tests.
  • String changes made/needed: None
Attachment #9078842 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9078842 [details]
Bug 1502821 - Don't autofill bookmarks when browser.urlbar.suggest.bookmark is false.

Fixes a bug causing the browser.urlbar.suggest.bookmark pref to not be respected. Adds new automated test coverage. Approved for 69.0b9.

Attachment #9078842 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproduced from 62.0.3 (buildID:20181001155545) -> 64.0a1 (buildID:20180915220059)

Confirming as verified fixed on Nightly 70.0a1 (buildID:20190729213839) and 69.0b9 (buildID:20190730004747) with Win 10x64, Ubuntu 18.04 and macOS 10.13

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Regressions: 1582234
You need to log in before you can comment on or make changes to this bug.