RESOLVED FIXED 257407
Web Inspector: XHR request with same URL as main resource should have type XHR
https://bugs.webkit.org/show_bug.cgi?id=257407
Summary Web Inspector: XHR request with same URL as main resource should have type XHR
Yury Semikhatsky
Reported Saturday, May 27, 2023 2:08:48 AM UTC
XHRs requests with the same url as main resource should have type XHR rather than Document. This was fixed in https://bugs.webkit.org/show_bug.cgi?id=68646 but regressed at some point later. Original report in Playwright: https://github.com/microsoft/playwright/issues/22812
Attachments
Yury Semikhatsky
Comment 1 Saturday, May 27, 2023 2:18:52 AM UTC
EWS
Comment 2 Tuesday, May 30, 2023 7:37:58 PM UTC
Committed 264686@main (883556d2265f): <https://commits.webkit.org/264686@main> Reviewed commits have been landed. Closing PR #14417 and removing active labels.
Radar WebKit Bug Importer
Comment 3 Tuesday, May 30, 2023 7:38:18 PM UTC
Fujii Hironori
Comment 4 Thursday, June 1, 2023 9:59:14 PM UTC
http/tests/inspector/network/xhr-request-type.html is failing. Could you take a look? https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Finspector%2Fnetwork%2Fxhr-request-type.html
Yury Semikhatsky
Comment 5 Friday, June 2, 2023 1:17:37 AM UTC
Hmm, the .json resource is returned in base64 on some platforms, I'll take a look.
Yury Semikhatsky
Comment 6 Friday, June 2, 2023 2:09:53 AM UTC
The test is passing locally on M1 and macOS 13. I wonder if it has to do with the web server config.
Fujii Hironori
Comment 7 Friday, June 2, 2023 2:56:31 AM UTC
This test failure is reproducible with WinCairo. The web server doesn't know .json filename suffix. Renaming data.json to data.js can works around the server configuration problem.
Note You need to log in before you can comment on or make changes to this bug.