Closed Bug 741333 Opened 14 years ago Closed 14 years ago

Remove PRBool/PR_TRUE/PR_FALSE that crept in

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: Ms2ger, Assigned: pookveeraya)

Details

(Whiteboard: [good first bug][mentor=Ms2ger][lang=c++])

Attachments

(1 file, 3 obsolete files)

can i be assigned to this bug please?
Certainly. Let me know if you need any help.
Assignee: nobody → pookveeraya
Attached patch first patch (obsolete) — Splinter Review
Attachment #611454 - Flags: review?(Ms2ger)
Comment on attachment 611454 [details] [diff] [review] first patch Review of attachment 611454 [details] [diff] [review]: ----------------------------------------------------------------- It looks like you replaced all PR_TRUEs with false instead of true, could you fix that? ::: dom/base/DOMRequest.cpp @@ +130,5 @@ > if (NS_FAILED(rv)) { > return; > } > > + rv = event->SetTrusted(false); Er, I think this should be 'true' ::: dom/network/src/Connection.cpp @@ +137,5 @@ > nsRefPtr<nsDOMEvent> event = new nsDOMEvent(nsnull, nsnull); > nsresult rv = event->InitEvent(aEventName, false, false); > NS_ENSURE_SUCCESS(rv, rv); > > + rv = event->SetTrusted(false); Same here ::: dom/sms/src/SmsRequestManager.cpp @@ +113,5 @@ > nsRefPtr<nsDOMEvent> event = new nsDOMEvent(nsnull, nsnull); > nsresult rv = event->InitEvent(aEventName, false, false); > NS_ENSURE_SUCCESS(rv, rv); > > + rv = event->SetTrusted(false); here
Attachment #611454 - Flags: review?(Ms2ger)
Attached patch PR_TRUE is now 'true' (obsolete) — Splinter Review
Hope it's correct this time:)
Attachment #611454 - Attachment is obsolete: true
Attachment #611457 - Flags: review?(Ms2ger)
Comment on attachment 611457 [details] [diff] [review] PR_TRUE is now 'true' Review of attachment 611457 [details] [diff] [review]: ----------------------------------------------------------------- Hrm, I'm not sure the changes in security/manager/ssl/src/ and testing/mochitest/ssltunnel/ssltunnel.cpp are good… Could you leave those as they are? Looks good otherwise. ::: toolkit/xre/nsAppRunner.cpp @@ +2633,5 @@ > * > * By defining the symbol here, we can avoid the wasted lookup and hopefully > * improve startup performance. > */ > +NS_VISIBILITY_DEFAULT bool nspr_use_zone_allocator = false; I think you need to leave this one alone.
Attachment #611457 - Flags: review?(Ms2ger) → review+
Comment on attachment 611476 [details] [diff] [review] removed changes for security/manager/ssl/src/, testing/mochitest/ssltunnel/ssltunnel.cpp and toolkit/xre/nsAppRunner.cpp Review of attachment 611476 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks!
Attachment #611476 - Flags: review?(Ms2ger) → review+
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++] → [good first bug][mentor=Ms2ger][lang=c++][autoland-try]
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-try] → [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue]
Autoland Patchset: Patches: 611476 Branch: mozilla-central => try Destination: http://hg.mozilla.org/try/pushloghtml?changeset=1b39bb4588fc Try run started, revision 1b39bb4588fc. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=1b39bb4588fc
Try run for 1b39bb4588fc is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=1b39bb4588fc Results (out of 15 total builds): success: 11 failure: 4 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-1b39bb4588fc
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue] → [good first bug][mentor=Ms2ger][lang=c++]
Looks like I left out the headers in my links... Could you also change: MayHaveDOMMutationObservers() in content/base/public/nsIDocument.h ShouldSkipSpellCheck() in editor/libeditor/base/nsEditor.h IsBasicLatinLetterOrNumeral() in widget/gtk2/nsGtkKeyUtils.h mStreamInitialized, mStreamEnded, and mStreamInitialized again in netwerk/cache/nsCacheEntryDescriptor.h Sorry about that.
Attachment #611476 - Attachment is obsolete: true
Attachment #611879 - Flags: review?(Ms2ger)
Comment on attachment 611879 [details] [diff] [review] lastest patch with changes in header files Review of attachment 611879 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks!
Attachment #611879 - Flags: review?(Ms2ger) → review+
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++] → [good first bug][mentor=Ms2ger][lang=c++][autoland-try]
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-try] → [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue]
Autoland Patchset: Patches: 611879 Branch: mozilla-central => try Destination: http://hg.mozilla.org/try/pushloghtml?changeset=d1fe05316552 Try run started, revision d1fe05316552. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=d1fe05316552
Try run for d1fe05316552 is complete. Detailed breakdown of the results available here: https://tbpl.mozilla.org/?tree=Try&rev=d1fe05316552 Results (out of 15 total builds): success: 15 Builds (or logs if builds failed) available at: http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-d1fe05316552
Whiteboard: [good first bug][mentor=Ms2ger][lang=c++][autoland-in-queue] → [good first bug][mentor=Ms2ger][lang=c++]
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: