Skip to content

Commit 8012124

Browse files
committed
Bug 1883606 - Export more MathML crashtests to WPT. r=emilio
Follow-up of bug 1795630 for some crashtests that were not in `mathml` directories. The list was extracted in a subjective way from [1] by looking at some tests that seem to contain essentially MathML with some simple HTML or CSS. The changes to `crashtest.list` files have been generated by [2]. [1] https://searchfox.org/mozilla-central/search?q=%3Cmath%7Cmathml&path=crashtest&case=true&regexp=true [2] `for file in $(^Ct ~/list-of-tests.txt); do D=$(dirname $file); F=$(filename $file); sed -i "/$F/d" $D/crashtests.list; done` Differential Revision: https://phabricator.services.mozilla.com/D203614
1 parent 2c79743 commit 8012124

37 files changed

+25
-57
lines changed

gfx/tests/crashtests/crashtests.list

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ load 199379-1.html
55
load 206561-1.html
66
load 248518-1.html
77
load 306649-1.xml
8-
load 306902-1.xml
98
load 333861-1.html
109
load 334735-1.html
1110
load 345576-1.html
@@ -24,7 +23,6 @@ load 383473-1.html
2423
load 383872-1.svg
2524
load 385228-1.svg
2625
skip load 385228-2.svg # bug 523255 / bug 385228
27-
load 385289-1.xhtml
2826
load 385417-1.html
2927
load 385417-2.html
3028
load 385423-1.html
@@ -53,7 +51,6 @@ load 405268-1.xhtml
5351
load 407761-1.html
5452
load 407842.html
5553
load 408754-1.html
56-
load 410728-1.xml
5754
load 416637-1.html
5855
load 419095-1.html
5956
load 419255-1.html
@@ -205,7 +202,6 @@ load 1694783-1.html
205202
load 1695782-1.html
206203
load 1699013.html
207204
load 1700232.html
208-
load 1701975-1.html
209205
load 1704321-1.html
210206
load 1702638.html
211207
load 1730695.html

layout/base/crashtests/crashtests.list

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ load 234851-1.html
3131
load 234851-2.html
3232
load 241300-1.html
3333
load 243159-1.html
34-
load 243159-2.xhtml
3534
load 243519-1.html
3635
load 244490-1.html
3736
load 254367-1.html
@@ -116,7 +115,6 @@ load 350267-1.html
116115
load 354133-1.html
117116
load 354766-1.xhtml
118117
load 355989-1.xhtml
119-
load 355993-1.xhtml
120118
load chrome://reftest/content/crashtests/layout/base/crashtests/356325-1.xhtml
121119
load 358729-1.xhtml
122120
skip-if(Android) load chrome://reftest/content/crashtests/layout/base/crashtests/360339-1.xhtml
@@ -151,7 +149,6 @@ load 383129-1.html
151149
load 384344-1.html
152150
load 384392-1.xhtml
153151
load 384392-2.svg
154-
load 384649-1.xhtml
155152
load 385354.html
156153
load 385866-1.xhtml
157154
load 385880-1.xhtml
@@ -163,21 +160,17 @@ load 388715-1.html
163160
load 390976-1.html
164161
load 393661-1.html
165162
load 393801-1.html
166-
load 394150-1.xhtml
167163
load 397011-1.xhtml
168164
load 398510-1.xhtml
169165
load 398733-1.html
170166
load 398733-2.html
171167
load 399132-1.xhtml
172168
load 399219-1.xhtml
173169
load 399365-1.html
174-
load 399676-1.xhtml
175170
load 399687-1.html
176171
load 399940-1.xhtml
177172
load 399951-1.html
178173
load 399994-1.html
179-
load 400445-1.xhtml
180-
load 400904-1.xhtml
181174
load 401734-1.html
182175
load 401734-2.html
183176
needs-focus pref(accessibility.browsewithcaret,true) load 403048.html
@@ -483,7 +476,6 @@ load 1428892.html
483476
load 1429088.html
484477
load 1429961.html
485478
load 1429962.html
486-
load 1435015.html
487479
load 1437155.html
488480
load 1439016.html
489481
load 1442018-1.html

