Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 21ae2b0e4d3313ed711aa3898a5ab88e877ccec0
      
https://github.com/WebKit/WebKit/commit/21ae2b0e4d3313ed711aa3898a5ab88e877ccec0
  Author: Devin Rousso <[email protected]>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M 
LayoutTests/http/tests/inspector/network/local-resource-override-mapped-to-file-expected.txt
    M 
LayoutTests/http/tests/inspector/network/local-resource-override-mapped-to-file.html
    M Source/WebKit/UIProcess/Inspector/mac/RemoteWebInspectorUIProxyMac.mm
    M Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm

  Log Message:
  -----------
  Wrong character encoding of local reponse override when mapped to file 
(interpreted as Latin1/ISO-8859-1)
https://bugs.webkit.org/show_bug.cgi?id=291623
<rdar://problem/149847746>

Reviewed by Qianlang Chen.

Convert the local file's contents to UTF-8 instead of assuming that it's Latin1.

* Source/WebKit/UIProcess/Inspector/mac/RemoteWebInspectorUIProxyMac.mm:
(WebKit::RemoteWebInspectorUIProxy::platformLoad):
* Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm:
(WebKit::WebInspectorUIProxy::platformLoad):

* 
LayoutTests/http/tests/inspector/network/local-resource-override-mapped-to-file.html:
* 
LayoutTests/http/tests/inspector/network/local-resource-override-mapped-to-file-expected.txt:

Canonical link: https://commits.webkit.org/316074@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to