[Webkit-unassigned] [Bug 265261] Unsupport encodings (e.g., 'x-mac-turkish', 'x-mac-greek' etc.) WPT failures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 21 06:25:34 PST 2023


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

--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
> Source/WebCore/PAL/pal/text/TextCodecCJK.cpp

In -- TextCodecCJK::registerEncodingNames --

Remove > "windows-936-2000"_s

> Source/WebCore/PAL/pal/text/TextCodecICU.cpp

In -- DECLARE_ALIASE --

Remove from '/ Encodings below are not in the standard.' onward:

DECLARE_ALIASES(x_mac_greek, "windows-10006"_s, "macgr"_s, "x-MacGreek"_s);
DECLARE_ALIASES(x_mac_centraleurroman, "windows-10029"_s, "x-mac-ce"_s, "macce"_s, "maccentraleurope"_s, "x-MacCentralEurope"_s);
DECLARE_ALIASES(x_mac_turkish, "windows-10081"_s, "mactr"_s, "x-MacTurkish"_s);

and

In -- EncodingName --

Remove:

// Encodings below are not in the standard.
    DECLARE_ENCODING_NAME("x-mac-greek"_s, x_mac_greek),
    DECLARE_ENCODING_NAME("x-mac-centraleurroman"_s, x_mac_centraleurroman),
    DECLARE_ENCODING_NAME("x-mac-turkish"_s, x_mac_turkish),
    DECLARE_ENCODING_NAME_NO_ALIASES("EUC-TW"_s),

___

It progresses all failing WPT tests.

-- 
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/20231221/f563c01a/attachment.htm>


More information about the webkit-unassigned mailing list