[webkit-changes] [WebKit/WebKit] b7d4f0: Update GB-18030 encoding table

Alex Christensen noreply at github.com
Tue Jun 6 19:12:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b7d4f07a3aac04e70f1d91d09be57e4dd2ded612
      https://github.com/WebKit/WebKit/commit/b7d4f07a3aac04e70f1d91d09be57e4dd2ded612
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder.html
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/text/EncodingTables.cpp

  Log Message:
  -----------
  Update GB-18030 encoding table
https://bugs.webkit.org/show_bug.cgi?id=257770
rdar://110353061

Reviewed by Myles C. Maxfield.

This was already done internally in ICU in rdar://107702106
This reflects changes published as GB-18030-2022
This was proposed as a change to the standard at https://github.com/whatwg/encoding/issues/312
This fixes an assertion when running encoding tests on macOS Sonoma and iOS 17,
and I added test coverage specific to the 18 changed code points.

* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder.html:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/text/EncodingTables.cpp:
(PAL::gb18030):

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




More information about the webkit-changes mailing list