Closed
Bug 675567
Opened 12 years ago
Closed 12 years ago
Fix PRBool/JSBool mixups
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: mwu, Assigned: mwu)
References
Details
(Whiteboard: [inbound])
Attachments
(1 file)
10.01 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
This fixes cases where we use PRBool when we should be using JSBool and vice versa. It also removes one function where I could not find a user (xpc_SameScope).
Attachment #549719 -
Flags: review?(mrbkap)
Updated•12 years ago
|
Attachment #549719 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 1•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/81dd021d45bd
Whiteboard: [inbound]
Comment 2•12 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/81dd021d45bd
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
Comment 3•12 years ago
|
||
Comment on attachment 549719 [details] [diff] [review] Fix >--- a/js/src/xpconnect/src/xpcwrappednativejsops.cpp >+++ b/js/src/xpconnect/src/xpcwrappednativejsops.cpp > JSObject **objp) > { > nsresult rv = NS_OK; >- JSBool retval = JS_TRUE; >+ PRBool retval = JS_TRUE; Could you fix this mismatch?
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Ms2ger from comment #3) > Comment on attachment 549719 [details] [diff] [review] [diff] [details] [review] > Fix > > >--- a/js/src/xpconnect/src/xpcwrappednativejsops.cpp > >+++ b/js/src/xpconnect/src/xpcwrappednativejsops.cpp > > JSObject **objp) > > { > > nsresult rv = NS_OK; > >- JSBool retval = JS_TRUE; > >+ PRBool retval = JS_TRUE; > > Could you fix this mismatch? This isn't the only mismatch and I don't care about this sort of mismatch so much. I'll add a s/JS_TRUE/true/ to the sed in bug 675553 and fix all these at the same time.
You need to log in
before you can comment on or make changes to this bug.
Description
•