Open Bug 1924747 Opened 1 year ago Updated 6 months ago

Firefox Suggest provides local PDFs from synced device as suggestion

Categories

(Application Services :: Sync, defect, P2)

Tracking

(Not tracked)

People

(Reporter: npoon, Unassigned)

References

Details

(Keywords: good-first-bug, Whiteboard: [fxsync-])

Attachments

(1 file)

STR

  1. Connect 2 devices to the same mozilla account.
  2. Download a PDF on device 2 and open it in firefox.
  3. On device 1, type the name / directory of a downloaded file on a different device in the search bar
  4. Notice that the local file on device 2 shows up in firefox suggest. Clicking on it results in a google search

Expected Behaviour

Local files from other devices do not show up on firefox suggest

Actual Behaviour

Local files from other devices show up on firefox suggest and clicking on it results in a search from the search engine

Moving across to sync. The affected URL there starts with content:// is that something we should be excluding from sync?

Component: Search → Sync

I think this is more specific to the suggest component so moving once more. Please n/i me if I am mistaken and it belongs to sync.

Component: Sync → Suggest
Product: Firefox → Application Services
See Also: → 1836573

I think this is sync rather than suggest.

This is a bit messy - we exclude some schemes for synced tabs via the pref https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#3882. Sadly though, syncing of history does not use that, and instead appears to exclude only file:// urls (https://searchfox.org/mozilla-central/source/services/sync/modules/engines/history.sys.mjs#99). Then we'd need to do this for mobile. But we should fix this.

Component: Suggest → Sync
Severity: -- → S3
Keywords: good-first-bug
Priority: -- → P2
Whiteboard: [fxsync-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: