Bug 260708

Summary: Remove Quirk shouldAvoidUsingIOS13ForGmail for mail.google.com
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Unspecified   
OS: Unspecified   
URL: https://mail.google.com
Bug Depends on: 200605    
Bug Blocks:    

Description Karl Dubost 2023-08-25 02:04:48 PDT
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 "Mozilla/5.0 (iPhone; CPU iPhone OS 12_1_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)" 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 "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" 
12. Double check that all images are loaded.
13. Change the User Agent to be "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"
14. Reload the page


Expected 
All images are being loaded.

If images are properly loaded we can remove the Quirk.
Comment 1 Radar WebKit Bug Importer 2023-08-25 02:05:07 PDT
<rdar://problem/114438822>