Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/encoding/textdecoder-fatal-single-byte-expected.txt

Issue 2022203002: Import wpt@d510ec1abc30eee4c855c13842bc2f0dfa791f8b (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Message changed by testharness.js update Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/encoding/textdecoder-fatal-single-byte-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/encoding/textdecoder-fatal-single-byte-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/encoding/textdecoder-fatal-single-byte-expected.txt
index 0ee27da326887378e1cb5260f50bd7829458c400..121e985c8d74d908c7c6ddd93df09ec07441a5bc 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/encoding/textdecoder-fatal-single-byte-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/wpt/encoding/textdecoder-fatal-single-byte-expected.txt
@@ -677,7 +677,8 @@ PASS Not throw: ISO-8859-3 has a pointer 162
PASS Not throw: ISO-8859-3 has a pointer 163
PASS Not throw: ISO-8859-3 has a pointer 164
FAIL Throw due to fatal flag: ISO-8859-3 doesn't have a pointer 165 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-3 has a pointer 166
PASS Not throw: ISO-8859-3 has a pointer 167
PASS Not throw: ISO-8859-3 has a pointer 168
@@ -687,7 +688,8 @@ PASS Not throw: ISO-8859-3 has a pointer 171
PASS Not throw: ISO-8859-3 has a pointer 172
PASS Not throw: ISO-8859-3 has a pointer 173
FAIL Throw due to fatal flag: ISO-8859-3 doesn't have a pointer 174 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-3 has a pointer 175
PASS Not throw: ISO-8859-3 has a pointer 176
PASS Not throw: ISO-8859-3 has a pointer 177
@@ -704,13 +706,15 @@ PASS Not throw: ISO-8859-3 has a pointer 187
PASS Not throw: ISO-8859-3 has a pointer 188
PASS Not throw: ISO-8859-3 has a pointer 189
FAIL Throw due to fatal flag: ISO-8859-3 doesn't have a pointer 190 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-3 has a pointer 191
PASS Not throw: ISO-8859-3 has a pointer 192
PASS Not throw: ISO-8859-3 has a pointer 193
PASS Not throw: ISO-8859-3 has a pointer 194
FAIL Throw due to fatal flag: ISO-8859-3 doesn't have a pointer 195 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-3 has a pointer 196
PASS Not throw: ISO-8859-3 has a pointer 197
PASS Not throw: ISO-8859-3 has a pointer 198
@@ -724,7 +728,8 @@ PASS Not throw: ISO-8859-3 has a pointer 205
PASS Not throw: ISO-8859-3 has a pointer 206
PASS Not throw: ISO-8859-3 has a pointer 207
FAIL Throw due to fatal flag: ISO-8859-3 doesn't have a pointer 208 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-3 has a pointer 209
PASS Not throw: ISO-8859-3 has a pointer 210
PASS Not throw: ISO-8859-3 has a pointer 211
@@ -744,7 +749,8 @@ PASS Not throw: ISO-8859-3 has a pointer 224
PASS Not throw: ISO-8859-3 has a pointer 225
PASS Not throw: ISO-8859-3 has a pointer 226
FAIL Throw due to fatal flag: ISO-8859-3 doesn't have a pointer 227 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-3 has a pointer 228
PASS Not throw: ISO-8859-3 has a pointer 229
PASS Not throw: ISO-8859-3 has a pointer 230
@@ -758,7 +764,8 @@ PASS Not throw: ISO-8859-3 has a pointer 237
PASS Not throw: ISO-8859-3 has a pointer 238
PASS Not throw: ISO-8859-3 has a pointer 239
FAIL Throw due to fatal flag: ISO-8859-3 doesn't have a pointer 240 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-3 has a pointer 241
PASS Not throw: ISO-8859-3 has a pointer 242
PASS Not throw: ISO-8859-3 has a pointer 243
@@ -1448,64 +1455,91 @@ PASS Not throw: ISO-8859-6 has a pointer 158
PASS Not throw: ISO-8859-6 has a pointer 159
PASS Not throw: ISO-8859-6 has a pointer 160
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 161 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 162 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 163 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-6 has a pointer 164
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 165 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 166 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 167 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 168 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 169 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 170 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 171 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-6 has a pointer 172
PASS Not throw: ISO-8859-6 has a pointer 173
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 174 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 175 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 176 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 177 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 178 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 179 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 180 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 181 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 182 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 183 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 184 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 185 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 186 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-6 has a pointer 187
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 188 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 189 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 190 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-6 has a pointer 191
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 192 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-6 has a pointer 193
PASS Not throw: ISO-8859-6 has a pointer 194
PASS Not throw: ISO-8859-6 has a pointer 195
@@ -1533,15 +1567,20 @@ PASS Not throw: ISO-8859-6 has a pointer 216
PASS Not throw: ISO-8859-6 has a pointer 217
PASS Not throw: ISO-8859-6 has a pointer 218
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 219 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 220 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 221 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 222 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 223 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-6 has a pointer 224
PASS Not throw: ISO-8859-6 has a pointer 225
PASS Not throw: ISO-8859-6 has a pointer 226
@@ -1562,31 +1601,44 @@ PASS Not throw: ISO-8859-6 has a pointer 240
PASS Not throw: ISO-8859-6 has a pointer 241
PASS Not throw: ISO-8859-6 has a pointer 242
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 243 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 244 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 245 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 246 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 247 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 248 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 249 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 250 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 251 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 252 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 253 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 254 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-6 doesn't have a pointer 255 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-7 has a pointer 0
PASS Not throw: ISO-8859-7 has a pointer 1
PASS Not throw: ISO-8859-7 has a pointer 2
@@ -1762,7 +1814,8 @@ PASS Not throw: ISO-8859-7 has a pointer 171
PASS Not throw: ISO-8859-7 has a pointer 172
PASS Not throw: ISO-8859-7 has a pointer 173
FAIL Throw due to fatal flag: ISO-8859-7 doesn't have a pointer 174 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-7 has a pointer 175
PASS Not throw: ISO-8859-7 has a pointer 176
PASS Not throw: ISO-8859-7 has a pointer 177
@@ -1799,7 +1852,8 @@ PASS Not throw: ISO-8859-7 has a pointer 207
PASS Not throw: ISO-8859-7 has a pointer 208
PASS Not throw: ISO-8859-7 has a pointer 209
FAIL Throw due to fatal flag: ISO-8859-7 doesn't have a pointer 210 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-7 has a pointer 211
PASS Not throw: ISO-8859-7 has a pointer 212
PASS Not throw: ISO-8859-7 has a pointer 213
@@ -1845,7 +1899,8 @@ PASS Not throw: ISO-8859-7 has a pointer 252
PASS Not throw: ISO-8859-7 has a pointer 253
PASS Not throw: ISO-8859-7 has a pointer 254
FAIL Throw due to fatal flag: ISO-8859-7 doesn't have a pointer 255 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8 has a pointer 0
PASS Not throw: ISO-8859-8 has a pointer 1
PASS Not throw: ISO-8859-8 has a pointer 2
@@ -2008,7 +2063,8 @@ PASS Not throw: ISO-8859-8 has a pointer 158
PASS Not throw: ISO-8859-8 has a pointer 159
PASS Not throw: ISO-8859-8 has a pointer 160
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 161 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8 has a pointer 162
PASS Not throw: ISO-8859-8 has a pointer 163
PASS Not throw: ISO-8859-8 has a pointer 164
@@ -2039,69 +2095,101 @@ PASS Not throw: ISO-8859-8 has a pointer 188
PASS Not throw: ISO-8859-8 has a pointer 189
PASS Not throw: ISO-8859-8 has a pointer 190
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 191 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 192 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 193 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 194 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 195 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 196 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 197 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 198 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 199 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 200 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 201 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 202 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 203 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 204 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 205 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 206 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 207 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 208 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 209 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 210 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 211 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 212 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 213 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 214 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 215 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 216 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 217 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 218 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 219 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 220 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 221 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 222 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8 has a pointer 223
PASS Not throw: ISO-8859-8 has a pointer 224
PASS Not throw: ISO-8859-8 has a pointer 225
@@ -2131,13 +2219,16 @@ PASS Not throw: ISO-8859-8 has a pointer 248
PASS Not throw: ISO-8859-8 has a pointer 249
PASS Not throw: ISO-8859-8 has a pointer 250
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 251 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 252 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8 has a pointer 253
PASS Not throw: ISO-8859-8 has a pointer 254
FAIL Throw due to fatal flag: ISO-8859-8 doesn't have a pointer 255 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8-I has a pointer 0
PASS Not throw: ISO-8859-8-I has a pointer 1
PASS Not throw: ISO-8859-8-I has a pointer 2
@@ -2300,7 +2391,8 @@ PASS Not throw: ISO-8859-8-I has a pointer 158
PASS Not throw: ISO-8859-8-I has a pointer 159
PASS Not throw: ISO-8859-8-I has a pointer 160
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 161 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8-I has a pointer 162
PASS Not throw: ISO-8859-8-I has a pointer 163
PASS Not throw: ISO-8859-8-I has a pointer 164
@@ -2331,69 +2423,101 @@ PASS Not throw: ISO-8859-8-I has a pointer 188
PASS Not throw: ISO-8859-8-I has a pointer 189
PASS Not throw: ISO-8859-8-I has a pointer 190
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 191 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 192 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 193 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 194 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 195 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 196 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 197 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 198 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 199 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 200 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 201 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 202 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 203 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 204 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 205 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 206 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 207 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 208 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 209 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 210 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 211 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 212 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 213 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 214 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 215 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 216 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 217 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 218 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 219 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 220 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 221 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 222 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8-I has a pointer 223
PASS Not throw: ISO-8859-8-I has a pointer 224
PASS Not throw: ISO-8859-8-I has a pointer 225
@@ -2423,13 +2547,16 @@ PASS Not throw: ISO-8859-8-I has a pointer 248
PASS Not throw: ISO-8859-8-I has a pointer 249
PASS Not throw: ISO-8859-8-I has a pointer 250
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 251 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 252 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-8-I has a pointer 253
PASS Not throw: ISO-8859-8-I has a pointer 254
FAIL Throw due to fatal flag: ISO-8859-8-I doesn't have a pointer 255 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: ISO-8859-10 has a pointer 0
PASS Not throw: ISO-8859-10 has a pointer 1
PASS Not throw: ISO-8859-10 has a pointer 2
@@ -4698,13 +4825,17 @@ PASS Not throw: windows-874 has a pointer 216
PASS Not throw: windows-874 has a pointer 217
PASS Not throw: windows-874 has a pointer 218
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 219 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 220 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 221 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 222 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-874 has a pointer 223
PASS Not throw: windows-874 has a pointer 224
PASS Not throw: windows-874 has a pointer 225
@@ -4735,13 +4866,17 @@ PASS Not throw: windows-874 has a pointer 249
PASS Not throw: windows-874 has a pointer 250
PASS Not throw: windows-874 has a pointer 251
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 252 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 253 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 254 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-874 doesn't have a pointer 255 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1250 has a pointer 0
PASS Not throw: windows-1250 has a pointer 1
PASS Not throw: windows-1250 has a pointer 2
@@ -5681,7 +5816,8 @@ PASS Not throw: windows-1253 has a pointer 167
PASS Not throw: windows-1253 has a pointer 168
PASS Not throw: windows-1253 has a pointer 169
FAIL Throw due to fatal flag: windows-1253 doesn't have a pointer 170 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1253 has a pointer 171
PASS Not throw: windows-1253 has a pointer 172
PASS Not throw: windows-1253 has a pointer 173
@@ -5722,7 +5858,8 @@ PASS Not throw: windows-1253 has a pointer 207
PASS Not throw: windows-1253 has a pointer 208
PASS Not throw: windows-1253 has a pointer 209
FAIL Throw due to fatal flag: windows-1253 doesn't have a pointer 210 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1253 has a pointer 211
PASS Not throw: windows-1253 has a pointer 212
PASS Not throw: windows-1253 has a pointer 213
@@ -5768,7 +5905,8 @@ PASS Not throw: windows-1253 has a pointer 252
PASS Not throw: windows-1253 has a pointer 253
PASS Not throw: windows-1253 has a pointer 254
FAIL Throw due to fatal flag: windows-1253 doesn't have a pointer 255 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1254 has a pointer 0
PASS Not throw: windows-1254 has a pointer 1
PASS Not throw: windows-1254 has a pointer 2
@@ -6228,7 +6366,8 @@ PASS Not throw: windows-1255 has a pointer 199
PASS Not throw: windows-1255 has a pointer 200
PASS Not throw: windows-1255 has a pointer 201
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 202 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1255 has a pointer 203
PASS Not throw: windows-1255 has a pointer 204
PASS Not throw: windows-1255 has a pointer 205
@@ -6244,19 +6383,26 @@ PASS Not throw: windows-1255 has a pointer 214
PASS Not throw: windows-1255 has a pointer 215
PASS Not throw: windows-1255 has a pointer 216
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 217 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 218 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 219 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 220 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 221 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 222 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 223 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1255 has a pointer 224
PASS Not throw: windows-1255 has a pointer 225
PASS Not throw: windows-1255 has a pointer 226
@@ -6285,13 +6431,16 @@ PASS Not throw: windows-1255 has a pointer 248
PASS Not throw: windows-1255 has a pointer 249
PASS Not throw: windows-1255 has a pointer 250
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 251 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 252 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1255 has a pointer 253
PASS Not throw: windows-1255 has a pointer 254
FAIL Throw due to fatal flag: windows-1255 doesn't have a pointer 255 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1256 has a pointer 0
PASS Not throw: windows-1256 has a pointer 1
PASS Not throw: windows-1256 has a pointer 2
@@ -6710,12 +6859,14 @@ PASS Not throw: windows-1257 has a pointer 158
PASS Not throw: windows-1257 has a pointer 159
PASS Not throw: windows-1257 has a pointer 160
FAIL Throw due to fatal flag: windows-1257 doesn't have a pointer 161 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1257 has a pointer 162
PASS Not throw: windows-1257 has a pointer 163
PASS Not throw: windows-1257 has a pointer 164
FAIL Throw due to fatal flag: windows-1257 doesn't have a pointer 165 assert_throws: function "function () {
- new TextDecoder(t.encod..." did not throw
+ new TextDecoder(t.encoding, {fatal: true}).decode(new Uint8Array([i]));
+ }" did not throw
PASS Not throw: windows-1257 has a pointer 166
PASS Not throw: windows-1257 has a pointer 167
PASS Not throw: windows-1257 has a pointer 168

Powered by Google App Engine
This is Rietveld 408576698