Potential privacy leak from Win10 keyboard autocomplete of data entered in Private Browsing
Categories
(Core :: Widget: Win32, defect, P3)
Tracking
()
People
(Reporter: jesup, Assigned: m_kato)
References
Details
(4 keywords, Whiteboard: [adv-main72+])
Attachments
(3 files, 1 obsolete file)
Chrome is expected to fix a privacy leak from Incognito mode to normal browsing via the keyboard learning autocomplete data and exposing it in the normal browsing context. See https://hothardware.com/news/micrsoft-chromium-fixes (latter part).
Basically, we should be using IS_PRIVATE as the input scope in Private Browsing on windows to avoid the Win10 keyboard from learning from input and offering as corrections or autocomplete data when we're not in Private Browsing.
See https://docs.microsoft.com/en-us/windows/desktop/api/inputscope/ne-inputscope-inputscope
Comment 1•6 years ago
|
||
AFAICT this would need to live in WinIMEHandler.cpp and TSFTextStore.cpp, and would be relatively straightforward to do once we figure out how to go from the window/widget ref to "is this window in private browsing".
Comment 2•6 years ago
|
||
We should also use it for password fields in NON-private browsing (unless we're using IS_PASSWORD and that does the same, although it's deprecated now).
Comment 3•6 years ago
|
||
The priority flag is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
![]() |
||
Updated•6 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
3 years ago, although I investigated IS_PRIVATE flag support for MS-IME, IME didn't see this flag and IME called LCIEIsCurrentProcessInPrivate
to detect whether IE/Edge is private mode. If MS-IME supports IS_PRIVATE, we should support it.
When I test Chrome Canary 80 with Windows 10 Build 1903, incognito mode on Chrome won't change to IME private mode. And this is same result even if using Insider build 18990.
Comment 5•5 years ago
|
||
Makoto-san, currently, MS-IME is being redesigned as you know. How about to request it via Feedback Hub? If you file it, I'll tell the feedback URL to the engineers.
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Masayuki Nakano [:masayuki] (he/him)(JST, +0900) from comment #5)
Makoto-san, currently, MS-IME is being redesigned as you know. How about to request it via Feedback Hub? If you file it, I'll tell the feedback URL to the engineers.
When I talked with Yukawa-san when he came to Japan, he said, "Although I approved this patch, I didn't know whether MS-IME supported private mode by IS_PRIVATE really."
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Use AutoTArray to set input scope.
Assignee | ||
Comment 10•5 years ago
|
||
Microsoft IME on Windows 10 20H1 (build 19025+) supports IME private mode by
input scope. Although previous Windows version uses undocumented API for
Edge and IE only, next Windows will use public API for it.
So let's use IS_PRIVATE input scope in private browsing mode.
Depends on D53917
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Backed out 2 changesets (bug 1549394) for MinGW bustages at TSFTextStore.cpp.
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=277327480&repo=autoland&lineNumber=73741
Comment 13•5 years ago
|
||
Sorry for the mingw failure. We had a similar one of these recently, you can follow that pattern to fix it.
File a bug like Bug 1597739 blocking mingw-clang
Stick in a mingw hack-around: https://hg.mozilla.org/mozilla-central/rev/ba86d1b7d2a5
Comment 14•5 years ago
|
||
Assignee | ||
Comment 15•5 years ago
|
||
MinGW doesn't have IS_PRIVATE (Why?). So re-landed this using MINGW32
Assignee | ||
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
Comment 18•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4cbaf7e27c2e
https://hg.mozilla.org/mozilla-central/rev/f081bea8c605
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
Updated•5 years ago
|
Description
•