Closed
Bug 864119
Opened 12 years ago
Closed 12 years ago
Don't generate assertions in MathML mochitests
Categories
(Core :: MathML, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: iacobcatalin, Assigned: iacobcatalin)
Details
Attachments
(1 file)
2.56 KB,
patch
|
karlt
:
review+
|
Details | Diff | Splinter Review |
I get a 100% reproducible test failure when running ./mach mochitest-plain layout/mathml/tests on my build:
ERROR TEST-UNEXPECTED-FAIL | /tests/layout/mathml/tests/test_bug553917.html | Assertion count 208 is greater than expected range 204-204 assertions.
Assignee | ||
Comment 1•12 years ago
|
||
The assertions are all of the form:
###!!! ASSERTION: FormatStringFromName() without format parameters: use GetStringFromName() instead: 'aParams && aLength', file /home/catalin/hacking/moz/mozilla-central/intl/strres/src/nsStringBundle.cpp, line 186
Assignee | ||
Comment 2•12 years ago
|
||
This patch gets rid of all the assertions by using nsIStringBundle.GetStringFromName instead of nsIStringBundle.formatStringFromName when the format parameters are an empty list.
I don't really know the assertion gets triggered on my machine 208 times instead of 204 on the test machines, but it seems better to get rid of the assertion anyway and use the appropriate method of nsIStringBundle.
Attachment #740073 -
Flags: review?(karlt)
Updated•12 years ago
|
Attachment #740073 -
Flags: review?(karlt) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Adding checkin-needed following karlt's review+
Keywords: checkin-needed
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•