Closed Bug 400324 Opened 18 years ago Closed 17 years ago

Remove old safebrowsing "speech bubble" UI code

Categories

(Toolkit :: Safe Browsing, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox 3 beta4

People

(Reporter: johnath, Assigned: rflint)

References

Details

(Keywords: perf)

Attachments

(1 file)

When bug 399233 lands, phishing sites, like malware, will be handled with an error page instead of the Firefox 2 "speech bubble" UI. This UI should be removed since: - it is no longer used - it is broken anyhow in its current form (bug 341950) - being an overlay to browser.xul, there is almost certainly a perf hit to having it stick around. Note that most of safebrowsing should stay, like the warden code that handles detection and updates - just the UI needs to be excised.
Attached patch PatchSplinter Review
Despite the scary size, this mostly just file removals. The interesting changes are to sb-loader.js to change the way the report menuitem (I'll fix the report error menuitem in bug 415846) is updated so that nsIDocNavStartProgressListener can finally be removed and to move most of the init/shutdown logic to application.js so that we're not tearing down and setting up pref observers and attempting to register blacklists every time a new window is opened.
Assignee: nobody → rflint
Status: NEW → ASSIGNED
Attachment #305486 - Flags: review?(tony)
Keywords: perf
Priority: -- → P2
Target Milestone: --- → Firefox 3 beta4
Comment on attachment 305486 [details] [diff] [review] Patch Can we get rid of the phishing-afterload-warning-message.dtd file too? This patch looks good to me as long as there are no memory leaks on shutdown.
Attachment #305486 - Flags: review?(tony) → review+
Comment on attachment 305486 [details] [diff] [review] Patch We're currently using a couple strings from it for the docshell block page and report error menuitem - I'll file a followup for the strings we're not using.
Attachment #305486 - Flags: approval1.9?
Comment on attachment 305486 [details] [diff] [review] Patch a1.9+=damons
Attachment #305486 - Flags: approval1.9? → approval1.9+
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite-
Flags: in-litmus-
Resolution: --- → FIXED
Depends on: 419921
Depends on: 420677
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: