<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>236212</bug_id>
          
          <creation_ts>2022-02-06 18:09:17 -0800</creation_ts>
          <short_desc>Safari/WebKit shouldn&apos;t learn input history for input method in private browsing mode</short_desc>
          <delta_ts>2022-06-30 10:48:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>macOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Makoto Kato">m_kato</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>megan_gardner</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>wilander</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1837970</commentid>
    <comment_count>0</comment_count>
    <who name="Makoto Kato">m_kato</who>
    <bug_when>2022-02-06 18:09:17 -0800</bug_when>
    <thetext>Windows (Windows 10 20H1+) and Android (API 26+) have IME private mode not to learn input history for input method.
- IS_PRIVATE for Windows (https://docs.microsoft.com/en-us/windows/win32/api/inputscope/ne-inputscope-inputscope)
- IME_FLAG_NO_PERSONALIZED_LEARNING for Android. (https://developer.android.com/reference/android/view/inputmethod/EditorInfo#IME_FLAG_NO_PERSONALIZED_LEARNING)
- GTK_INPUT_HINT_PRIVATE for GTK4. (https://gitlab.gnome.org/GNOME/gtk/-/issues/2261)

So Firefox and Chrome use this flag in private browsing mode, so when using private browsing mode, IME doesn&apos;t learn user&apos;s input history. But Safari/macOS still learns input history of IME even if private browsing mode.

Safari/macOS shouldn&apos;t learn input history of IME even if private browsing mode like Chrome and Firefox. I believe that personal privacy is high priority as Apple, but this issue isn&apos;t better than Google, Mozilla and Microsoft.

Reference:
- https://bugs.chromium.org/p/chromium/issues/detail?id=958054
- https://bugzilla.mozilla.org/show_bug.cgi?id=1549394</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838001</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-06 20:53:53 -0800</bug_when>
    <thetext>&lt;rdar://problem/88554942&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840084</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-02-10 18:53:08 -0800</bug_when>
    <thetext>Could you please clarify what scenario you are describing? Is this about typing in form controls on the page, or into Safari controls like the address bar, or tab names or anything like that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879437</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-06-30 10:48:41 -0700</bug_when>
    <thetext>Note that the bug reported here requires changes outside of the WebKit project. Consequently, this bug is being flagged as &quot;RESOLVED | MOVED&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>