| Summary: | Partial Sync 'TextDecoderStream.idl' based on WebIDL Spec | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | annevk, cdumez, rniwa, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2023-05-11 04:42:11 PDT
Youenn should probably look at this. It's not clear to me this helps as it's implemented in JS rather than C++. I think this is handled by JS built-in. As a pure refactoring, we could try to move this code to C++ now that we have better C++ wrappers for readable/writable. I raised this because we were still failing three WPT test cases (sub-tests here): https://wpt.fyi/results/encoding/idlharness.any.html?label=master&label=experimental&aligned&q=safari%3Afail Live Link - http://wpt.live/encoding/idlharness.any.html _________ >> TextDecoderStream interface: attribute encoding >> TextDecoderStream interface: attribute fatal >> TextDecoderStream interface: attribute ignoreBOM ___ We fail one in 'TextEncoderStream' as well: >> TextEncoderStream interface: attribute encoding (In reply to Ahmad Saleem from comment #4) > I raised this because we were still failing three WPT test cases (sub-tests > here): > > https://wpt.fyi/results/encoding/idlharness.any. > html?label=master&label=experimental&aligned&q=safari%3Afail > > Live Link - http://wpt.live/encoding/idlharness.any.html > > _________ > > >> TextDecoderStream interface: attribute encoding > >> TextDecoderStream interface: attribute fatal > >> TextDecoderStream interface: attribute ignoreBOM > > ___ > > We fail one in 'TextEncoderStream' as well: > > >> TextEncoderStream interface: attribute encoding Ignore - running directly in Safari 17 - we pass it (macOS Sonoma). We are passing this now reliably in Safari Technology Preview 181 in WPT runs. Closing as 'RESOLVED CONFIGURATION CHANGED'. |