mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
To reproduce this, execute following steps in order: 1. git clone git@github.com:html5lib/html5lib-tests.git && git checkout 6ddcf58bea5a01e616911050c173622f84297211 2. cp -Rv html5lib-tests/tree-construction/ testdata/webkit Change-Id: Id32798b1ff881afad82d87c2fef0841e5223c7e6 Reviewed-on: https://go-review.googlesource.com/c/net/+/263397 Trust: Kunpei Sakai <namusyaka@gmail.com> Trust: Nigel Tao <nigeltao@golang.org> Run-TryBot: Kunpei Sakai <namusyaka@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
31 lines
603 B
Plaintext
31 lines
603 B
Plaintext
#data
|
|
1<script>document.write("2")</script>3
|
|
#errors
|
|
#script-on
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "1"
|
|
| <script>
|
|
| "document.write("2")"
|
|
| "23"
|
|
|
|
#data
|
|
1<script>document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")</script>4
|
|
#errors
|
|
#script-on
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "1"
|
|
| <script>
|
|
| "document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")"
|
|
| <script>
|
|
| "document.write('2')"
|
|
| "2"
|
|
| <script>
|
|
| "document.write('3')"
|
|
| "34"
|