You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Interactive Leak Tests

Here's a list of some interactive tests that I've been running while searching for leaks. Bytes leaked represents the total number of bytes leaked as shown using the trace ref count logs. The majority of these tests don't leak enough to warrant a bug. The big ones do have bug numbers. All numbers are for win32.

You'll need a debug build to perform these tests.
Set XPCOM_MEM_LEAK_LOG=filename.
Start mozilla.
Run the test.
Exit mozilla.
Open filename to view the results.

Details to run the tests are at Leak test how to
Browser Tests
Test
Build tested
Bytes leaked
Bug number
Find text in file
6/25/2001
32624
none
Open New Window
6/25/2001
1220224
http://bugzilla.mozilla.org/show_bug.cgi?id=84136
Session History
6/25/2001
696956
http://bugzilla.mozilla.org/show_bug.cgi?id=87953
Change Charset
6/25/2001
3092
none
Save As
6/25/2001
1203468
http://bugzilla.mozilla.org/show_bug.cgi?id=87954
Send Page
6/25/2001
1168000
http://bugzilla.mozilla.org/show_bug.cgi?id=87955
Send Link
6/25/2001
1174248
http://bugzilla.mozilla.org/show_bug.cgi?id=87955
Print
6/25/2001
14844
none
Select / Select All
6/25/2001
3140
none
Show/Hide Nav Bar
6/25/2001
7420
none
Show/Hide Status Bar
6/25/2001
7100
none
Show/Hide Personal Tool bar
6/25/2001
7368
none
Show/Hide Sidebar
6/25/2001
3052
none
View Source
6/25/2001
7964
none
Shutdown
6/25/2001
7092
none

Bookmarks
Test
Build tested
Bytes leaked
Bug number
Sort
6/25/2001
269244
http://bugzilla.mozilla.org/show_bug.cgi?id=87956
Open/Close Bookmark Manager
6/25/2001
55540
none
Add/Remove
6/25/2001
3140
none

Composer (start mozilla with -edit)

Test
Build Tested
Bytes Leaked
Bug Number
Change views
6/25/2001
5980
none
Add lots of images
6/25/2001
38936
none
add lots of tables
6/25/2001
70296
none
add links
6/25/2001
39648
none
delete lots of items
6/25/2001
32680
none
cancel without saving
6/25/2001
7508
none

Mail News (start mozilla with -mail)

Test
Build Tested
Bytes Leaked
Bug Number
Cancel Message without save
6/25/2001
1373872
http://bugzilla.mozilla.org/show_bug.cgi?id=87040
Cancel Message with Save
6/25/2001
1249996
http://bugzilla.mozilla.org/show_bug.cgi?id=87040
Send a message
6/25/2001
1175112
http://bugzilla.mozilla.org/show_bug.cgi?id=87040
Open message in new window
6/25/2001
27536
none
Search Messages
6/25/2001
851220
http://bugzilla.mozilla.org/show_bug.cgi?id=87960
create/remove a filter
6/25/2001
44032
none
Sort messages
6/25/2001
106032
http://bugzilla.mozilla.org/show_bug.cgi?id=87959
delete a message
6/25/2001
88936
none
forward a message
6/25/2001
1197832
http://bugzilla.mozilla.org/show_bug.cgi?id=87040
attach something to a message
6/25/2001
1186452
http://bugzilla.mozilla.org/show_bug.cgi?id=87040
shutdown
6/25/2001
85616
none

General
Test
Build tested
Bytes leaked
Bug number
mouse over everything
6/25/2001
5760
none
change focus
6/25/2001
40000
none
minimize and maximize window
6/25/2001
6272
none
change themes
6/25/2001
19728
none