Closed Bug 405685 Opened 17 years ago Closed 17 years ago

url-classifier needs to check phishing and malware prefs separately.

Categories

(Toolkit :: Safe Browsing, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dcamp, Assigned: dcamp)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch check both prefs (obsolete) — Splinter Review
Bug 399233 changed phishing protection to use the url classifier, but we forgot to update the url-classifier to check both prefs.
Flags: blocking-firefox3?
Attachment #290448 - Flags: review?(tony)
Blocks: 399233
Comment on attachment 290448 [details] [diff] [review]
check both prefs

Looks good.

It's probably sufficient to pass bools instead of a ptr to the service.  I think it's ok to make the decision whether or not to check at the time the callback is created and it makes things a little simpler.  Anyway, not a big deal either way.
Attachment #290448 - Flags: review?(tony) → review+
Version: unspecified → Trunk
Attached patch v2Splinter Review
updated with tony's comment.

Asking for approval since I haven't gotten blocking+ yet, this is a pretty significant bug.
Assignee: nobody → dcamp
Attachment #290448 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #291267 - Flags: approval1.9?
Attachment #291267 - Flags: approval1.9? → approval1.9+
Whiteboard: [needs landing]
Checking in src/nsUrlClassifierDBService.cpp;
/cvsroot/mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp,v  <--  nsUrlClassifierDBService.cpp
new revision: 1.41; previous revision: 1.40
done
Checking in src/nsUrlClassifierDBService.h;
/cvsroot/mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.h,v  <--  nsUrlClassifierDBService.h
new revision: 1.5; previous revision: 1.4
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: