Skip to content

Commit 5303d4e

Browse files
committed
test: redownload wpt fixtures with correct encoding
PR-URL: #37467 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 26288ff commit 5303d4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+138
-37
lines changed

test/fixtures/wpt/common/square.png

-2.18 KB

test/fixtures/wpt/encoding/eof-shift_jis.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<meta charset=shift_jis>
33
<title>Shift_JIS file ending with a truncated sequence</title>
44
<link rel=match href=/encoding/eof-shift_jis-ref.html>
5-
One-byte truncated sequence:
5+
One-byte truncated sequence:ƒ

test/fixtures/wpt/encoding/eof-utf-8-one.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<meta charset=utf-8>
33
<title>UTF-8 file ending with a one-byte truncated sequence</title>
44
<link rel=match href="eof-utf-8-one-ref.html">
5-
One-byte truncated sequence:
5+
One-byte truncated sequence:ð

test/fixtures/wpt/encoding/eof-utf-8-three.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<meta charset=utf-8>
33
<title>UTF-8 file ending with a three-byte truncated sequence</title>
44
<link rel=match href="eof-utf-8-three-ref.html">
5-
Three-byte truncated sequence:
5+
Three-byte truncated sequence:ðŸ’

test/fixtures/wpt/encoding/eof-utf-8-two.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<meta charset=utf-8>
33
<title>UTF-8 file ending with a two-byte truncated sequence</title>
44
<link rel=match href="eof-utf-8-two-ref.html">
5-
Two-byte truncated sequence:
5+
Two-byte truncated sequence:ðŸ