layout/generic/crashtests/crashtests.list

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,12 @@ load 363722-1.html
6363
load 363722-2.html
6464
load 364220.html
6565
load 364407-1.html
66-
load 364686-1.xhtml
6766
load 366021-1.xhtml
6867
load 366667-1.html
6968
load 366952-1.html
7069
load 367246-1.html
7170
load 367360.html
7271
load 368330-1.html
73-
load 368461-1.xhtml
7472
load 368568.html
7573
load 368752.html
7674
load 368860-1.html
@@ -86,7 +84,6 @@ load 370174-2.html
8684
load 370174-3.html
8785
load 370699-1.html
8886
load 370794-1.html
89-
load 370884-1.xhtml
9087
load 371348-1.xhtml
9188
load 371561-1.html
9289
load 371566-1.xhtml
@@ -105,11 +102,8 @@ load 381152-1.html
105102
load 382129-1.xhtml
106103
load 382131-1.html
107104
load 382199-1.html
108-
load 382208-1.xhtml
109105
load 382262-1.html
110-
load 382396-1.xhtml
111106
load 383089-1.html
112-
load 385265-1.xhtml
113107
load 385295-1.xhtml
114108
load 385344-1.html
115109
load 385344-2.html
@@ -158,7 +152,6 @@ load 394818-1.html
158152
load 394818-2.html
159153
load 394820-1.html
160154
load 395316-1.html
161-
load 395450-1.xhtml
162155
load 397007-1.html
163156
load 397187-1.html
164157
load 397844-1.xhtml
@@ -316,7 +309,6 @@ load 467487-1.html
316309
load 467493-1.html
317310
load 467493-2.html
318311
load 467875-1.xhtml
319-
load 467914-1.html
320312
asserts-if(winWidget,0-2) load 468207-1.html # bug 1647811
321313
load 468771-1.xhtml
322314
load 468771-2.xhtml
@@ -391,7 +383,6 @@ load 541714-1.html
391383
load 541714-2.html
392384
load 542136-1.html
393385
load 545571-1.html
394-
load 547843-1.xhtml
395386
load 551635-1.html
396387
load 553504-1.xhtml
397388
load 564368-1.xhtml
@@ -457,7 +448,6 @@ load 683712.html
457448
load 688996-1.html
458449
load 688996-2.html
459450
load 691210.html
460-
load 700031.xhtml
461451
load 709398-1.html
462452
load 718516.html
463453
load 723108.html
@@ -587,7 +577,6 @@ load 1137723-2.html
587577
asserts(1) load 1140043-1.html
588578
asserts(1) load 1140043-2.html
589579
asserts(1) load 1140043-3.html
590-
load 1140268-1.html
591580
load 1145768.html
592581
load 1145931.html
593582
load 1145950-1.html

layout/style/crashtests/crashtests.list

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ load 391034-1.xhtml
1616
load 397022-1.html
1717
load 399289-1.svg
1818
load 404470-1.html
19-
load 411603-1.html
2019
load 412588-1.html
21-
load 413274-1.xhtml
2220
skip-if(Android) load chrome://reftest/content/crashtests/layout/style/crashtests/416461-1.xhtml
23-
load 418007-1.xhtml
2421
load chrome://reftest/content/crashtests/layout/style/crashtests/431705-1.xhtml
2522
load 432561-1.html
2623
load 437170-1.html
@@ -229,7 +226,6 @@ load 1384232.html
229226
load 1395725.html
230227
load 1396041.html
231228
pref(dom.animations-api.compositing.enabled,true) load 1397363-1.html
232-
load 1397439-1.html
233229
load 1395719.html
234230
load 1397091.html
235231
load 1398479.html
@@ -251,7 +247,6 @@ load 1402419.html
251247
load 1402472.html
252248
load 1403028.html
253249
load 1403433.html
254-
load 1403465.html
255250
load 1403592.html
256251
load 1403615.html
257252
load 1403712.html

