The new migration window accepts importing any type of file when using the Import Bookmarks from HTML option
Categories
(Firefox :: Migration, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox114 | --- | unaffected |
firefox115 | --- | wontfix |
firefox116 | --- | fixed |
People
(Reporter: atrif, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
1.38 MB,
image/gif
|
Details |
Found in
- 115.0b2
Affected versions
- 116.0a1 (2023-06-07)
- 115.0b2
Tested platforms
- Affected platforms: Windows10 x64, Ubuntu 20.04, macOS 12
- Unaffected platforms: none
Preconditions
- browser.migrate.content-modal.enabled: true
Steps to reproduce
- Open the new migration window and select
Bookmarks from HTML file
. - On the
Import Bookmarks File
window chooseAll files
. - Import a random file.
Expected result
- Only HTML files are available.
Actual result
- Importing a random file that is not a .html file will display a
Bookmarks Imported Successfully
window that contains the imported entries variable displayed.
Regression range
- Not a regression, it started happening with the implementation of Bookmark importing from HTML files (bug 1833427).
Additional notes
- Attached a screen recording.
- The issue cannot be reproduced with the legacy migration window.
Comment 1•1 years ago
|
||
:atrif, if you think that's a regression, could you try to find a regression range using for example mozregression?
Reporter | ||
Updated•1 years ago
|
Comment 2•1 years ago
|
||
I think having "all files" be present here is somewhat expected (thinking particularly of backup .bak
files and whatnot), but we shouldn't provide bogus feedback when a file is selected that has no meaningful bookmarks. Mike, is that right?
Comment 3•1 years ago
|
||
Yes, that's correct! This should be fixed by bug 1837367, fwiw.
Comment 4•1 years ago
|
||
This should be fixed by bug 1837367 now. atrif, can you confirm?
Reporter | ||
Comment 5•1 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #4)
This should be fixed by bug 1837367 now. atrif, can you confirm?
Sure. Confirming that after following the steps from comment 0 with Firefox 116.0a1 (2023-06-19) on Windows 10x64, macOS 12 and Ubuntu 20.05 a The file doesn't include any bookmark data. Pick another file.
error is displayed giving the user an option to click on the Select File
button to choose another file or to Cancel
the file import. The $newEntries
string is no longer displayed.
Comment 6•1 years ago
|
||
Great, thanks!
Updated•1 year ago
|
Description
•