<?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>260708</bug_id>
          
          <creation_ts>2023-08-25 02:04:48 -0700</creation_ts>
          <short_desc>Remove Quirk shouldAvoidUsingIOS13ForGmail for mail.google.com</short_desc>
          <delta_ts>2024-08-23 00:02:07 -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>New Bugs</component>
          <version>Safari 17</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://mail.google.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>GoodFirstBug, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>200605</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Karl Dubost">karlcow</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1973485</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-08-25 02:04:48 -0700</bug_when>
    <thetext>This Quirk was added with Bug 200605 on August 2019 (4 years ago)
tracked also at rdar://problem/52545742

Steps to understand if it can be removed
1. With Safari on an iPhone
2. Go to https://mail.google.com/
3. Login
4. Connect to the phone with Web Inspector on a MacBook
5. Inspect the mail.google.com tab from the iPhone
6. check the User Agent String in the console with `navigator.userAgent`
7. It should be &quot;Mozilla/5.0 (iPhone; CPU iPhone OS 12_1_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)&quot; because of the Quirk
8. Disable Site Specific Hacks on the phone
9. Reload the site
10. Check the User Agent String in the console with `navigator.userAgent`
11. It should be something along &quot;Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1&quot; 
12. Double check that all images are loaded.
13. Change the User Agent to be &quot;Mozilla/5.0 (iPhone; CPU iPhone OS 13 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13 Mobile/15E148 Safari/604.1&quot;
14. Reload the page


Expected 
All images are being loaded.

If images are properly loaded we can remove the Quirk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973486</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-25 02:05:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/114438822&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054213</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-08-20 15:01:57 -0700</bug_when>
    <thetext>See https://github.com/WebKit/WebKit/commit/b49d99266d0d84c0331d69f63263f5a856a5e773
or https://searchfox.org/wubkat/search?q=shouldAvoidUsingIOS13ForGmail&amp;path=&amp;case=false&amp;regexp=false</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054224</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-08-20 15:23:37 -0700</bug_when>
    <thetext>This Quirk can be removed now as iOS 13 has long passed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054317</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-08-20 20:00:01 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32504</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054892</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-23 00:02:06 -0700</bug_when>
    <thetext>Committed 282652@main (eab1695be721): &lt;https://commits.webkit.org/282652@main&gt;

Reviewed commits have been landed. Closing PR #32504 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>