parser/htmlparser/tests/mochitest/html5lib_tree_construction/scriptdata01.dat

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial