gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/net/html/testdata/webkit/scriptdata01.dat (about) 1 #data 2 FOO<script>'Hello'</script>BAR 3 #errors 4 (1,3): expected-doctype-but-got-chars 5 #document 6 | <html> 7 | <head> 8 | <body> 9 | "FOO" 10 | <script> 11 | "'Hello'" 12 | "BAR" 13 14 #data 15 FOO<script></script>BAR 16 #errors 17 (1,3): expected-doctype-but-got-chars 18 #document 19 | <html> 20 | <head> 21 | <body> 22 | "FOO" 23 | <script> 24 | "BAR" 25 26 #data 27 FOO<script></script >BAR 28 #errors 29 (1,3): expected-doctype-but-got-chars 30 #document 31 | <html> 32 | <head> 33 | <body> 34 | "FOO" 35 | <script> 36 | "BAR" 37 38 #data 39 FOO<script></script/>BAR 40 #errors 41 (1,3): expected-doctype-but-got-chars 42 (1,21): self-closing-flag-on-end-tag 43 #new-errors 44 (1:21) end-tag-with-trailing-solidus 45 #document 46 | <html> 47 | <head> 48 | <body> 49 | "FOO" 50 | <script> 51 | "BAR" 52 53 #data 54 FOO<script></script/ >BAR 55 #errors 56 (1,3): expected-doctype-but-got-chars 57 (1,20): unexpected-character-after-solidus-in-tag 58 #new-errors 59 (1:21) unexpected-solidus-in-tag 60 #document 61 | <html> 62 | <head> 63 | <body> 64 | "FOO" 65 | <script> 66 | "BAR" 67 68 #data 69 FOO<script type="text/plain"></scriptx>BAR 70 #errors 71 (1,3): expected-doctype-but-got-chars 72 (1,42): expected-named-closing-tag-but-got-eof 73 #document 74 | <html> 75 | <head> 76 | <body> 77 | "FOO" 78 | <script> 79 | type="text/plain" 80 | "</scriptx>BAR" 81 82 #data 83 FOO<script></script foo=">" dd>BAR 84 #errors 85 (1,3): expected-doctype-but-got-chars 86 (1,31): attributes-in-end-tag 87 #new-errors 88 (1:31) end-tag-with-attributes 89 #document 90 | <html> 91 | <head> 92 | <body> 93 | "FOO" 94 | <script> 95 | "BAR" 96 97 #data 98 FOO<script>'<'</script>BAR 99 #errors 100 (1,3): expected-doctype-but-got-chars 101 #document 102 | <html> 103 | <head> 104 | <body> 105 | "FOO" 106 | <script> 107 | "'<'" 108 | "BAR" 109 110 #data 111 FOO<script>'<!'</script>BAR 112 #errors 113 (1,3): expected-doctype-but-got-chars 114 #document 115 | <html> 116 | <head> 117 | <body> 118 | "FOO" 119 | <script> 120 | "'<!'" 121 | "BAR" 122 123 #data 124 FOO<script>'<!-'</script>BAR 125 #errors 126 (1,3): expected-doctype-but-got-chars 127 #document 128 | <html> 129 | <head> 130 | <body> 131 | "FOO" 132 | <script> 133 | "'<!-'" 134 | "BAR" 135 136 #data 137 FOO<script>'<!--'</script>BAR 138 #errors 139 (1,3): expected-doctype-but-got-chars 140 #document 141 | <html> 142 | <head> 143 | <body> 144 | "FOO" 145 | <script> 146 | "'<!--'" 147 | "BAR" 148 149 #data 150 FOO<script>'<!---'</script>BAR 151 #errors 152 (1,3): expected-doctype-but-got-chars 153 #document 154 | <html> 155 | <head> 156 | <body> 157 | "FOO" 158 | <script> 159 | "'<!---'" 160 | "BAR" 161 162 #data 163 FOO<script>'<!-->'</script>BAR 164 #errors 165 (1,3): expected-doctype-but-got-chars 166 #document 167 | <html> 168 | <head> 169 | <body> 170 | "FOO" 171 | <script> 172 | "'<!-->'" 173 | "BAR" 174 175 #data 176 FOO<script>'<!-->'</script>BAR 177 #errors 178 (1,3): expected-doctype-but-got-chars 179 #document 180 | <html> 181 | <head> 182 | <body> 183 | "FOO" 184 | <script> 185 | "'<!-->'" 186 | "BAR" 187 188 #data 189 FOO<script>'<!-- potato'</script>BAR 190 #errors 191 (1,3): expected-doctype-but-got-chars 192 #document 193 | <html> 194 | <head> 195 | <body> 196 | "FOO" 197 | <script> 198 | "'<!-- potato'" 199 | "BAR" 200 201 #data 202 FOO<script>'<!-- <sCrIpt'</script>BAR 203 #errors 204 (1,3): expected-doctype-but-got-chars 205 #document 206 | <html> 207 | <head> 208 | <body> 209 | "FOO" 210 | <script> 211 | "'<!-- <sCrIpt'" 212 | "BAR" 213 214 #data 215 FOO<script type="text/plain">'<!-- <sCrIpt>'</script>BAR 216 #errors 217 (1,3): expected-doctype-but-got-chars 218 (1,56): expected-script-data-but-got-eof 219 (1,56): expected-named-closing-tag-but-got-eof 220 #new-errors 221 (1:57) eof-in-script-html-comment-like-text 222 #document 223 | <html> 224 | <head> 225 | <body> 226 | "FOO" 227 | <script> 228 | type="text/plain" 229 | "'<!-- <sCrIpt>'</script>BAR" 230 231 #data 232 FOO<script type="text/plain">'<!-- <sCrIpt> -'</script>BAR 233 #errors 234 (1,3): expected-doctype-but-got-chars 235 (1,58): expected-script-data-but-got-eof 236 (1,58): expected-named-closing-tag-but-got-eof 237 #new-errors 238 (1:59) eof-in-script-html-comment-like-text 239 #document 240 | <html> 241 | <head> 242 | <body> 243 | "FOO" 244 | <script> 245 | type="text/plain" 246 | "'<!-- <sCrIpt> -'</script>BAR" 247 248 #data 249 FOO<script type="text/plain">'<!-- <sCrIpt> --'</script>BAR 250 #errors 251 (1,3): expected-doctype-but-got-chars 252 (1,59): expected-script-data-but-got-eof 253 (1,59): expected-named-closing-tag-but-got-eof 254 #new-errors 255 (1:60) eof-in-script-html-comment-like-text 256 #document 257 | <html> 258 | <head> 259 | <body> 260 | "FOO" 261 | <script> 262 | type="text/plain" 263 | "'<!-- <sCrIpt> --'</script>BAR" 264 265 #data 266 FOO<script>'<!-- <sCrIpt> -->'</script>BAR 267 #errors 268 (1,3): expected-doctype-but-got-chars 269 #document 270 | <html> 271 | <head> 272 | <body> 273 | "FOO" 274 | <script> 275 | "'<!-- <sCrIpt> -->'" 276 | "BAR" 277 278 #data 279 FOO<script type="text/plain">'<!-- <sCrIpt> --!>'</script>BAR 280 #errors 281 (1,3): expected-doctype-but-got-chars 282 (1,61): expected-script-data-but-got-eof 283 (1,61): expected-named-closing-tag-but-got-eof 284 #new-errors 285 (1:62) eof-in-script-html-comment-like-text 286 #document 287 | <html> 288 | <head> 289 | <body> 290 | "FOO" 291 | <script> 292 | type="text/plain" 293 | "'<!-- <sCrIpt> --!>'</script>BAR" 294 295 #data 296 FOO<script type="text/plain">'<!-- <sCrIpt> -- >'</script>BAR 297 #errors 298 (1,3): expected-doctype-but-got-chars 299 (1,61): expected-script-data-but-got-eof 300 (1,61): expected-named-closing-tag-but-got-eof 301 #new-errors 302 (1:62) eof-in-script-html-comment-like-text 303 #document 304 | <html> 305 | <head> 306 | <body> 307 | "FOO" 308 | <script> 309 | type="text/plain" 310 | "'<!-- <sCrIpt> -- >'</script>BAR" 311 312 #data 313 FOO<script type="text/plain">'<!-- <sCrIpt '</script>BAR 314 #errors 315 (1,3): expected-doctype-but-got-chars 316 (1,56): expected-script-data-but-got-eof 317 (1,56): expected-named-closing-tag-but-got-eof 318 #new-errors 319 (1:57) eof-in-script-html-comment-like-text 320 #document 321 | <html> 322 | <head> 323 | <body> 324 | "FOO" 325 | <script> 326 | type="text/plain" 327 | "'<!-- <sCrIpt '</script>BAR" 328 329 #data 330 FOO<script type="text/plain">'<!-- <sCrIpt/'</script>BAR 331 #errors 332 (1,3): expected-doctype-but-got-chars 333 (1,56): expected-script-data-but-got-eof 334 (1,56): expected-named-closing-tag-but-got-eof 335 #new-errors 336 (1:57) eof-in-script-html-comment-like-text 337 #document 338 | <html> 339 | <head> 340 | <body> 341 | "FOO" 342 | <script> 343 | type="text/plain" 344 | "'<!-- <sCrIpt/'</script>BAR" 345 346 #data 347 FOO<script type="text/plain">'<!-- <sCrIpt\'</script>BAR 348 #errors 349 (1,3): expected-doctype-but-got-chars 350 #document 351 | <html> 352 | <head> 353 | <body> 354 | "FOO" 355 | <script> 356 | type="text/plain" 357 | "'<!-- <sCrIpt\'" 358 | "BAR" 359 360 #data 361 FOO<script type="text/plain">'<!-- <sCrIpt/'</script>BAR</script>QUX 362 #errors 363 (1,3): expected-doctype-but-got-chars 364 #document 365 | <html> 366 | <head> 367 | <body> 368 | "FOO" 369 | <script> 370 | type="text/plain" 371 | "'<!-- <sCrIpt/'</script>BAR" 372 | "QUX" 373 374 #data 375 FOO<script><!--<script>-></script>--></script>QUX 376 #errors 377 (1,3): expected-doctype-but-got-chars 378 #document 379 | <html> 380 | <head> 381 | <body> 382 | "FOO" 383 | <script> 384 | "<!--<script>-></script>-->" 385 | "QUX"