���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/test/fixtures/wpt/encoding/ |
// META: title=Encoding API: invalid label // META: timeout=long // META: script=resources/encodings.js var tests = ["invalid-invalidLabel"]; setup(function() { encodings_table.forEach(function(section) { section.encodings.forEach(function(encoding) { encoding.labels.forEach(function(label) { ["\u0000", "\u000b", "\u00a0", "\u2028", "\u2029"].forEach(function(ws) { tests.push(ws + label); tests.push(label + ws); tests.push(ws + label + ws); }); }); }); }); }); tests.forEach(function(input) { test(function() { assert_throws(new RangeError(), function() { new TextDecoder(input); }); }, 'Invalid label ' + format_value(input) + ' should be rejected by TextDecoder.'); });