Bug 253689 - Win MiniBrowser: Show a message box if the response has error status code and no content
Summary: Win MiniBrowser: Show a message box if the response has error status code and...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-09 20:44 PST by Fujii Hironori
Modified: 2023-03-10 13:00 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2023-03-09 20:44:09 PST
Currently, https://www.instagram.com/jumpei.mitsui/ replied 429 (Too Many Requests) responce with content-length:0.
In this case, Windows MiniBrowser just shows a blank page.

$ curl -D - https://www.instagram.com/jumpei.mitsui/
HTTP/2 429 
reporting-endpoints: coep_report="https://www.facebook.com/browser_reporting/?minimize=0"
report-to: {"max_age":86400,"endpoints":[{"url":"https:\/\/www.facebook.com\/browser_reporting\/?minimize=0"}],"group":"coep_report"}
document-policy: force-load-at-top
cross-origin-resource-policy: rollout
cross-origin-embedder-policy-report-only: require-corp;report-to="coep_report"
cross-origin-opener-policy: same-origin-allow-popups
pragma: no-cache
cache-control: private, no-cache, no-store, must-revalidate
expires: Sat, 01 Jan 2000 00:00:00 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-frame-options: DENY
strict-transport-security: max-age=15552000
content-type: text/html; charset="utf-8"
x-fb-debug: LzOG9hHoUvJeQXvpQyck26YRiEAXvV0XaW34cq1ebPZw/MLfze8UzZW8VSX73k2rw3dEAq5LVhKQZNZDIeHp6Q==
content-length: 0
date: Fri, 10 Mar 2023 04:40:09 GMT
priority: u=3,i
x-fb-trip-id: 1679558926
alt-svc: h3=":443"; ma=86400
Comment 1 Fujii Hironori 2023-03-09 20:54:32 PST
Pull request: https://github.com/WebKit/WebKit/pull/11344
Comment 2 EWS 2023-03-10 12:59:55 PST
Committed 261523@main (90a078454803): <https://commits.webkit.org/261523@main>

Reviewed commits have been landed. Closing PR #11344 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-10 13:00:18 PST
<rdar://problem/106568436>