Automatic update from web-platform-tests
Add <meta name=timeout content=long> to WPT in SlowTests
This is the 2nd step in the process of banning external/wpt from
SlowTests. After cleaning up the wtp entries we're marking them as
slow by using wpt idioms, i.e.:
1) Add <meta name="timeout" content="long"> to .html files
2) Add // META: timeout=long to .js files
Bug: 765026
Change-Id: Iaf051104f419524916e19324996cc36ee37d5426
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1497005
Commit-Queue: Sergio Villar <[email protected]>
Reviewed-by: Andy Paicu <[email protected]>
Reviewed-by: Robert Ma <[email protected]>
Cr-Commit-Position: refs/heads/master@{#643402}
--
wpt-commits: 7287608f90f6b9530635d10086fd2ab386faab38
wpt-pr: 15630
Automatic update from web-platform-tests
Slow test fix: encoding/textdecoder-fatal-single-byte.any.html
The test exercised 256 code point across 28 encodings, using
256 * 28 = 7168 test() calls, which makes MSAN sad. Just make it
28 subtests each with an assertion per code point.
Bug: 873570
Change-Id: I4dfa8fe1399a4e8d5f2d2a8aaa82c1d520105d5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1182664
Auto-Submit: Joshua Bell <[email protected]>
Commit-Queue: Philip Jägenstedt <[email protected]>
Reviewed-by: Philip Jägenstedt <[email protected]>
Cr-Commit-Position: refs/heads/master@{#643332}
--
wpt-commits: b31a44e07744dd17e8f6376a13409705efc7f0f0
wpt-pr: 15821
Automatic update from web-platform-tests
Add <meta name=timeout content=long> to WPT in SlowTests
This is the 2nd step in the process of banning external/wpt from
SlowTests. After cleaning up the wtp entries we're marking them as
slow by using wpt idioms, i.e.:
1) Add <meta name="timeout" content="long"> to .html files
2) Add // META: timeout=long to .js files
Bug: 765026
Change-Id: Iaf051104f419524916e19324996cc36ee37d5426
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1497005
Commit-Queue: Sergio Villar <[email protected]>
Reviewed-by: Andy Paicu <[email protected]>
Reviewed-by: Robert Ma <[email protected]>
Cr-Commit-Position: refs/heads/master@{#643402}
--
wpt-commits: 7287608f90f6b9530635d10086fd2ab386faab38
wpt-pr: 15630
Automatic update from web-platform-tests
Slow test fix: encoding/textdecoder-fatal-single-byte.any.html
The test exercised 256 code point across 28 encodings, using
256 * 28 = 7168 test() calls, which makes MSAN sad. Just make it
28 subtests each with an assertion per code point.
Bug: 873570
Change-Id: I4dfa8fe1399a4e8d5f2d2a8aaa82c1d520105d5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1182664
Auto-Submit: Joshua Bell <[email protected]>
Commit-Queue: Philip Jägenstedt <[email protected]>
Reviewed-by: Philip Jägenstedt <[email protected]>
Cr-Commit-Position: refs/heads/master@{#643332}
--
wpt-commits: b31a44e07744dd17e8f6376a13409705efc7f0f0
wpt-pr: 15821
Automatic update from web-platform-tests
Unset the executable bit of non-executable files
Using this command:
find . -perm 755 -type f -not -name "*.py" -not -wholename "./tools/*" \
-not -wholename "./.git/*" -not -wholename "./_venv/*" \
-not -name "wpt" -not -name "*.sh" -not -name "regenerate" \
-not -name "*.py" -not -name "*.rb" | xargs chmod -x
Note that the excluded list is meant to be conservative (e.g. some .py
or .rb files probably shouldn't have +x as well).
We should add a lint rule for this later.
--
wpt-commits: a1e86d4025ded83e7142df51492d6f43eeda615e
wpt-pr: 15627
Automatic update from web-platform-tests
python3 de-linting (#14973)
xrange give a very very slight memory optimization but is incompatible with python3
--
wpt-commits: e4e6eeef32574aa928c8100a3c0d78b9129f5e86
wpt-pr: 14973
Automatic update from web-platform-tests
TextDecoderStream: Permit detached buffers
Since https://github.com/heycam/webidl/pull/605 converting a chunk to a
BufferSource no longer throws if the chunk is detached. Update the
TextDecoderStream implementation and tests to match the new behaviour.
Change-Id: I26230d9cbfce871b3dae75e612539564d4578977
Reviewed-on: https://chromium-review.googlesource.com/c/1404906
Reviewed-by: Joshua Bell <[email protected]>
Commit-Queue: Adam Rice <[email protected]>
Cr-Commit-Position: refs/heads/master@{#621897}
--
wpt-commits: 35d1ca9cb52f755566ba6681fe555626379b9e2c
wpt-pr: 14794
Automatic update from web-platform-tests
TextDecoder: previous failure should not stick around
When the {fatal:true} option is used, the decode() calls throw rather
than generating U+FFFD on bad data. Subsequent decode() calls should
work as the codec state should be flushed (unless {stream:true} was
specified).
Blink was not flushing the codec state, so subsequent calls would
throw. Fix by flushing the codec state (instantiating a new codec),
and align the implementation's code flow/state more closely with the
spec. Also added a new WPT test case, based on the bug report.
Bug: 910292
Change-Id: Ia47b902b69a4b469341e272ed42bb6b05248c1d8
Reviewed-on: https://chromium-review.googlesource.com/c/1376656
Reviewed-by: Adam Rice <[email protected]>
Commit-Queue: Joshua Bell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#617215}
--
wpt-commits: a093a659ed118112138f8a1ffba97a66c1ea8235
wpt-pr: 14509
Automatic update from web-platform-tests
Encoding: make it clear sniffing for UTF-8 is not acceptable
See https://github.com/whatwg/encoding/issues/68 for background.
--
wpt-commits: 305ff11b190e7e2bec120a27083f4ba43d6d976e
wpt-pr: 14455
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