test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/eucjp_chars-cseucpkdfmtjapanese.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/eucjp_chars-x-euc-jp.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/eucjp_chars.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/eucjp_errors.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<meta charset="euc-jp">
55
<title>EUC-JP characters</title>
66
</head>
7-
<body><span></span> <span>���</span> <span>���</span> <span></span> <span>���</span> <span></span> <span>���</span> <span>1</span> <span>��</span> <span>��</span> <span>��</span> </body>
7+
<body><span>°</span> <span>°µ°</span> <span>°°°</span> <span>ÿ</span> <span>°µÿ</span> <span></span> <span>°µ‘</span> <span>°1</span> <span>°ÿ</span> <span>° </span> <span>¢¹</span> </body>
88
</html>

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars-csshiftjis.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars-ms932.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars-ms_kanji.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars-shift-jis.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars-sjis.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars-windows-31j.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars-x-sjis.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_chars.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/sjis_errors.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<meta charset="shift_jis">
55
<title>Shift_JIS characters</title>
66
</head>
7-
<body><span></span> <span>�n�</span> <span>���</span> <span></span> <span></span> <span></span> <span>���</span> <span>��</span> <span>��</span> <span>��</span> </body>
7+
<body><span>ú</span> <span>únú</span> <span>úúú</span> <span>ÿ</span> <span> </span> <span>á</span> <span>úúÿ</span> <span>úý</span> <span>úþ</span> <span>µ</span> </body>
88
</html>

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-cseuckr.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-csksc56011987.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-iso-ir-149.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-korean.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-ks_c_5601-1987.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-ks_c_5601-1989.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-ksc5601.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-ksc_5601.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars-windows-949.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_chars.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/euckr_errors.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<meta charset="euc-kr">
55
<title>EUC-KR characters</title>
66
</head>
7-
<body><span></span> <span>���</span> <span>���</span> <span></span> <span>���</span> <span>1</span> <span>��</span> <span>[</span> </body>
7+
<body><span>°</span> <span>°µ°</span> <span>°°°</span> <span>ÿ</span> <span>°µÿ</span> <span>°1</span> <span>°ÿ</span> <span>[</span> </body>
88
</html>

test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/big5_chars-big5-hkscs.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/big5_chars-cn-big5.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/big5_chars-csbig5.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/big5_chars-x-x-big5.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/big5_chars.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/big5_chars_extra.html

+1-1
Large diffs are not rendered by default.

test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/big5_errors.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
<meta charset="big5">
55
<title>Big5 characters</title>
66
</head>
7-
<body><span></span> <span>���</span> <span>���</span> <span></span> <span>���</span> <span>1</span> <span>��</span> <span>��</span> </body>
7+
<body><span>«</span> <span>«µ«</span> <span>«««</span> <span>ÿ</span> <span>«µÿ</span> <span>«1</span> <span>«ÿ</span> <span>Èò</span> </body>
88
</html>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
����
1+
����
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
����
1+
����
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

test/fixtures/wpt/hr-time/resources/unload.js

+1
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ const setupListeners = (docName, nextDocument) => {
4848
if (docName !== "c") { syncDelay(1000); }
4949
});
5050
};
51+
+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
// GENERATED CONTENT - DO NOT EDIT
2+
// Content was automatically extracted by Reffy into webref
3+
// (https://github.com/w3c/webref)
4+
// Source: File API (https://w3c.github.io/FileAPI/)
5+
6+
[Exposed=(Window,Worker), Serializable]
7+
interface Blob {
8+
constructor(optional sequence<BlobPart> blobParts,
9+
optional BlobPropertyBag options = {});
10+
11+
readonly attribute unsigned long long size;
12+
readonly attribute DOMString type;
13+
14+
// slice Blob into byte-ranged chunks
15+
Blob slice(optional [Clamp] long long start,
16+
optional [Clamp] long long end,
17+
optional DOMString contentType);
18+
19+
// read from the Blob.
20+
[NewObject] ReadableStream stream();
21+
[NewObject] Promise<USVString> text();
22+
[NewObject] Promise<ArrayBuffer> arrayBuffer();
23+
};
24+
25+
enum EndingType { "transparent", "native" };
26+
27+
dictionary BlobPropertyBag {
28+
DOMString type = "";
29+
EndingType endings = "transparent";
30+
};
31+
32+
typedef (BufferSource or Blob or USVString) BlobPart;
33+
34+
[Exposed=(Window,Worker), Serializable]
35+
interface File : Blob {
36+
constructor(sequence<BlobPart> fileBits,
37+
USVString fileName,
38+
optional FilePropertyBag options = {});
39+
readonly attribute DOMString name;
40+
readonly attribute long long lastModified;
41+
};
42+
43+
dictionary FilePropertyBag : BlobPropertyBag {
44+
long long lastModified;
45+
};
46+
47+
[Exposed=(Window,Worker), Serializable]
48+
interface FileList {
49+
getter File? item(unsigned long index);
50+
readonly attribute unsigned long length;
51+
};
52+
53+
[Exposed=(Window,Worker)]
54+
interface FileReader: EventTarget {
55+
constructor();
56+
// async read methods
57+
undefined readAsArrayBuffer(Blob blob);
58+
undefined readAsBinaryString(Blob blob);
59+
undefined readAsText(Blob blob, optional DOMString encoding);
60+
undefined readAsDataURL(Blob blob);
61+
62+
undefined abort();
63+
64+
// states
65+
const unsigned short EMPTY = 0;
66+
const unsigned short LOADING = 1;
67+
const unsigned short DONE = 2;
68+
69+
readonly attribute unsigned short readyState;
70+
71+
// File or Blob data
72+
readonly attribute (DOMString or ArrayBuffer)? result;
73+
74+
readonly attribute DOMException? error;
75+
76+
// event handler content attributes
77+
attribute EventHandler onloadstart;
78+
attribute EventHandler onprogress;
79+
attribute EventHandler onload;
80+
attribute EventHandler onabort;
81+
attribute EventHandler onerror;
82+
attribute EventHandler onloadend;
83+
};
84+
85+
[Exposed=(DedicatedWorker,SharedWorker)]
86+
interface FileReaderSync {
87+
constructor();
88+
// Synchronously return strings
89+
90+
ArrayBuffer readAsArrayBuffer(Blob blob);
91+
DOMString readAsBinaryString(Blob blob);
92+
DOMString readAsText(Blob blob, optional DOMString encoding);
93+
DOMString readAsDataURL(Blob blob);
94+
};
95+
96+
[Exposed=(Window,DedicatedWorker,SharedWorker)]
97+
partial interface URL {
98+
static DOMString createObjectURL((Blob or MediaSource) obj);
99+
static undefined revokeObjectURL(DOMString url);
100+
};

0 commit comments

Comments
 (0)