зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1466079 [wpt PR 11292] - Fix bugs in split-up encoding tests, a=testonly
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
This commit is contained in:
Родитель
19b05aa5cd
Коммит
65c6a9c759
|
@ -328887,7 +328887,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-han.html?10001-10000",
|
||||
"/encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-han.html?10001-11000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -329021,7 +329021,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-hangul.html?10001-10000",
|
||||
"/encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-hangul.html?10001-11000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -329395,7 +329395,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-form-errors-han.html?20001-last",
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-form-errors-han.html?20001-21000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -329406,6 +329406,12 @@
|
|||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-form-errors-han.html?21001-last",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-form-errors-han.html?3001-4000",
|
||||
{
|
||||
|
@ -329679,7 +329685,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html?20001-last",
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html?20001-21000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -329690,6 +329696,12 @@
|
|||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html?21001-last",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html?3001-4000",
|
||||
{
|
||||
|
@ -330415,7 +330427,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-errors-han.html?20001-last",
|
||||
"/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-errors-han.html?20001-21000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -330426,6 +330438,12 @@
|
|||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-errors-han.html?21001-last",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-errors-han.html?3001-4000",
|
||||
{
|
||||
|
@ -330927,7 +330945,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-japanese/shift_jis/sjis-encode-href-errors-han.html?10001-10000",
|
||||
"/encoding/legacy-mb-japanese/shift_jis/sjis-encode-href-errors-han.html?10001-11000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -334367,43 +334385,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?14001-15000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?15001-16000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?16001-17000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?17001-18000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?18001-19000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?19001-20000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?20001-21000",
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?14001-last",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -334414,24 +334396,6 @@
|
|||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?21001-22000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?22001-23000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?23001-last",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html?3001-4000",
|
||||
{
|
||||
|
@ -334483,7 +334447,7 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-hangul.html?10001-10000",
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-hangul.html?10001-11000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -334582,12 +334546,42 @@
|
|||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?10001-11000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?1001-2000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?11001-12000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?12001-13000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?13001-14000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?14001-last",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?2001-3000",
|
||||
{
|
||||
|
@ -334619,7 +334613,19 @@
|
|||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?7001-last",
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?7001-8000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?8001-9000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
],
|
||||
[
|
||||
"/encoding/legacy-mb-tchinese/big5/big5-encode-href.html?9001-10000",
|
||||
{
|
||||
"timeout": "long"
|
||||
}
|
||||
|
@ -416239,7 +416245,7 @@
|
|||
"support"
|
||||
],
|
||||
"common/subset-tests.js": [
|
||||
"ee72de5b5f2302d111a0f131eddf5081ad02b789",
|
||||
"0ec265b2167686390b1c0ef92575780d47c6b1a9",
|
||||
"support"
|
||||
],
|
||||
"common/test-setting-immutable-prototype.js": [
|
||||
|
@ -563247,7 +563253,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-han.html": [
|
||||
"033c5ce0f5b992f81ccf4838da120ea097268548",
|
||||
"567cd4f8b9b399aa1b9b548cd380c72b10014334",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-han.html.headers": [
|
||||
|
@ -563255,7 +563261,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-hangul.html": [
|
||||
"fc46574bdb29fdd33a850b5cfc15640e02587185",
|
||||
"8cf5d13b80fc9cd4926ba721a70ba5f1e9fcb375",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/euc-jp/eucjp-encode-href-errors-hangul.html.headers": [
|
||||
|
@ -563347,7 +563353,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-form-errors-han.html": [
|
||||
"a22811fdbd126d98b234c2618919f65b426bfeec",
|
||||
"c0b4ef19b0c83907206f0dc7664b27cb23b55a0f",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-form-errors-han.html.headers": [
|
||||
|
@ -563383,7 +563389,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html": [
|
||||
"c50d0ffb66e826113397c0af8ef20b7e9794a179",
|
||||
"b5159b733b3fc457bf1afce00d8a472f541133db",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/iso-2022-jp/iso2022jp-encode-href-errors-han.html.headers": [
|
||||
|
@ -563499,7 +563505,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-errors-han.html": [
|
||||
"6c166a30f84f442a3aeb803aa9861c406718baee",
|
||||
"8ed904fd4990c98c9fa34c48e803c5291e4a7074",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/shift_jis/sjis-encode-form-errors-han.html.headers": [
|
||||
|
@ -563579,7 +563585,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/shift_jis/sjis-encode-href-errors-han.html": [
|
||||
"191b78f2db1a27fa19970985a330e77ed5e48578",
|
||||
"6653ad373c3a6a6da6b9c54496d11df28330e953",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-japanese/shift_jis/sjis-encode-href-errors-han.html.headers": [
|
||||
|
@ -563743,7 +563749,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-csksc56011987.html": [
|
||||
"ec39f68af9894ab6b633d57ac58060ae1ee49d77",
|
||||
"c14259cc33e9b8fd27387be8255805304d2e6e61",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-csksc56011987.html.headers": [
|
||||
|
@ -563751,7 +563757,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-han.html": [
|
||||
"369a386e8983d3c15e3cd7ac6ff8ba10b28cfa5e",
|
||||
"bf4faa3b4fcf8ffcf0c2465b04862fbde94e8f51",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-errors-han.html.headers": [
|
||||
|
@ -563767,7 +563773,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-iso-ir-149.html": [
|
||||
"152db8284caf186d03bfca5396a72fe6a1715449",
|
||||
"f69a2077e68204fa3101ccee35dca786d6f52a76",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-iso-ir-149.html.headers": [
|
||||
|
@ -563775,7 +563781,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-korean.html": [
|
||||
"0dc06f5158ee41f26e801c2a584bd207118d8fbc",
|
||||
"5207b03d246f6019bee7730e66f2925f331e6f4f",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-korean.html.headers": [
|
||||
|
@ -563783,7 +563789,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ks_c_5601-1987.html": [
|
||||
"3cb58cf45311173bd63449dd264ebc8e77e7461f",
|
||||
"288b720da24c09a8c67b9c266fadbbf211575739",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ks_c_5601-1987.html.headers": [
|
||||
|
@ -563791,7 +563797,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ks_c_5601-1989.html": [
|
||||
"4fbe2e412e07a5cc24876287f0ab57dbf83b9aa6",
|
||||
"52a2d7707819ca3828e31edf3e74afd77d3de7ef",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ks_c_5601-1989.html.headers": [
|
||||
|
@ -563807,7 +563813,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ksc_5601.html": [
|
||||
"29531cacec50549c48d974b7cbbb1b70da4be633",
|
||||
"1298821171b1f926338b3f5ebad5fd0f3f645c77",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-form-ksc_5601.html.headers": [
|
||||
|
@ -563831,7 +563837,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-href-errors-han.html": [
|
||||
"01d7933e6995c9afbeba289b0e2219d636b8cc7f",
|
||||
"ecffcf53cb5e847e33c386a2e25fc49382f69f4c",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-href-errors-han.html.headers": [
|
||||
|
@ -563847,7 +563853,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-href.html": [
|
||||
"447babc2cfcbc5fc54662313b173d143e975b46c",
|
||||
"3fc406d1e3cf552f941354609d3020982cdd41c0",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-korean/euc-kr/euckr-encode-href.html.headers": [
|
||||
|
@ -564075,7 +564081,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html": [
|
||||
"cd684a384fa563ba8bad826bdb77878e71198590",
|
||||
"81a3309eeec6dfacef31aa4fde764e3b2b0768ea",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-han.html.headers": [
|
||||
|
@ -564083,7 +564089,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-hangul.html": [
|
||||
"cfa27f2ec91d0f38416a12f9581eb09e3169f91b",
|
||||
"618819c0aec5e9d2404924aee0eeeaf4f1fa7dc0",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-hangul.html.headers": [
|
||||
|
@ -564091,7 +564097,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-misc.html": [
|
||||
"f55a2bfb2bc00720126b19e7aace7869b2e0e5c5",
|
||||
"268ea8e20b64f6e025b62fdc1035bb8ecf808039",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href-errors-misc.html.headers": [
|
||||
|
@ -564099,7 +564105,7 @@
|
|||
"support"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href.html": [
|
||||
"7470f06a2c26f807162834dec74e848b7bd1a004",
|
||||
"d49db53d857f72997e6dcae6babc749ac22bdcbe",
|
||||
"testharness"
|
||||
],
|
||||
"encoding/legacy-mb-tchinese/big5/big5-encode-href.html.headers": [
|
||||
|
|
|
@ -9,13 +9,33 @@
|
|||
var subTestEnd = Infinity;
|
||||
var match;
|
||||
if (location.search) {
|
||||
match = /(?:^\?|&)(\d+)-(\d+|last)(?:&|$)/.exec(location.search);
|
||||
if (match) {
|
||||
subTestStart = parseInt(match[1], 10);
|
||||
if (match[2] !== "last") {
|
||||
subTestEnd = parseInt(match[2], 10);
|
||||
}
|
||||
match = /(?:^\?|&)(\d+)-(\d+|last)(?:&|$)/.exec(location.search);
|
||||
if (match) {
|
||||
subTestStart = parseInt(match[1], 10);
|
||||
if (match[2] !== "last") {
|
||||
subTestEnd = parseInt(match[2], 10);
|
||||
}
|
||||
}
|
||||
// Below is utility code to generate <meta> for copy/paste into tests.
|
||||
// Sample usage:
|
||||
// test.html?split=1000
|
||||
match = /(?:^\?|&)split=(\d+)(?:&|$)/.exec(location.search);
|
||||
if (match) {
|
||||
var testsPerVariant = parseInt(match[1], 10);
|
||||
add_completion_callback(tests => {
|
||||
var total = tests.length;
|
||||
var template = '<meta name="variant" content="?%s-%s">';
|
||||
var metas = [];
|
||||
for (var i = 1; i < total - testsPerVariant; i = i + testsPerVariant) {
|
||||
metas.push(template.replace("%s", i).replace("%s", i + testsPerVariant - 1));
|
||||
}
|
||||
metas.push(template.replace("%s", i).replace("%s", "last"));
|
||||
var pre = document.createElement('pre');
|
||||
pre.textContent = metas.join('\n');
|
||||
document.body.insertBefore(pre, document.body.firstChild);
|
||||
document.getSelection().selectAllChildren(pre);
|
||||
});
|
||||
}
|
||||
}
|
||||
function shouldRunSubTest(currentSubTest) {
|
||||
return currentSubTest >= subTestStart && currentSubTest <= subTestEnd;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<meta name="variant" content="?7001-8000">
|
||||
<meta name="variant" content="?8001-9000">
|
||||
<meta name="variant" content="?9001-10000">
|
||||
<meta name="variant" content="?10001-10000">
|
||||
<meta name="variant" content="?10001-11000">
|
||||
<meta name="variant" content="?11001-12000">
|
||||
<meta name="variant" content="?12001-13000">
|
||||
<meta name="variant" content="?13001-14000">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<meta name="variant" content="?7001-8000">
|
||||
<meta name="variant" content="?8001-9000">
|
||||
<meta name="variant" content="?9001-10000">
|
||||
<meta name="variant" content="?10001-10000">
|
||||
<meta name="variant" content="?10001-11000">
|
||||
<meta name="variant" content="?11001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
<meta name="variant" content="?17001-18000">
|
||||
<meta name="variant" content="?18001-19000">
|
||||
<meta name="variant" content="?19001-20000">
|
||||
<meta name="variant" content="?20001-last">
|
||||
<meta name="variant" content="?20001-21000">
|
||||
<meta name="variant" content="?21001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/subset-tests.js"></script>
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
<meta name="variant" content="?17001-18000">
|
||||
<meta name="variant" content="?18001-19000">
|
||||
<meta name="variant" content="?19001-20000">
|
||||
<meta name="variant" content="?20001-last">
|
||||
<meta name="variant" content="?20001-21000">
|
||||
<meta name="variant" content="?21001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/subset-tests.js"></script>
|
||||
|
@ -33,6 +34,9 @@
|
|||
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
|
||||
<link rel="help" href="https://encoding.spec.whatwg.org/#iso-2022-jp">
|
||||
<meta name="assert" content="The browser produces percent-escaped character references when writing characters to an href value and encoding han characters that are not in the iso-2022-jp encoding.">
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = true;
|
||||
|
@ -47,8 +51,5 @@ function normalizeStr(str) {
|
|||
}
|
||||
</script>
|
||||
<script src="../../resources/encode-href-common.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
<meta name="variant" content="?17001-18000">
|
||||
<meta name="variant" content="?18001-19000">
|
||||
<meta name="variant" content="?19001-20000">
|
||||
<meta name="variant" content="?20001-last">
|
||||
<meta name="variant" content="?20001-21000">
|
||||
<meta name="variant" content="?21001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/subset-tests.js"></script>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<meta name="variant" content="?7001-8000">
|
||||
<meta name="variant" content="?8001-9000">
|
||||
<meta name="variant" content="?9001-10000">
|
||||
<meta name="variant" content="?10001-10000">
|
||||
<meta name="variant" content="?10001-11000">
|
||||
<meta name="variant" content="?11001-12000">
|
||||
<meta name="variant" content="?12001-13000">
|
||||
<meta name="variant" content="?13001-14000">
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../ranges.js"></script>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = false;
|
||||
var encoder = euckrEncoder;
|
||||
|
@ -47,6 +47,6 @@ function expect(result) {
|
|||
return "%" + result.replace(/ /g, "%");
|
||||
}
|
||||
</script>
|
||||
<script src="../../encode-form-common.js"></script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -52,9 +52,6 @@ var separator = ",";
|
|||
function expect(result, codepoint) {
|
||||
return "%26%23" + codepoint + "%3B";
|
||||
}
|
||||
function normalizeStr(str) {
|
||||
return str;
|
||||
}
|
||||
</script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
</body>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../ranges.js"></script>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = false;
|
||||
var encoder = euckrEncoder;
|
||||
|
@ -47,6 +47,6 @@ function expect(result) {
|
|||
return "%" + result.replace(/ /g, "%");
|
||||
}
|
||||
</script>
|
||||
<script src="../../encode-form-common.js"></script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../ranges.js"></script>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = false;
|
||||
var encoder = euckrEncoder;
|
||||
|
@ -47,6 +47,6 @@ function expect(result) {
|
|||
return "%" + result.replace(/ /g, "%");
|
||||
}
|
||||
</script>
|
||||
<script src="../../encode-form-common.js"></script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../ranges.js"></script>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = false;
|
||||
var encoder = euckrEncoder;
|
||||
|
@ -47,6 +47,6 @@ function expect(result) {
|
|||
return "%" + result.replace(/ /g, "%");
|
||||
}
|
||||
</script>
|
||||
<script src="../../encode-form-common.js"></script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../ranges.js"></script>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = false;
|
||||
var encoder = euckrEncoder;
|
||||
|
@ -47,6 +47,6 @@ function expect(result) {
|
|||
return "%" + result.replace(/ /g, "%");
|
||||
}
|
||||
</script>
|
||||
<script src="../../encode-form-common.js"></script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../ranges.js"></script>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = false;
|
||||
var encoder = euckrEncoder;
|
||||
|
@ -47,6 +47,6 @@ function expect(result) {
|
|||
return "%" + result.replace(/ /g, "%");
|
||||
}
|
||||
</script>
|
||||
<script src="../../encode-form-common.js"></script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<meta name="variant" content="?20001-21000">
|
||||
<meta name="variant" content="?21001-22000">
|
||||
<meta name="variant" content="?22001-23000">
|
||||
<meta name="variant" content="?23001-last">
|
||||
<<meta name="variant" content="?23001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/subset-tests.js"></script>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
<script src="../../ranges.js"></script>
|
||||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = false;
|
||||
var encoder = euckrEncoder;
|
||||
|
@ -46,6 +46,6 @@ function expect(result, codepoint) {
|
|||
return "%" + result.replace(/ /g, "%");
|
||||
}
|
||||
</script>
|
||||
<script src="../../encode-href-common.js"></script>
|
||||
<script src="../../resources/encode-href-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -18,16 +18,7 @@
|
|||
<meta name="variant" content="?11001-12000">
|
||||
<meta name="variant" content="?12001-13000">
|
||||
<meta name="variant" content="?13001-14000">
|
||||
<meta name="variant" content="?14001-15000">
|
||||
<meta name="variant" content="?15001-16000">
|
||||
<meta name="variant" content="?16001-17000">
|
||||
<meta name="variant" content="?17001-18000">
|
||||
<meta name="variant" content="?18001-19000">
|
||||
<meta name="variant" content="?19001-20000">
|
||||
<meta name="variant" content="?20001-21000">
|
||||
<meta name="variant" content="?21001-22000">
|
||||
<meta name="variant" content="?22001-23000">
|
||||
<meta name="variant" content="?23001-last">
|
||||
<meta name="variant" content="?14001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/subset-tests.js"></script>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<meta name="variant" content="?7001-8000">
|
||||
<meta name="variant" content="?8001-9000">
|
||||
<meta name="variant" content="?9001-10000">
|
||||
<meta name="variant" content="?10001-10000">
|
||||
<meta name="variant" content="?10001-11000">
|
||||
<meta name="variant" content="?11001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
<script src="../../resources/ranges.js"></script>
|
||||
<script>
|
||||
var errors = true;
|
||||
var encoder = eucjpEncoder;
|
||||
var encoder = big5Encoder;
|
||||
var ranges = rangesMisc;
|
||||
function expect(result, codepoint) {
|
||||
return "%26%23" + codepoint + "%3B";
|
||||
}
|
||||
</script>
|
||||
<script src="../../resources/encode-form-common.js"></script>
|
||||
<script src="../../resources/encode-href-common.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="timeout" content="long">
|
||||
<title>Big5 encoding (href)</title>
|
||||
<meta charset="big5"> <!-- test breaks if the server overrides this -->
|
||||
<title>Big5 encoding (href)</title>
|
||||
<meta name="timeout" content="long">
|
||||
<meta name="variant" content="?1-1000">
|
||||
<meta name="variant" content="?1001-2000">
|
||||
<meta name="variant" content="?2001-3000">
|
||||
|
@ -11,7 +11,14 @@
|
|||
<meta name="variant" content="?4001-5000">
|
||||
<meta name="variant" content="?5001-6000">
|
||||
<meta name="variant" content="?6001-7000">
|
||||
<meta name="variant" content="?7001-last">
|
||||
<meta name="variant" content="?7001-8000">
|
||||
<meta name="variant" content="?8001-9000">
|
||||
<meta name="variant" content="?9001-10000">
|
||||
<meta name="variant" content="?10001-11000">
|
||||
<meta name="variant" content="?11001-12000">
|
||||
<meta name="variant" content="?12001-13000">
|
||||
<meta name="variant" content="?13001-14000">
|
||||
<meta name="variant" content="?14001-last">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/subset-tests.js"></script>
|
||||
|
|
Загрузка…
Ссылка в новой задаче