Comments (13)
The href
failures are somewhat expected. Firefox doesn't use the same strategy as <form>
there yet.
We should probably investigate the smaller number of failures from Chrome/Safari/Edge in encode/decode.
from encoding.
List of bugs raised:
- https://bugs.webkit.org/show_bug.cgi?id=159892
- https://bugzilla.mozilla.org/show_bug.cgi?id=1285400
- https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8202282/
- https://bugs.chromium.org/p/chromium/issues/detail?id=626406
from encoding.
Chromium's failure is expected. See http://crbug.com/339862 and http://crbug.com/430823
from encoding.
@r12a this is the first in a series of issues you raised about tests. I'm not sure how I can address these from a standards-perspective. What would it take to get them closed?
from encoding.
yeah, these are a little unusual. I'm not sure (other than of course all implementations passing all tests).
We raised them here so that (a) they would be noticed, and so we had something to point to where people could hold a discussion if they wanted, although actually much of the discussion is taking place in the browser bugs raised, but also (b) so that we had a central location pointing to and perhaps from time to time summarising the implementation work/issues, so that people are notified of movement without having to subscribe to all the many bugs raised. (For example, i've been meaning to point to https://bugs.webkit.org/show_bug.cgi?id=159891, which seems to need suggestions on how to move forward.)
if you feel you want to close them we could do so, but perhaps we could add a comment saying that people can still contribute to the discussion while closed(?)
from encoding.
I guess I'll leave them all open for now then. Not in a rush.
from encoding.
AFAICT, the gbk tests differ from the spec for one code point to byte pair and vice versa mapping:
The tests want A8
BC
to decode to U+E7C7 and want U+E7C7 to encode to A8
BC
. However, per spec, A8
BC
maps to U+1E3F.
from encoding.
Additionally, the tests seem to disargee with the spec on the handling of ASCII bytes as part of a malformed sequence when decoding:
Fail step 2: 82 30 C3 assert_equals: expected "�" but got "�0�"
Fail step 5.7: 82 FF C3 33 assert_equals: expected "��" but got "��3"
Fail step 9: FF 30 C3 33 assert_equals: expected "�0�" but got "�0�3"
from encoding.
Firefox Nightly 56 improved the encoder, but it still has one test failure. Apparently the decoder has no improvement.
from encoding.
Today and yesterday i updated the results at https://www.w3.org/International/tests/repo/results/encoding-dbl-byte.en#gbk for Firefox, FNightly, Chrome, and Canary. The latest summary is:
(There are columns for nightlies only where the results differ from the released versions.)
from encoding.
Firefox's one failure is this:
U+E7C7 %A8%BC assert_equals: expected "%A8%BC" but got "%26%23%35%39%33%33%35%3B"
could be an issue with the test(?)
from encoding.
Firefox's one failure is this:
U+E7C7 %A8%BC assert_equals: expected "%A8%BC" but got "%26%23%35%39%33%33%35%3B"
could be an issue with the test(?)
That's indeed a test bug. See upthread.
from encoding.
Upstreaming these tests never completed. There's web-platform-tests/wpt#20360 but it needs work.
from encoding.
Related Issues (20)
- "For logical right shifts operands must have at ..." HOT 4
- Corner cases arising from Big5 encoder not excluding HKSCS codes with lead bytes 0xFA–FE HOT 6
- End-of-queue during decoding of GB18030 should not mask ASCII characters. HOT 4
- gb18030 encoder using index gb18030 ranges pointer HOT 4
- aria-label usage in BMP coverage table HOT 4
- Bug in TextDecoderStream around processing the end of stream. HOT 1
- Add a static decode and encode method to `TextEncoder` and `TextDecoder` HOT 10
- Shift_JIS decoder HOT 12
- [GB18030] Wrong codepoint at index 7533 HOT 4
- TextDecoderStream: empty Uint8Array should result in an empty string HOT 4
- 7-bit ASCII encoding HOT 3
- The concept of "output encoding" is not described anywhere HOT 5
- Visualization tables has lack of descriptions HOT 2
- Why Big5 index contains unmappable characters? HOT 2
- Consider adding windows-936-2000 as a label for GBK HOT 2
- Preface punctuation
- Reflect changes in GB 18030-2022 HOT 5
- Make encodeInto() throw when given a detached buffer HOT 5
- Ambiguous wording in GB18030 decoder HOT 4
- Reference link wrong in "If ioQueue is empty..." HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from encoding.