Closed Bug 825191 Opened 12 years ago Closed 12 years ago

Remove nsContentUtils::EqualsLiteralIgnoreASCIICase

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: Ms2ger, Assigned: badanomaly)

References

Details

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

Attachments

(1 file, 1 obsolete file)

This can simply use str.LowerCaseEqualsLiteral(). See <http://mxr.mozilla.org/mozilla-central/ident?i=EqualsLiteralIgnoreASCIICase> for the places where this is used.
Hi :) So if I wanna modify it, should I replace all codes like EqualsLiteralIgnoreASCIICase(str) with str.LowerCaseEqualsLiteral() ?
Oh and how should I get something like :Seven_Hong on top of my comment box, like you guys have :Somename ? Many thanks! :D
(In reply to sir.seven.hong from comment #1) > Hi :) So if I wanna modify it, should I replace all codes like > EqualsLiteralIgnoreASCIICase(str) with str.LowerCaseEqualsLiteral() ? Correct.
Hi , can I be assigned this bug ??
Hi !! I have attached a patch. What should be my next step ?
(In reply to Mohit Gahlot ( :mgahlot ) from comment #6) > Hi !! I have attached a patch. What should be my next step ? Wait for the review to be done; but you need to specify the right person
Assignee: nobody → mohit.www
Status: NEW → ASSIGNED
Attachment #696960 - Flags: review? → review?(Ms2ger)
(In reply to Edmund Wong (:ewong) from comment #7) > (In reply to Mohit Gahlot ( :mgahlot ) from comment #6) > > Hi !! I have attached a patch. What should be my next step ? > > Wait for the review to be done; but you need to specify the right > person Where do I need to specify ? and how am I supposed to know who is the right person ?
Comment on attachment 696960 [details] [diff] [review] Diff created from the mozilla-central directory for bug 825191 Review of attachment 696960 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for taking this on! You patch looks good. One thing, though: we use if (foo) not if ( foo ) (Note the spaces.) Could you just change that and request review from ':mounir'?
Attachment #696960 - Flags: review?(Ms2ger) → feedback+
Attached patch Patch 2Splinter Review
Attachment #696960 - Attachment is obsolete: true
Attachment #696961 - Flags: review?(mounir)
(In reply to :Ms2ger from comment #9) > Comment on attachment 696960 [details] [diff] [review] > Diff created from the mozilla-central directory for bug 825191 > > Review of attachment 696960 [details] [diff] [review]: > ----------------------------------------------------------------- > > Thanks for taking this on! You patch looks good. One thing, though: we use > > if (foo) > > not > > if ( foo ) > > (Note the spaces.) Could you just change that and request review from > ':mounir'? Done. I think.
(In reply to Mohit Gahlot ( :mgahlot ) from comment #8) > (In reply to Edmund Wong (:ewong) from comment #7) > > (In reply to Mohit Gahlot ( :mgahlot ) from comment #6) > > > Hi !! I have attached a patch. What should be my next step ? > > > > Wait for the review to be done; but you need to specify the right > > person > > Where do I need to specify ? and how am I supposed to know who is the right > person ? Look for a module owner or peer for the code you changed on <https://wiki.mozilla.org/Modules/All> (or just ask someone).
Comment on attachment 696961 [details] [diff] [review] Patch 2 Review of attachment 696961 [details] [diff] [review]: ----------------------------------------------------------------- r=me Thank you for this patch :)
Attachment #696961 - Flags: review?(mounir) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: