All users were logged out of Bugzilla on October 13th, 2018

Status

()

12 years ago
2 years ago

People

(Reporter: jruderman, Assigned: jruderman)

Tracking

(Depends on: 15 bugs, Blocks: 1 bug, {meta, sec-other})

Trunk
meta, sec-other
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [sg:nse meta])

Attachments

(1 attachment, 4 obsolete attachments)

386 bytes, application/xhtml+xml
Details
(Assignee)

Description

12 years ago
roc asked me to make a fuzzer that tests Gecko's text and font code, so I made this.  It makes text nodes containing random unicode characters, emphasizing certain characters such as ZWNJ.  The characters start out in separate text nodes, but they are combined with innerHTML and textContent.

So far (only running on Mac) it has found four bugs: 377231, 377232, 377314, 377360.

Simon, please advise me as to what characters I should test the most, what fonts to test, etc.
(Assignee)

Comment 1

12 years ago
Created attachment 261500 [details]
fuzzer-text.js

Comment 2

12 years ago
jshin, mscott, vlad and others are folks that have dealt with various font handling bugs in the past and might have ideas that might make interesting test cases.
(Assignee)

Comment 3

12 years ago
Created attachment 261520 [details]
fuzzer-text.xhtml

To test, toss these two files into a directory with the stuff from bug 339948, and drag fuzzer-text.xhtml to the web browser.
(Assignee)

Updated

12 years ago
Depends on: 377461
(Assignee)

Comment 4

12 years ago
Created attachment 261533 [details]
fuzzer-text.js

* Test very large font sizes.
* Test wrapping and text-align: justify.
* Exclude '\r' to avoid bug 377461.

Mac Firefox (trunk with patch for bug 377231) survived for 10 minutes with no crashes or new assertions, and shut down without crashing.  I haven't tested other platforms.
Attachment #261500 - Attachment is obsolete: true
(Assignee)

Comment 5

12 years ago
Created attachment 261535 [details]
fuzzer-text.js

* Test '\r' again (since a patch is available for bug 377461).
* Test Arabic more.
Attachment #261533 - Attachment is obsolete: true
(Assignee)

Comment 6

12 years ago
Created attachment 261536 [details]
fuzzer-text.js

* Really test '\r' again.
Attachment #261535 - Attachment is obsolete: true

Updated

12 years ago
Depends on: 377522

Comment 7

12 years ago
Some more interesting chars:
German Szlig: 0x00DF
Backslash: 0x5C

A couple of chars in each of the ranges we have macros for here:
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/layout/base/nsBidiUtils.h&rev=1.11&root=/cvsroot&mark=197-244#197
I would test more combining characters, with characters from the same script and with characters from different scripts.

Updated

12 years ago
Depends on: 377623
Whiteboard: [sg:nse meta]
(Assignee)

Updated

12 years ago
Depends on: 385414
(Assignee)

Updated

12 years ago
Depends on: 385417
(Assignee)

Updated

12 years ago
Depends on: 385423
(Assignee)

Updated

12 years ago
Depends on: 385426
(Assignee)

Updated

12 years ago
Depends on: 385719

Comment 9

12 years ago
Some of the characters on this page should be included:
http://alanwood.net/unicode/aegean_numbers.html
(it caused a crash in bug 365923)
(Assignee)

Updated

11 years ago
Depends on: 394246
(Assignee)

Updated

11 years ago
Depends on: 394275
(Assignee)

Updated

11 years ago
Depends on: 394384
(Assignee)

Updated

11 years ago
Depends on: 394402
(Assignee)

Updated

11 years ago
Depends on: 395335
(Assignee)

Updated

11 years ago
Depends on: 395458
(Assignee)

Updated

11 years ago
Depends on: 395651
(Assignee)

Updated

11 years ago
Alias: textfuzzer
(Assignee)

Updated

11 years ago
Depends on: 396321
(Assignee)

Comment 10

11 years ago
Comment on attachment 261536 [details]
fuzzer-text.js

fuzzer-text.js has been incorporated into fuzzer-combined.js, which lives in bug 339948.
Attachment #261536 - Attachment is obsolete: true
(Assignee)

Updated

11 years ago
Depends on: 397187
(Assignee)

Updated

11 years ago
Depends on: 399940
(Assignee)

Updated

11 years ago
Depends on: 400081
(Assignee)

Updated

11 years ago
Depends on: 402307
(Assignee)

Updated

11 years ago
Depends on: 403156
(Assignee)

Updated

11 years ago
Depends on: 403299
(Assignee)

Updated

11 years ago
Depends on: 403352
(Assignee)

Updated

11 years ago
Depends on: 404204
(Assignee)

Updated

11 years ago
Depends on: 404219
(Assignee)

