Skip to content

Commit 3ff2866

Browse files
author
James Graham
committed
Move tests that rely on scripting
1 parent 975b085 commit 3ff2866

File tree

4 files changed

+43
-45
lines changed

4 files changed

+43
-45
lines changed

tree-construction/adoption01.dat

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -149,22 +149,6 @@
149149
| id="B"
150150
| "5"
151151

152-
#data
153-
<p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b>
154-
#errors
155-
#document
156-
| <html>
157-
| <head>
158-
| <body>
159-
| <p>
160-
| <b>
161-
| id="B"
162-
| <script>
163-
| "document.getElementById("A").id = "B""
164-
| <b>
165-
| id="A"
166-
| "TEXT"
167-
168152
#data
169153
<table><a>1<td>2</td>3</table>
170154
#errors
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#data
2+
<p><b id="A"><script>document.getElementById("A").id = "B"</script></p>TEXT</b>
3+
#errors
4+
#document
5+
| <html>
6+
| <head>
7+
| <body>
8+
| <p>
9+
| <b>
10+
| id="B"
11+
| <script>
12+
| "document.getElementById("A").id = "B""
13+
| <b>
14+
| id="A"
15+
| "TEXT"
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#data
2+
1<script>document.write("2")</script>3
3+
#errors
4+
#document
5+
| <html>
6+
| <head>
7+
| <body>
8+
| "1"
9+
| <script>
10+
| "document.write("2")"
11+
| "23"
12+
13+
#data
14+
1<script>document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")</script>4
15+
#errors
16+
#document
17+
| <html>
18+
| <head>
19+
| <body>
20+
| "1"
21+
| <script>
22+
| "document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")"
23+
| <script>
24+
| "document.write('2')"
25+
| "2"
26+
| <script>
27+
| "document.write('3')"
28+
| "34"

tree-construction/webkit01.dat

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -128,35 +128,6 @@ console.log("FOO<span>BAR</span>BAZ");
128128
| <foo>
129129
| <potato>
130130

131-
#data
132-
1<script>document.write("2")</script>3
133-
#errors
134-
#document
135-
| <html>
136-
| <head>
137-
| <body>
138-
| "1"
139-
| <script>
140-
| "document.write("2")"
141-
| "23"
142-
143-
#data
144-
1<script>document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")</script>4
145-
#errors
146-
#document
147-
| <html>
148-
| <head>
149-
| <body>
150-
| "1"
151-
| <script>
152-
| "document.write("<script>document.write('2')</scr"+ "ipt><script>document.write('3')</scr" + "ipt>")"
153-
| <script>
154-
| "document.write('2')"
155-
| "2"
156-
| <script>
157-
| "document.write('3')"
158-
| "34"
159-
160131
#data
161132
</ tttt>
162133
#errors

0 commit comments

Comments
 (0)