Closed Bug 429697 Opened 17 years ago Closed 17 years ago

Change "Why was this site blocked" to use more detailed report page

Categories

(Toolkit :: Safe Browsing, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: johnath, Assigned: johnath)

References

()

Details

(Whiteboard: [has patch][has reviews])

Attachments

(1 file)

Google has a more detailed page for their malware blocking list, which satisfies a number of requests from people for extra information about a particular site's problems. The URL format is: http://safebrowsing.clients.google.com/safebrowsing/diagnostic?site=www.google.com&client=firefox&hl=en-US I'm not actually sure this blocks release, but it is a very nice to have, since we've already been hearing a lot of requests for this level of detail. I'd like to see more linkage to/from stopbadware.org since I think they do good work that we would like to draw attention to. Given that we've blocked our users from seeing the page, though, our first obligation is to answer their questions about why it happened, in my opinion. Whether or not it blocks, I'll attach a patch shortly, since it is low risk (change a URL and a small bit of js) and high reward (better information for our users).
Flags: blocking-firefox3?
Assignee: nobody → johnath
Switch to the more detailed URL. Google says this version will also get some localization attention. This patch also changes the code to use nsIURLFormatter instead of build-time variables, since locale is likely to change after compile.
Attachment #316482 - Flags: review?(gavin.sharp)
Comment on attachment 316482 [details] [diff] [review] Change url, and make consistent use of nsIURLFormatter Could test this by firing events on the buttons and checking that we end up at the correct locations (or at least add a litmus test to make sure this functionality doesn't break before release).
Attachment #316482 - Flags: review?(gavin.sharp) → review+
Flags: blocking-firefox3? → blocking-firefox3+
Whiteboard: [has patch][has reviews]
Comment on attachment 316482 [details] [diff] [review] Change url, and make consistent use of nsIURLFormatter Requesting approval to land this blocker. Virtually no code risk, default pref change on something people were unlikely to change anyhow, and it gives us good error reporting.
Attachment #316482 - Flags: approval1.9?
(In reply to comment #3) > (From update of attachment 316482 [details] [diff] [review]) > Requesting approval to land this blocker. Virtually no code risk, default pref > change on something people were unlikely to change anyhow, and it gives us good > error reporting. And by error reporting, I mean blocked site reporting, clearly... Setting in-litmus? because this is a natural fit for litmus testing ("Does the button work? Does it go to the place that tells you things? Does that page work?").
Flags: in-litmus?
Status: NEW → ASSIGNED
Comment on attachment 316482 [details] [diff] [review] Change url, and make consistent use of nsIURLFormatter a1.9=beltzner
Attachment #316482 - Flags: approval1.9? → approval1.9+
Checking in browser/base/content/browser.js; /cvsroot/mozilla/browser/base/content/browser.js,v <-- browser.js new revision: 1.1028; previous revision: 1.1027 done Checking in browser/app/profile/firefox.js; /cvsroot/mozilla/browser/app/profile/firefox.js,v <-- firefox.js new revision: 1.324; previous revision: 1.323 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-litmus? → in-litmus+
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: