Skip to content

Commit bb6bd91

Browse files
committed
JS: Update HTML TRAP tests output
1 parent 2a7b448 commit bb6bd91

File tree

8 files changed

+852
-834
lines changed

8 files changed

+852
-834
lines changed

javascript/extractor/tests/html/output/trap/entities.html.trap

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -117,27 +117,28 @@ successor(#20024,#20021)
117117
successor(#20021,#20033)
118118
successor(#20031,#20020)
119119
#20034=*
120-
xmlElements(#20034,"html",#10000,0,#10000)
121-
#20035=@"loc,{#10000},1,1,8,7"
122-
locations_default(#20035,#10000,1,1,8,7)
123-
xmllocations(#20034,#20035)
124-
#20036=*
125-
xmlElements(#20036,"body",#20034,1,#10000)
126-
#20037=@"loc,{#10000},5,5,7,11"
127-
locations_default(#20037,#10000,5,5,7,11)
128-
xmllocations(#20036,#20037)
129-
#20038=*
130-
xmlElements(#20038,"a",#20036,0,#10000)
131-
#20039=@"loc,{#10000},6,9,6,80"
132-
locations_default(#20039,#10000,6,9,6,80)
133-
xmllocations(#20038,#20039)
134-
#20040=*
135-
xmlAttrs(#20040,#20038,"href","javascript:void(alert(""Nope!""))",0,#10000)
120+
toplevel_parent_xml_node(#20001,#20034)
121+
#20035=*
122+
xmlElements(#20035,"html",#10000,0,#10000)
123+
#20036=@"loc,{#10000},1,1,8,7"
124+
locations_default(#20036,#10000,1,1,8,7)
125+
xmllocations(#20035,#20036)
126+
#20037=*
127+
xmlElements(#20037,"body",#20035,1,#10000)
128+
#20038=@"loc,{#10000},5,5,7,11"
129+
locations_default(#20038,#10000,5,5,7,11)
130+
xmllocations(#20037,#20038)
131+
#20039=*
132+
xmlElements(#20039,"a",#20037,0,#10000)
133+
#20040=@"loc,{#10000},6,9,6,80"
134+
locations_default(#20040,#10000,6,9,6,80)
135+
xmllocations(#20039,#20040)
136+
xmlAttrs(#20034,#20039,"href","javascript:void(alert(""Nope!""))",0,#10000)
136137
#20041=@"loc,{#10000},6,12,6,65"
137138
locations_default(#20041,#10000,6,12,6,65)
138-
xmllocations(#20040,#20041)
139+
xmllocations(#20034,#20041)
139140
#20042=*
140-
xmlElements(#20042,"head",#20034,0,#10000)
141+
xmlElements(#20042,"head",#20035,0,#10000)
141142
#20043=@"loc,{#10000},2,5,4,11"
142143
locations_default(#20043,#10000,2,5,4,11)
143144
xmllocations(#20042,#20043)

javascript/extractor/tests/html/output/trap/module.html.trap

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -194,32 +194,33 @@ successor(#20039,#20046)
194194
successor(#20044,#20039)
195195
successor(#20054,#20044)
196196
#20056=*
197-
xmlElements(#20056,"html",#10000,0,#10000)
198-
#20057=@"loc,{#10000},1,1,11,7"
199-
locations_default(#20057,#10000,1,1,11,7)
200-
xmllocations(#20056,#20057)
201-
#20058=*
202-
xmlElements(#20058,"body",#20056,1,#10000)
203-
#20059=@"loc,{#10000},9,5,10,11"
204-
locations_default(#20059,#10000,9,5,10,11)
205-
xmllocations(#20058,#20059)
206-
#20060=*
207-
xmlElements(#20060,"head",#20056,0,#10000)
208-
#20061=@"loc,{#10000},2,5,8,11"
209-
locations_default(#20061,#10000,2,5,8,11)
210-
xmllocations(#20060,#20061)
211-
#20062=*
212-
xmlElements(#20062,"script",#20060,1,#10000)
197+
toplevel_parent_xml_node(#20001,#20056)
198+
#20057=*
199+
xmlElements(#20057,"html",#10000,0,#10000)
200+
#20058=@"loc,{#10000},1,1,11,7"
201+
locations_default(#20058,#10000,1,1,11,7)
202+
xmllocations(#20057,#20058)
203+
#20059=*
204+
xmlElements(#20059,"body",#20057,1,#10000)
205+
#20060=@"loc,{#10000},9,5,10,11"
206+
locations_default(#20060,#10000,9,5,10,11)
207+
xmllocations(#20059,#20060)
208+
#20061=*
209+
xmlElements(#20061,"head",#20057,0,#10000)
210+
#20062=@"loc,{#10000},2,5,8,11"
211+
locations_default(#20062,#10000,2,5,8,11)
212+
xmllocations(#20061,#20062)
213+
xmlElements(#20056,"script",#20061,1,#10000)
213214
#20063=@"loc,{#10000},4,9,7,17"
214215
locations_default(#20063,#10000,4,9,7,17)
215-
xmllocations(#20062,#20063)
216+
xmllocations(#20056,#20063)
216217
#20064=*
217-
xmlAttrs(#20064,#20062,"type","module",0,#10000)
218+
xmlAttrs(#20064,#20056,"type","module",0,#10000)
218219
#20065=@"loc,{#10000},4,17,4,29"
219220
locations_default(#20065,#10000,4,17,4,29)
220221
xmllocations(#20064,#20065)
221222
#20066=*
222-
xmlElements(#20066,"title",#20060,0,#10000)
223+
xmlElements(#20066,"title",#20061,0,#10000)
223224
#20067=@"loc,{#10000},3,9,3,32"
224225
locations_default(#20067,#10000,3,9,3,32)
225226
xmllocations(#20066,#20067)

0 commit comments

Comments
 (0)