[webkit-changes] [WebKit/WebKit] a78cd8: Remove non-standard encodings (e.g., 'x-mac-turkis...

Ahmad-S792 noreply at github.com
Thu Mar 7 10:41:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a78cd83130cb3ea242762121be17a905f201b154
      https://github.com/WebKit/WebKit/commit/a78cd83130cb3ea242762121be17a905f201b154
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M LayoutTests/fast/encoding/char-decoding-mac-expected.txt
    M LayoutTests/fast/encoding/char-decoding-mac.html
    M LayoutTests/fast/encoding/char-encoding-mac-expected.txt
    M LayoutTests/fast/encoding/char-encoding-mac.html
    M LayoutTests/fast/encoding/legacy-ios-encodings-expected.txt
    M LayoutTests/fast/encoding/legacy-ios-encodings.html
    M LayoutTests/fast/encoding/legacy-tec-encodings-expected.txt
    M LayoutTests/fast/encoding/legacy-tec-encodings.html
    M LayoutTests/imported/w3c/web-platform-tests/encoding/unsupported-labels-expected.txt
    M LayoutTests/platform/glib/imported/w3c/web-platform-tests/encoding/unsupported-labels-expected.txt
    M Source/WebCore/PAL/pal/text/TextCodecCJK.cpp
    M Source/WebCore/PAL/pal/text/TextCodecICU.cpp

  Log Message:
  -----------
  Remove non-standard encodings (e.g., 'x-mac-turkish', 'x-mac-greek' etc.)

https://bugs.webkit.org/show_bug.cgi?id=265261
rdar://problem/118944539

Reviewed by Alex Christensen.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium by removing following
non-standard encodings:

- x-mac-ce
- x-mac-centraleurroman
- x-mac-turkish
- x-mac-greek
- euc-tw
- windows-936-2000

* Source/WebCore/PAL/pal/text/TextCodecCJK.cpp:
(TextCodecCJK::registerEncodingNames):
* Source/WebCore/PAL/pal/text/TextCodecICU.cpp:
(DECLARE_ALIASES):
(EncodingName):
* LayoutTests/imported/w3c/web-platform-tests/encoding/unsupported-labels-expected.txt: Rebaselined
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/encoding/unsupported-labels-expected.txt: Rebaselined
* LayoutTests/fast/encoding/char-decoding-mac.html: Rebaselined
* LayoutTests/fast/encoding/char-decoding-mac-expected.txt: Rebaselined
* LayoutTests/fast/encoding/legacy-tec-encodings.html: Rebaselined
* LayoutTests/fast/encoding/legacy-tec-encodings-expected.txt: Rebaselined
* LayoutTests/fast/encoding/char-encoding-mac.html: Rebaselined
* LayoutTests/fast/encoding/char-encoding-mac-expected.txt: Rebaselined
* LayoutTests/fast/encoding/legacy-ios-encodings.html: Rebaselined
* LayoutTests/fast/encoding/legacy-ios-encodings-expected.txt: Rebaselined

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



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


More information about the webkit-changes mailing list