Closed Bug 1943391 Opened 1 year ago Closed 1 year ago

Initial entrypoint to detect preview reqeust and fetch content

Categories

(Core :: Machine Learning: General, enhancement)

enhancement
Points:
3

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: Mardak, Assigned: txia, NeedInfo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [genai])

Attachments

(1 file)

Set up handlers to detect link preview and basic fetch. Separate bug for UI and fetch logic, e.g., filtering or safe browsing. Behind a pref

Blocks: 1943393
Blocks: 1943394
Blocks: 1943395

given that we'll want to detect mouseover events on content links and grabbing page content with reader mode parsing, seems likely we'll introduce a new actor but could potentially reuse https://searchfox.org/mozilla-central/source/browser/components/genai/GenAIChild.sys.mjs

Points: --- → 3

we might want to start splitting out a separate link preview related sys.mjs from GenAI.sys.mjs

https://searchfox.org/mozilla-central/rev/55706b888f91fffa6f045f7cbc1a7b1c34598292/browser/components/genai/moz.build#10-11

where we can scope it e.g., https://searchfox.org/mozilla-central/search?q=EXTRA_JS_MODULES.

  • add LinkPreview.sys.mjs modules
  • disable browser.ml.linkPreview.enabled by default
Assignee: nobody → txia
Status: NEW → ASSIGNED
Blocks: 1951148
Attachment #9468314 - Attachment description: Bug 1943391 - Initial entrypoint to detect preview reqeust and fetch content - r=Mardak → Bug 1943391 - Initial entrypoint to detect preview reqeust - r=Mardak
Blocks: 1952011
Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/04574e76f8f5 Initial entrypoint to detect preview reqeust - r=Mardak,firefox-desktop-core-reviewers ,firefox-ai-ml-reviewers,mossop
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Pushed by abutkovits@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d7cf2733400 Initial entrypoint to detect preview reqeust - r=Mardak,firefox-desktop-core-reviewers ,firefox-ai-ml-reviewers,mossop
Flags: needinfo?(txia)
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Backout by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/47503d9b7c97 Backed out changeset 9d7cf2733400 for causing leaks on browser_tab_groups_closed.
See Also: → 1952900
Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/78089a268b01 Initial entrypoint to detect preview reqeust - r=Mardak,firefox-desktop-core-reviewers ,firefox-ai-ml-reviewers,mossop
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Blocks: 1955089
Blocks: 1958981
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: