Bug 257407
| Summary: | Web Inspector: XHR request with same URL as main resource should have type XHR | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> |
| Component: | Web Inspector | Assignee: | Yury Semikhatsky <yurys> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | fujii.hironori, inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Yury Semikhatsky
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Yury Semikhatsky
Pull request: https://github.com/WebKit/WebKit/pull/14417
EWS
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
<rdar://problem/110016863>
Fujii Hironori
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
Hmm, the .json resource is returned in base64 on some platforms, I'll take a look.
Yury Semikhatsky
The test is passing locally on M1 and macOS 13. I wonder if it has to do with the web server config.
Fujii Hironori
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.