[Webkit-unassigned] [Bug 213215] Web Inspector: CORS preflight OPTIONS requests no longer shown in Network tab

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 10:34:57 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213215

Karen <kdolan at g.harvard.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdolan at g.harvard.edu

--- Comment #4 from Karen <kdolan at g.harvard.edu> ---
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.

Ref https://stackoverflow.com/questions/63141448/safari-fetch-api-cannot-load-due-to-access-control-checks-after-reload/63850653#63850653

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200911/dc87d473/attachment-0001.htm>


More information about the webkit-unassigned mailing list