Updated

11 years ago
Depends on: 405178

Updated

11 years ago
Depends on: 405268
(Assignee)

Updated

11 years ago
Depends on: 406675
(Assignee)

Updated

11 years ago
Depends on: 410228
(Assignee)

Updated

11 years ago
Depends on: 410426
(Assignee)

Updated

11 years ago
Depends on: 410596
(Assignee)

Updated

11 years ago
Depends on: 410967
(Assignee)

Updated

11 years ago
Depends on: 413085
(Assignee)

Updated

11 years ago
Depends on: 413388
(Assignee)

Updated

11 years ago
Depends on: 416637
(Assignee)

Updated

11 years ago
Depends on: 417109
(Assignee)

Updated

11 years ago
Depends on: 419095
(Assignee)

Updated

11 years ago
Depends on: 419255
(Assignee)

Updated

11 years ago
Depends on: 419352
(Assignee)

Updated

11 years ago
Depends on: 420785
(Assignee)

Updated

11 years ago
Depends on: 420790
(Assignee)

Updated

11 years ago
Depends on: 420945
(Assignee)

Updated

11 years ago
Depends on: 420962
(Assignee)

Updated

11 years ago
Depends on: 421393
(Assignee)

Updated

11 years ago
Depends on: 421813
(Assignee)

Updated

11 years ago
Depends on: 423264
(Assignee)

Updated

11 years ago
Depends on: 424629
(Assignee)

Updated

11 years ago
Depends on: 424631
(Assignee)

Updated

11 years ago
Depends on: 426272
(Assignee)

Updated

11 years ago
Depends on: 428633
(Assignee)

Updated

11 years ago
Depends on: 429899
(Assignee)

Updated

11 years ago
Depends on: 439206
(Assignee)

Updated

10 years ago
Depends on: 450508
(Assignee)

Updated

10 years ago
Depends on: 452025
(Assignee)

Updated

10 years ago
Depends on: 455623
(Assignee)

Updated

10 years ago
Depends on: 457375
(Assignee)

Updated

10 years ago
Depends on: 460389
(Assignee)

Updated

10 years ago
Depends on: 467873
(Assignee)

Updated

10 years ago
Depends on: 468035
(Assignee)

Updated

10 years ago
Depends on: 468546
(Assignee)

Updated

10 years ago
Depends on: 470418
(Assignee)

Updated

10 years ago
Depends on: 471360
(Assignee)

Updated

10 years ago
Depends on: 472256
(Assignee)

Updated

10 years ago
Depends on: 472776
(Assignee)

Updated

10 years ago
Depends on: 477731
(Assignee)

Updated

10 years ago
Depends on: 478504
(Assignee)

Updated

10 years ago
Depends on: 483120
(Assignee)

Updated

10 years ago
Depends on: 483346
(Assignee)

Updated

10 years ago
Depends on: 487724
(Assignee)

Updated

10 years ago
Depends on: 490777
(Assignee)

Updated

10 years ago
Depends on: 495875
(Assignee)

Updated

9 years ago
Depends on: 499844
(Assignee)

Updated

9 years ago
Depends on: 505399
(Assignee)

Updated

9 years ago
Depends on: 507566
(Assignee)

Updated

9 years ago
Depends on: 522374
(Assignee)

Updated

9 years ago
Depends on: 526375
(Assignee)

Updated

9 years ago
Depends on: 532726
(Assignee)

Updated

9 years ago
Depends on: 533380
(Assignee)

Updated

9 years ago
Depends on: 533393
(Assignee)

Updated

9 years ago
Depends on: 536242
(Assignee)

Updated

9 years ago
Depends on: 537562
(Assignee)

Updated

9 years ago
Depends on: 538062
(Assignee)

Updated

9 years ago
Depends on: 539137
(Assignee)

Updated

9 years ago
Depends on: 541277
(Assignee)

Updated

9 years ago
Depends on: 541281
Depends on: 546530
(Assignee)

Updated

9 years ago
Depends on: 549160
(Assignee)

Updated

9 years ago
Depends on: 553761
(Assignee)

Updated

9 years ago
Depends on: 563600
(Assignee)

Updated

9 years ago
Depends on: 563740
(Assignee)

Updated

9 years ago
Depends on: 571633
(Assignee)

Updated

8 years ago
Depends on: 572582
(Assignee)

Updated

8 years ago
Depends on: 572620
(Assignee)

Updated

8 years ago
Depends on: 595423
(Assignee)

Updated

8 years ago
Depends on: 595428
(Assignee)

Updated

8 years ago
Depends on: 615475
(Assignee)

Updated

8 years ago
Depends on: 633322
(Assignee)

Updated

8 years ago
Depends on: 635329
(Assignee)

