See https://stackoverflow.com/questions/60290892/safari-cors-options-preflight-requests-not-showing-in-dev-tools for a user report about Web Inspector no longer displaying CORS preflight OPTIONS requests in the Network tab.
Created attachment 401974 [details]
web inspector screen shot
This happens using Version 13.1.1 (15609.2.9.1.2) on Catalina, first time I noticed it was early Jan.
Attached screen shot shows the web inspector network tab with a POST that used CORS OPTIONS pre-flight. This request is not shown in the network tab.
Please re-establish the ability to see preflight CORS OPTION requests for cached images in Safari inspector.
The inability to debug those calls is impacting troubleshooting Safari's current odd CORS error for CACHED resources like images sources that are redirects. (i.e. Canvas Instructure image src redirect to AWS S3, when cached by Safari.)
Since it's https calls, wireshark can't easily get the Safari signatures used on the https CORS OPTIONS menthod.
Example of the issue that cannot be easily debugged:
1. In Safari latest v13, Go to site https://cidilabs.instructure.com/courses/3/pages/upload-slash-embed-image-test
2. Then refresh that page to see the broken image link.
Some unsatisfactory workaround Options because the Safari CORS cache methods can't be debugged:
- Use a private Safari browser when going to a CORS redirect image page. The issue only happens when the image is cached.
- Add a terminating solidus (forward slash) to all image src links that are cached CORS redirect paths. The issue only happens when the redirect path looks like a file not a directory.
- Make the image src URL a DIFFERENT host than the page it's embedded in. The issue only happens if the cached image src redirect URL is the *same* host as the web page.
- Use FireFox or Chrome when going to a page with a CORS image src redirect. The issue only happens with Safari.
This would be really useful for debugging.
I don't see Vote option in Bugzilla so: +1
+1 for this. very frustrating devtools doesn't log OPTIONS requests.
This feature has been missing since at least Safari 11