Automatic update from web-platform-testsImplement TextEncoderStream and TextDecoderStream
Add support for streaming encoding and decoding via the
TextEncoderStream and TextDecoderStream.
See design doc
https://docs.google.com/document/d/17goe4jacAYjHHtprfVPSrqDvF_J58u2qirz0HQ58sQ4/edit
Modify transform_stream.cc so it doesn't claim every exception happened
during construction
Remove failing wpt expectations. Add a new test for TextDecoderStream
constructor and property behaviour.
BUG=845427
Change-Id: I538022680ef8e90f5eb2b11fd1775e902e7f25fd
Reviewed-on: https://chromium-review.googlesource.com/1174073
Reviewed-by: Kentaro Hara <[email protected]>
Reviewed-by: Joshua Bell <[email protected]>
Reviewed-by: Yuki Shiino <[email protected]>
Reviewed-by: Yutaka Hirano <[email protected]>
Commit-Queue: Adam Rice <[email protected]>
Cr-Commit-Position: refs/heads/master@{#588443}
--
wpt-commits: fc41987112cd5f0b1198b759ab63e828413a0ee3
wpt-pr: 12467
Automatic update from web-platform-testsEncoding: TextEncoderStream and TextDecoderStream
The standard change that adds these classes is https://github.com/whatwg/encoding/pull/149.
--
wpt-commits: 3ede6629030918b00941c2fb7d176a18cbea16ea
wpt-pr: 12430
Automatic update from web-platform-testsAdd a default name ("idl_test setup") for idl_test (#12276)
--
wpt-commits: 70413d8d6bf4bf581e52bc3a5edddd205fbd7a41
wpt-pr: 12276
Automatic update from web-platform-testsConsolidated fixes to character encoders/decoders (#11707)
* Fix EUC-JP reference decoder
The relevant step fixed by this pull request says "Return error."; thus, the rest of the process should continue with the next iteration, rather than run the rest of the handler for the given byte.
* Fix ISO-2022-JP reference implementation
The relevant step in the Encoding Standard says "Prepend _lead_ and _byte_ to _stream_." However, the two bytes are prepended in the wrong order in the reference implementation. Note that under the Encoding Standard, "[w]hen one or more tokens are prepended to a stream, those tokens must be inserted, _in given order_, before the first token in the stream." (Note that the code, at the time of this request, moves _lead_ to the front of the array, then moves _byte_ to the front of the array.)
There may be other issues like this elsewhere in the multiple-byte encoder reference implementations.
* Fix bug in EUC-KR reference implementation
Makes one "if" statement conditional rather than unconditional
* Fix bug in Shift_JIS encoder
* Fix bug in Big5 reference implementation
* Fix Shift_JIS reference decoder
To conform to the most recent Encoding Standard.
--
wpt-commits: 0589266b84851660a1c70efb916f5d34fa5ebd7c
wpt-pr: 11707
Automatic update from web-platform-testsMoving some encoding files from .html to .any.js
--
Generalized test
--
converted some encoding tests to use any.js
--
wpt-commits: e44b8b3dae4f0f0c874ef0b2a89290d0dd32dcdd, 12b30f56e3dddb896d343a6b6331cd25d3740e1d, dfa045c04225bbd6c1d7b6c1512f446948c12deb
wpt-pr: 11930
Automatic update from web-platform-testsIgnore preventDefault on wheel (vertical-scroll)
This CL implements the logic required for enforcing 'vertical-scroll'
(through feature policy) on frames where a preventing mouse wheel
handler may block vertical scrolling.
The CL essentially overwrites the value of dispatch type from mouse
wheel handlers iff the suggested direction of scrolling is vertical.
Bug: 611982
Change-Id: I15230f11f616d093b21984fe0b526d94dc62dada
Reviewed-on: https://chromium-review.googlesource.com/1073729
Commit-Queue: Ehsan Karamad <[email protected]>
Reviewed-by: Robert Flack <[email protected]>
Cr-Commit-Position: refs/heads/master@{#567773}
--
wpt-commits: de3ae39cb59880a8245431e7f09817a2a4dad1a3
wpt-pr: 11395
Automatic update from web-platform-testsFix bugs in split-up encoding tests
Bugs were introduced in d6c29bef8d4bcdfe4f689defca73360b07647d71
* Some script paths were wrong
* A big5 test referenced eucjpEncoder instead of big5Encoder
* That big5 test also referenced encode-form-common.js instead of
encode-href-common.js
Fixes#11015.
Also add code to generate variants.
--
wpt-commits: 5e0fea392c570e81ec7932466ac4c142ff83606d
wpt-pr: 11292
Automatic update from web-platform-testsFix bugs in split-up encoding tests
Bugs were introduced in d6c29bef8d4bcdfe4f689defca73360b07647d71
* Some script paths were wrong
* A big5 test referenced eucjpEncoder instead of big5Encoder
* That big5 test also referenced encode-form-common.js instead of
encode-href-common.js
Fixes#11015.
Also add code to generate variants.
--
wpt-commits: 5e0fea392c570e81ec7932466ac4c142ff83606d
wpt-pr: 11292
Automatic update from web-platform-testsRefactor and split up with `variant` all encoding tests
Fixes#11015.
--
wpt-commits: d6c29bef8d4bcdfe4f689defca73360b07647d71
wpt-pr: 11016
Automatic update from web-platform-testsURL/Encoding: change query state parsing
See https://github.com/whatwg/encoding/issues/139 for rationale and https://github.com/whatwg/url/pull/386 for the change to the URL Standard.
(I found all these resources in part due to @rakuco's work on trying to align Chrome with the earlier iteration of the specification.)
--
wpt-commits: e399a2c694345240639c23cc5e9e4f077a47cf30
wpt-pr: 10915
Automatic update from web-platform-testsEncoding: remove incorrect iso-2022-jp test
There is a lot of code in this test that simply doesn't run and the the few bits that do run are incorrect as far as I can tell.
--
wpt-commits: d7995018f83f9d769ec0f4539549f9c16eccf013
wpt-pr: 10633
Automatic update from web-platform-testsEncoding: fix big5-enc-ascii.html
It shouldn't try to roundtrip code points that have a special meaning in a URL.
--
wpt-commits: 9cecf73d2bd8a1d2562e8d2e5633c903eaf8df9f
wpt-pr: 10637
Automatic update from web-platform-testsUpdate the encoding IDL file (#9780)
Also update the existing idlharness.js test to use it.
wpt-commits: b202bbb5aa0d235b22bac11fe902eab1094ef9d2
wpt-pr: 9780
wpt-commits: b202bbb5aa0d235b22bac11fe902eab1094ef9d2
wpt-pr: 9780