google / google/ios-webkit-debug-proxy
New browser tabs are not being detected in Safari browser for iOS 17.4 and above
- Dominant language
- C
- Stars
- 6.2k
- Forks
- 480
- PR merge metrics
- No merged PRs in 30d
Description
## New browser tabs are not being detected in Safari browser for iOS 17.4 and above
### Version details
| | |
|--------|--------|
| Device | iPhone 15 Plus v17.5 |
| ios-webkit-debug-proxy version | v1.9.1 |
### Screen recording to demonstrate the problem
https://github.com/google/ios-webkit-debug-proxy/assets/26433224/56357759-7141-474a-9370-f95cc6ae938b
### Steps
1. Connected my iPhone to Mac
2. Ran `ios_webkit_debug_proxy` command
3. Hit this command: `curl localhost:9222/json`
a. Got empty data, which is expected since Safari was not open
4. Launched Safari browser and opened `apple.com`
5. Hit this command: `curl localhost:9222/json`
a. Got apple.com details as JSON response ( all good till here )
6. Opened a new tab in Safari browser, and opened google.com
7. Hit this command: `curl localhost:9222/json`
a. Got tab details only for apple.com and not google.com
b. **This seems like a bug, where new tabs are not being detected at all**
8. Closed the first tab, where apple.com was opened
9. Hit this command: `curl localhost:9222/json`
a. Expected this to return tab details of google.com
b. **This also seems like a bug, where we start getting empty data, irrespective of how many tabs & urls are open**
## Edit
### Performed the same steps, but ran IWDP with -d flag to fetch logs
Please find the full logs in this attached log file :
[IDWP-debug-logs-new-tabs-issue-ios-17.log](https://github.com/user-attachments/files/15835684/IDWP-debug-logs-new-tabs-issue-ios-17.log)
Contributor guide
Assessment
This issue has not been assessed yet.