Closed Bug 533902 Opened 10 years ago Closed 9 months ago

mochitest-browser-chrome: browser_aboutCrashes.js "leaks" to the next test (and may fail)

Categories

(Toolkit :: Crash Reporting, defect)

1.9.1 Branch
x86
Windows 2000
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: sgautherie, Unassigned)

References

()

Details

I'm running --test-path=toolkit/crashreporter/test/browser/ on a Windows SM 2.0 unit test build I downloaded.

I (can) get:
{
Running chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js...
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | directory service provider registered ok
TEST-INFO | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | Console message: [JavaScript Error: "uncaught exception: 2147500037"]
TEST-INFO | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | Console message: [JavaScript Error: "uncaught exception: 2147500037"]
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | about:crashes loaded
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | about:crashes lists correct number of crash reports
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | 0: crash ID is correct
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | 1: crash ID is correct
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | 2: crash ID is correct
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | 3: crash ID is correct
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | 4: crash ID is correct
Running chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js...
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | about:crashes loaded
TEST-INFO | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | Console message: [JavaScript Error: "doc.getElementById("tbody") is null" {file: "chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js" line: 8}]
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | about:crashes lists correct number of crash reports
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | 0: crash ID is correct
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | 1: crash ID is correct
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | pending URL links to the correct static page
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | got submission onload
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | minidump file sent properly
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | correctly sent as non-throttleable
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | submitted value for ProductName matches expected
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | submitted value for Foo matches expected
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | navigated back successfully
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | crash report link changed correctly
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | crash report link points to correct href
}

The 4 unexpected logs are:
{
Running chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js...
TEST-INFO | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | Console message: [JavaScript Error: "uncaught exception: 2147500037"]
TEST-INFO | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | Console message: [JavaScript Error: "uncaught exception: 2147500037"]

Running chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js...
TEST-PASS | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js | about:crashes loaded
TEST-INFO | chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js | Console message: [JavaScript Error: "doc.getElementById("tbody") is null" {file: "chrome://mochikit/content/browser/toolkit/crashreporter/test/browser/browser_aboutCrashes.js" line: 8}]
}

The two formers may happen on my local only, or only when running this directory only?!
The two latters were "first" reported in bug 522729 comment 0,
and can be seen in
{
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey2.0/1260392482.1260398979.29736.gz
WINNT 5.2 comm-1.9.1 unit test on 2009/12/09 13:01:22
}
Assignee: ted.mielczarek → nobody
Does this still happen?
This race was fixed IIRC.
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.