History not imported from IE and therefore IE passwords are not imported on Windows 7
Categories
(Firefox :: Migration, defect, P1)
Tracking
()
People
(Reporter: danibodea, Assigned: MattN)
References
Details
(Keywords: regression)
Attachments
(3 files)
Note
- This bug has been logged as a request from bug 1520949 and it is blocking bug 682069.
- When a Windows 7 user migrates from IE11 to Firefox and attempts to import the data from the other browser, he will notice that the passwords, history and other data will not be imported.
Affected versions
- Nightly v67.0a1 from 2019-03-05
- Beta v66.0b14
- Release v65.0.2
Affected platforms
- Windows 7 ONLY
Steps to reproduce
- Firstly, I have saved the passwords into IE11 using the auto-save feature ("User names and passwords on forms" is CHECKED and "Ask me before saving passwords" is CHECKED, settings found in IE11 at Internet Options, Content tab, Auto-Complete Settings button), logged into some websites and chose to save the credentials in the automatic pop-up.
- I have confirmed that the passwords were saved by logging out and reloading the page to see whether the credentials were actually saved, then again after a browser restart.
- I have attempted to import the credentials into Firefox using Firefox's import feature.
Expected result
- The passwords and history saved into IE should be correctly imported into Firefox.
Actual result
- No password, history or other data were imported from IE11 into Firefox.
- Error displayed in Browser Console: "We failed to decrypt and import some logins. This is likely because we didn't find the URLs where these passwords were submitted in the IE history and which are needed to be used as keys in the decryption."
Reporter | ||
Comment 1•6 years ago
|
||
I have performed a mozregression to find the regressor and these are the last console messages:
"2019-03-07T10:04:10: INFO : Narrowed inbound regression window from [e3bbdb2f, 2bd127de] (3 builds) to [b88f5fa7, 2bd127de] (2 builds) (~1 steps left)
2019-03-07T10:04:10: DEBUG : Starting merge handling...
2019-03-07T10:04:10: DEBUG : Using url: https://hg.mozilla.org/integration/mozilla-inbound/json-pushes?changeset=2bd127de1f05cd8379c279caea727690b847e5b9&full=1
2019-03-07T10:04:21: DEBUG : Found commit message:
Bug 1484496: Part 6 - Remove unused XPCOMUtils.IterSimpleEnumerator method. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3734
2019-03-07T10:04:21: DEBUG : Did not find a branch, checking all integration branches
2019-03-07T10:04:21: INFO : The bisection is done.
2019-03-07T10:04:21: INFO : Stopped"
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
:kmag, is it obvious to you what is wrong with your change? Using
iehist.getNext().QueryInterface(Ci.nsIPropertyBag2).get("uri").QueryInterface(Ci.nsIURI)
works fine but using the iterator protocol gives no results.
See:
- https://searchfox.org/mozilla-central/source/browser/components/migration/nsIEHistoryEnumerator.h
- https://searchfox.org/mozilla-central/source/browser/components/migration/nsIEHistoryEnumerator.cpp
- https://searchfox.org/mozilla-central/rev/b2d35912da5b2acecb0274eb113777d344ffb75e/browser/components/migration/IEProfileMigrator.jsm#41-42,117-118
Comment 3•6 years ago
|
||
I think the problem is that that enumerator expects you to call hasMoreElements() before getNext(), but the iterator protocol doesn't require that, so the JS iterator stubs don't do it.
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Bodea Daniel [:danibodea] from comment #0)
Affected platforms
- Windows 7 ONLY
Are you sure? This should affect history import from IE on all Windows versions.
It should only affect password import on Windows 7 since it changed from Windows 8+ (independent of IE version).
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D22843
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D22844
Assignee | ||
Comment 8•6 years ago
|
||
Reporter | ||
Comment 9•6 years ago
|
||
(In reply to Matthew N. [:MattN] (PM me if requests are blocking you) from comment #4)
(In reply to Bodea Daniel [:danibodea] from comment #0)
Affected platforms
- Windows 7 ONLY
Are you sure? This should affect history import from IE on all Windows versions.
It should only affect password import on Windows 7 since it changed from Windows 8+ (independent of IE version).
You are right, Matthew. The history is not imported in Windows 10 either, from IE11 to Nightly v67.0a1 from 2019-03-10.
Sorry for the confusion, initially I have only checked for the password import that was the main issue, which does import as expected. I have to mention that I haven't checked the Windows 8 behavior due to the time pressure and OS unpopularity.
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5a255779e2a7
https://hg.mozilla.org/mozilla-central/rev/7651c91b361b
https://hg.mozilla.org/mozilla-central/rev/53ab271d6020
Comment 12•6 years ago
|
||
Verified the issue on Windows 7 x64 and Windows 10 x64 on latest Nightly 67.0a1 (buildID: 20190313215409)
- Windows 10 x64: both history and bookmarks are imported from Edge
- Windows 7 x64: Only history is imported from Internet Explorer, the passwords are missing. Browser console shows this error: https://imgur.com/a/iLzA668
Hey Matt, please take a look at this when you have the time. Thanks
Assignee | ||
Comment 13•6 years ago
|
||
(In reply to Timea Babos from comment #12)
Verified the issue on Windows 7 x64 and Windows 10 x64 on latest Nightly 67.0a1 (buildID: 20190313215409)
- Windows 10 x64: both history and bookmarks are imported from Edge
- Windows 7 x64: Only history is imported from Internet Explorer, the passwords are missing. Browser console shows this error: https://imgur.com/a/iLzA668
Hey Matt, please take a look at this when you have the time. Thanks
Thank you, I have filed bug 1535757 for the existing password issue. Looks like History import is fixed.
Comment 14•6 years ago
|
||
Thanks Matt! Marking this as verified for Firefox 67.
Updated•6 years ago
|
Updated•6 years ago
|
Description
•