[Webkit-unassigned] [Bug 277204] New: REGRESSION [GTK][WPE] navigating to empty file:// URL ends up in download

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 27 05:29:27 PDT 2024


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

            Bug ID: 277204
           Summary: REGRESSION [GTK][WPE] navigating to empty file:// URL
                    ends up in download
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: max at schmitt.mx

Created attachment 471981

  --> https://bugs.webkit.org/attachment.cgi?id=471981&action=review

What Playwright uses for now

When compiling WebKit with glib 2.76+ which includes https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3053 zero-size file:// resources will end up in a download instead of getting loaded.

Before glib 2.76 they were loaded which matches Safari / Chromium behaviour.

This affects:

- JHBuild on Ubuntu 24.04
- Flatpak builds

We as Playwright would love to upstream a change similar to the attachment, probably by adding it to `MIMETypeRegistry::supportedNonImageMIMETypes()` which seems like a better place.

Could someone help me where to put a test for that? I didn't find a reasonable LayoutTest, they seem all http:// based.

-- 
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/20240727/dafcaca6/attachment-0001.htm>


More information about the webkit-unassigned mailing list