Closed
Bug 483217
Opened 17 years ago
Closed 17 years ago
prbool violation in /content/html/content/src/nsHTMLButtonElement.cpp
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: taras.mozilla, Assigned: graememcc)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
556 bytes,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
bug 345339 introduced a violation, comiter's email is bouncing prbool complaints, so I'm filing this.
Graeme McCutcheon <graememcc_firefox@graeme-online.co.uk> introduced a new PRBool problem in changeset http://hg.mozilla.org/mozilla-central/rev/89840ed77dc8 of nsHTMLButtonElement.cpp.
Commit message: Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc
Error: /content/html/content/src/nsHTMLButtonElement.cpp:
601: In macro NS_ENSURE_ARG_POINTER
http://mxr.mozilla.org/mozilla-central/source/content/html/content/src/nsHTMLButtonElement.cpp#601
See Taras' blog for more info about prbool bugs
http://blog.mozilla.com/tglek/2008/11/07/enabling-prcheck-email-notifications/#respond
Comment 1•17 years ago
|
||
Er, yes. This is bad. On error, this will return a true value.
Graeme, want to fix?
| Assignee | ||
Comment 2•17 years ago
|
||
Meh. I fail - that was a straight copy from Karthik's original patch, should have scrutinised it more closely.
Attachment #367275 -
Flags: superreview?(bzbarsky)
Attachment #367275 -
Flags: review?(bzbarsky)
Updated•17 years ago
|
Attachment #367275 -
Flags: superreview?(bzbarsky)
Attachment #367275 -
Flags: superreview+
Attachment #367275 -
Flags: review?(bzbarsky)
Attachment #367275 -
Flags: review+
| Assignee | ||
Updated•17 years ago
|
Whiteboard: checkin-needed
| Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Whiteboard: checkin-needed
Comment 3•17 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/9a3b3f52eca3
Graeme, is this something we need to fix on 1.9.1 too?
Assignee: nobody → graememcc_firefox
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: blocking1.9.2?
| Assignee | ||
Comment 4•17 years ago
|
||
> Graeme, is this something we need to fix on 1.9.1 too?
No. 345339 landed on trunk only.
You need to log in
before you can comment on or make changes to this bug.
Description
•