layout/tables/crashtests/crashtests.list

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ load 343087-1.html
4545
load 343588-1.xhtml
4646
load 344000-1.html
4747
load 347367.html
48-
load 347506-1.xhtml
4948
load 347506-2.xhtml
5049
load 347725-1.xhtml
5150
load 348977-1.xhtml
@@ -167,8 +166,6 @@ load 1232881-1.html
167166
load 1243623-1.html
168167
load 1335552-1.html
169168
load 1335552-2.html
170-
load 1555757-1.html
171-
load 1555757-2.html
172169
load 1555757-3.html
173170
load 1555757-4.html
174171
load 1607045.html

testing/web-platform/tests/lint.ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,5 +745,6 @@ HTML INVALID SYNTAX: domparsing/DOMParser-parseFromString-xml-parsererror.html
745745
HTML INVALID SYNTAX: domparsing/XMLSerializer-serializeToString.html
746746
HTML INVALID SYNTAX: html/canvas/element/manual/unclosed-canvas-4.htm
747747
HTML INVALID SYNTAX: html/syntax/parsing/unclosed-svg-script.html
748+
HTML INVALID SYNTAX: mathml/crashtests/mozilla/411603-1.html
748749
HTML INVALID SYNTAX: quirks/percentage-height-calculation.html
749750
HTML INVALID SYNTAX: trusted-types/TrustedTypePolicyFactory-getAttributeType-namespace.html

layout/base/crashtests/243159-2.xhtml renamed to testing/web-platform/tests/mathml/crashtests/mozilla/243159-2.xhtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
test.appendChild(t1);
2020
test.appendChild(t2);
2121
t2.appendChild(r2);
22-
2322
}
2423
</script>
2524
</body>

layout/base/crashtests/355993-1.xhtml renamed to testing/web-platform/tests/mathml/crashtests/mozilla/355993-1.xhtml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ body, body * { position: fixed; }
1212
<div>
1313
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
1414

15-
<mtable>
16-
<mtr>
17-
<mtd>
18-
<mn>1</mn>
19-
</mtd>
20-
</mtr>
21-
</mtable>
15+
<mtable>
16+
<mtr>
17+
<mtd>
18+
<mn>1</mn>
19+
</mtd>
20+
</mtr>
21+
</mtable>
2222
</math>
2323
</div>
2424

2525
</body>
26-
</html>
26+
</html>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<html xmlns="http://www.w3.org/1999/xhtml"
22
xmlns:math="http://www.w3.org/1998/Math/MathML">
3-
3+
44
<body>
55

66
<math:merror>
@@ -9,4 +9,3 @@
99

1010
</body>
1111
</html>
12-
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML">
2-
<body>
3-
4-
<div><math:mfrac><math:mmultiscripts/><math:mi/></math:mfrac></div>
5-
6-
</body>
7-
</html>
1+
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML">
2+
<body>
3+
4+
<div><math:mfrac><math:mmultiscripts/><math:mi/></math:mfrac></div>
5+
6+
</body>
7+
</html>

layout/generic/crashtests/382396-1.xhtml renamed to testing/web-platform/tests/mathml/crashtests/mozilla/382396-1.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
<p style="text-indent: 0%">a<math:ms/></p>
55

6-
</body>
6+
</body>
77
</html>

gfx/tests/crashtests/385289-1.xhtml renamed to testing/web-platform/tests/mathml/crashtests/mozilla/385289-1.xhtml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ function boom()
1818

1919
<div>
2020
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
21-
<msub id="mss">
22-
<mi>v</mi>
23-
<mn>1</mn>
24-
</msub>
21+
<msub id="mss">
22+
<mi>v</mi>
23+
<mn>1</mn>
24+
</msub>
2525
</math>
26-
</div>
26+
</div>
2727

2828
</body>
2929

layout/base/crashtests/394150-1.xhtml renamed to testing/web-platform/tests/mathml/crashtests/mozilla/394150-1.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function boom()
2121
<merror><emptyset id="emptyset">
2222
<mrow id="mrow"></mrow></emptyset></merror>
2323
</math>
24-
24+
2525
</body>
26-
26+
2727
</html>

0 commit comments

Comments
 (0)