From f902a450581d0d13cc63cfd8cc529cf58931ff58 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 26 Sep 2024 00:19:54 +0000 Subject: [PATCH] Bug 1920272 [wpt PR 48240] - Encoding: impact of GB18030-2022 on GBK, a=testonly Automatic update from web-platform-tests Encoding: impact of GB18030-2022 on GBK See https://github.com/whatwg/encoding/pull/336 for details. -- wpt-commits: 1ac8deee082ecfb5d3b6f9c56cf9d1688a2fc218 wpt-pr: 48240 UltraBlame original commit: 0917498f655f23ccc2b8f8a9bbb45759cc8ed8ff --- .../legacy-mb-schinese/gbk/gbk-decoder.any.js | 20 + .../legacy-mb-schinese/gbk/gbk-encoder.html | 727 ++++++++++++++++++ 2 files changed, 747 insertions(+) diff --git a/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-decoder.any.js b/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-decoder.any.js index 40aa67d353954..2a6b023c0af13 100644 --- a/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-decoder.any.js +++ b/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-decoder.any.js @@ -1,3 +1,23 @@ +/ +/ +Additional +tests +can +be +found +in +. +. +/ +gb18030 +/ +gb18030 +- +decoder +. +any +. +js const gbkPointers = diff --git a/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-encoder.html b/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-encoder.html index 8a8c57bfaf723..43634885177ca 100644 --- a/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-encoder.html +++ b/testing/web-platform/tests/encoding/legacy-mb-schinese/gbk/gbk-encoder.html @@ -379,6 +379,733 @@ " ) ; +encode +( +" +\ +u +{ +10FFFF +} +" +" +% +26 +% +231114111 +% +3B +" +" +U ++ +10FFFF +" +) +; +/ +/ +GB18030 +- +2022 +encode +( +" +\ +uFE10 +" +" +% +A6 +% +D9 +" +" +GB18030 +- +2022 +1 +" +) +; +encode +( +" +\ +uFE12 +" +" +% +A6 +% +DA +" +" +GB18030 +- +2022 +2 +" +) +; +encode +( +" +\ +uFE11 +" +" +% +A6 +% +DB +" +" +GB18030 +- +2022 +3 +" +) +; +encode +( +" +\ +uFE13 +" +" +% +A6 +% +DC +" +" +GB18030 +- +2022 +4 +" +) +; +encode +( +" +\ +uFE14 +" +" +% +A6 +% +DD +" +" +GB18030 +- +2022 +5 +" +) +; +encode +( +" +\ +uFE15 +" +" +% +A6 +% +DE +" +" +GB18030 +- +2022 +6 +" +) +; +encode +( +" +\ +uFE16 +" +" +% +A6 +% +DF +" +" +GB18030 +- +2022 +7 +" +) +; +encode +( +" +\ +uFE17 +" +" +% +A6 +% +EC +" +" +GB18030 +- +2022 +8 +" +) +; +encode +( +" +\ +uFE18 +" +" +% +A6 +% +ED +" +" +GB18030 +- +2022 +9 +" +) +; +encode +( +" +\ +uFE19 +" +" +% +A6 +% +F3 +" +" +GB18030 +- +2022 +10 +" +) +; +encode +( +" +\ +u9FB4 +" +" +% +FEY +" +" +GB18030 +- +2022 +11 +" +) +; +encode +( +" +\ +u9FB5 +" +" +% +FEa +" +" +GB18030 +- +2022 +12 +" +) +; +encode +( +" +\ +u9FB6 +" +" +% +FEf +" +" +GB18030 +- +2022 +13 +" +) +; +encode +( +" +\ +u9FB7 +" +" +% +FEg +" +" +GB18030 +- +2022 +14 +" +) +; +encode +( +" +\ +u9FB8 +" +" +% +FEm +" +" +GB18030 +- +2022 +15 +" +) +; +encode +( +" +\ +u9FB9 +" +" +% +FE +~ +" +" +GB18030 +- +2022 +16 +" +) +; +encode +( +" +\ +u9FBA +" +" +% +FE +% +90 +" +" +GB18030 +- +2022 +17 +" +) +; +encode +( +" +\ +u9FBB +" +" +% +FE +% +A0 +" +" +GB18030 +- +2022 +18 +" +) +; +encode +( +" +\ +uE78D +" +" +% +A6 +% +D9 +" +" +GB18030 +- +2022 +19 +" +) +; +encode +( +" +\ +uE78E +" +" +% +A6 +% +DA +" +" +GB18030 +- +2022 +20 +" +) +; +encode +( +" +\ +uE78F +" +" +% +A6 +% +DB +" +" +GB18030 +- +2022 +21 +" +) +; +encode +( +" +\ +uE790 +" +" +% +A6 +% +DC +" +" +GB18030 +- +2022 +22 +" +) +; +encode +( +" +\ +uE791 +" +" +% +A6 +% +DD +" +" +GB18030 +- +2022 +23 +" +) +; +encode +( +" +\ +uE792 +" +" +% +A6 +% +DE +" +" +GB18030 +- +2022 +24 +" +) +; +encode +( +" +\ +uE793 +" +" +% +A6 +% +DF +" +" +GB18030 +- +2022 +25 +" +) +; +encode +( +" +\ +uE794 +" +" +% +A6 +% +EC +" +" +GB18030 +- +2022 +26 +" +) +; +encode +( +" +\ +uE795 +" +" +% +A6 +% +ED +" +" +GB18030 +- +2022 +27 +" +) +; +encode +( +" +\ +uE796 +" +" +% +A6 +% +F3 +" +" +GB18030 +- +2022 +28 +" +) +; +encode +( +" +\ +uE81E +" +" +% +FEY +" +" +GB18030 +- +2022 +29 +" +) +; +encode +( +" +\ +uE826 +" +" +% +FEa +" +" +GB18030 +- +2022 +30 +" +) +; +encode +( +" +\ +uE82B +" +" +% +FEf +" +" +GB18030 +- +2022 +31 +" +) +; +encode +( +" +\ +uE82C +" +" +% +FEg +" +" +GB18030 +- +2022 +32 +" +) +; +encode +( +" +\ +uE832 +" +" +% +FEm +" +" +GB18030 +- +2022 +33 +" +) +; +encode +( +" +\ +uE843 +" +" +% +FE +~ +" +" +GB18030 +- +2022 +34 +" +) +; +encode +( +" +\ +uE854 +" +" +% +FE +% +90 +" +" +GB18030 +- +2022 +35 +" +) +; +encode +( +" +\ +uE864 +" +" +% +FE +% +A0 +" +" +GB18030 +- +2022 +36 +" +) +; < / script