Updated

8 years ago
Depends on: 646561
(Assignee)

Updated

8 years ago
Depends on: 646983
(Assignee)

Updated

8 years ago
Depends on: 647332
(Assignee)

Updated

8 years ago
Depends on: 650475
(Assignee)

Updated

8 years ago
Depends on: 650499
(Assignee)

Updated

8 years ago
Depends on: 660416
(Assignee)

Updated

7 years ago
Depends on: 663662
(Assignee)

Updated

7 years ago
Depends on: 675515
(Assignee)

Updated

7 years ago
Depends on: 675550
(Assignee)

Updated

7 years ago
Depends on: 686190
(Assignee)

Updated

7 years ago
Depends on: 691330
(Assignee)

Updated

7 years ago
Depends on: 698335
(Assignee)

Updated

7 years ago
Depends on: 714667
(Assignee)

Updated

7 years ago
Depends on: 718331
(Assignee)

Updated

7 years ago
Depends on: 722137
(Assignee)

Updated

7 years ago
Depends on: 723357
(Assignee)

Updated

7 years ago
Depends on: 729851
(Assignee)

Updated

7 years ago
Depends on: 732696
(Assignee)

Updated

7 years ago
Depends on: 734777
(Assignee)

Updated

7 years ago
Depends on: 736210
(Assignee)

Updated

7 years ago
Depends on: 745580
(Assignee)

Updated

7 years ago
Depends on: 746489
(Assignee)

Updated

7 years ago
Depends on: 761074
(Assignee)

Updated

6 years ago
Depends on: 764236
(Assignee)

Updated

6 years ago
Depends on: 766452
(Assignee)

Updated

6 years ago
Depends on: 767279
(Assignee)

Updated

6 years ago
Depends on: 788836
(Assignee)

Updated

6 years ago
Depends on: 803946
(Assignee)

Updated

6 years ago
Depends on: 812826
(Assignee)

Updated

6 years ago
Depends on: 822723
(Assignee)

Updated

6 years ago
Depends on: 822910
(Assignee)

Updated

6 years ago
Depends on: 828054
(Assignee)

Updated

6 years ago
Depends on: 840272
(Assignee)

Updated

6 years ago
Depends on: 840787
(Assignee)

Updated

6 years ago
Depends on: 840818
(Assignee)

Updated

6 years ago
Depends on: 841174
(Assignee)

Updated

6 years ago
Depends on: 843917
(Assignee)

Updated

6 years ago
Depends on: 849603
(Assignee)

Updated

6 years ago
Depends on: 849745
(Assignee)

Updated

6 years ago
Depends on: 849987
(Assignee)

Updated

6 years ago
Depends on: 852129
(Assignee)

Updated

6 years ago
Depends on: 860378
(Assignee)

Updated

6 years ago
Depends on: 866544
(Assignee)

Updated

6 years ago
Depends on: 866588
(Assignee)

Updated

6 years ago
Depends on: 868906
(Assignee)

Updated

6 years ago
Depends on: 876831
(Assignee)

Updated

5 years ago
Depends on: 880925
(Assignee)

Updated

5 years ago
Depends on: 881031
(Assignee)

Updated

5 years ago
Depends on: 883712
(Assignee)

Updated

5 years ago
Depends on: 885608
(Assignee)

Updated

5 years ago
Depends on: 887631
(Assignee)

Updated

5 years ago
Depends on: 895323
(Assignee)

Updated

5 years ago
Depends on: 897342
(Assignee)

Updated

5 years ago
Depends on: 897887
(Assignee)

Updated

5 years ago
Depends on: 898951
(Assignee)

Updated

5 years ago
Depends on: 944849
(Assignee)

Updated

5 years ago
Depends on: 963878
(Assignee)

Updated

5 years ago
Depends on: 970710
(Assignee)

Updated

5 years ago
Depends on: 975700
(Assignee)

Updated

5 years ago
Depends on: 975704
(Assignee)

Updated

4 years ago
Depends on: 1072106
(Assignee)

Updated

4 years ago
Depends on: 1145768
(Assignee)

Updated

4 years ago
Depends on: 1145934
(Assignee)

Updated

4 years ago
Depends on: 1162813
(Assignee)

Updated

3 years ago
Blocks: 1172704
(Assignee)

Updated

3 years ago
No longer blocks: 316898
(Assignee)

Updated

3 years ago
Depends on: 1186720
(Assignee)

Updated

3 years ago
Depends on: 1221904
(Assignee)

Updated

3 years ago
Depends on: 1230319
(Assignee)

Updated

3 years ago
Depends on: 1234418

Updated

2 years ago
Component: Tracking → Platform Fuzzing Team
You need to log in before you can comment on or make changes to this bug.