Closed Bug 1992363 Opened 10 months ago Closed 2 months ago

Add ability to import browser data from Microsoft Edge on Linux

Categories

(Firefox :: Migration, enhancement, P3)

Firefox 143
Desktop
Linux
enhancement

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: the.decryptor, Assigned: lalala_233)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 Edg/140.0.0.0

Steps to reproduce:

Tried to import from my existing Edge profile into Firefox via the "Import Browser Data" function in the settings.

Actual results:

An error dialog appeared stating "Firefox couldn’t find any programmes that contain bookmark, history or password data."

Expected results:

Firefox should have presented me with a list of things to import.

Also, whenever I click the Import button, there's an error emitted in the browser console.

DOMException: PathUtils.join: PathUtils does not support empty paths
    getDataPath resource:///modules/ChromeMigrationUtils.sys.mjs:347

Looking at the referenced line, the function is trying to open the platform specific location of where the other browsers stores the user profile, looking at the paths stored just before the error location there's this comment in the Linux specific paths section.

// Edge is not available on Linux.

It's a bit out of date.

The Bugbug bot thinks this bug should belong to the 'Firefox::Bookmarks & History' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Bookmarks & History
Component: Bookmarks & History → Migration
Type: defect → enhancement
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Summary: [Linux] Unable to import browser data from Microsoft Edge → Add ability to import browser data from Microsoft Edge on Linux
Priority: -- → P3

Thank you for the report and for providing the details. Marking this enhancement as New.

Status: UNCONFIRMED → NEW
Ever confirmed: true

This patch allow Firefox to read $HOME/.config/microsoft-edge/ to import Edge's
data, including passwords, histories and bookmarks.

It seems like Edge canary, Edge beta and Edge dev's data can be import in the same
way, but I don't know their paths and if it works, and I cannot test it. Should I
add these?