Closed Bug 779111 Opened 12 years ago Closed 12 years ago

Some dom/plugins/ mochitests fail when the crash reporter is disabled

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: decoder, Assigned: decoder)

Details

(Keywords: sec-want, Whiteboard: [asan-test-failure])

Attachments

(1 file)

It seems that we explicitly disable certain mochitest-chrome tests in dom/plugins/test/mochitest/Makefile.in when there is no crash reporter enabled, but there are also tests in mochitest-plain that require it to be enabled to work properly:

mochitest-plain failed:
74 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/plugins/test/test_crashing.html | This test did not leave any crash dumps behind, but we were expecting some!
372 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/plugins/test/test_hanging.html | This test did not leave any crash dumps behind, but we were expecting some!

This is turning ASan builds orange on mochitest-3 so I would like to fix this by enabling these tests only when the crash reporter is enabled.
Any test with "crashing" in the name ought to only be enabled when the crashreporter is enabled.
Attached patch PatchSplinter Review
These changes make the tests pass in that sub directory, even with the crash reporter disabled.
Assignee: nobody → choller
Status: NEW → ASSIGNED
Attachment #647521 - Flags: review?(ted.mielczarek)
Attachment #647521 - Flags: review?(ted.mielczarek) → review+
https://hg.mozilla.org/mozilla-central/rev/90771aea4326
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: