Closed Bug 840776 Opened 11 years ago Closed 11 years ago

Defect - Safe Browsing "Why was the page blocked" button does nothing

Categories

(Tracking Graveyard :: Metro Operations, defect, P1)

x86
Windows 8.1
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: asa, Assigned: TimAbraldes)

References

Details

(Whiteboard: feature=defect c=content_features u=metro_firefox_user p=3 status=verified)

Attachments

(1 file)

Tested 2013-02-12 Elm Nightly build from http://hg.mozilla.org/projects/elm/rev/aac6ba901fea

See Story at https://bug801093.bugzilla.mozilla.org/attachment.cgi?id=704738 where we fail step #3 in the Main Success Scenario. 

The "Why was the page blocked" button was non-functional.
Blocks: metrov1it3
Whiteboard: feature=defect c=content_features u=metro_firefox_user → feature=defect c=content_features u=metro_firefox_user p=0
Assignee: nobody → mmucci
Priority: -- → P1
Blocks: 801093
No longer blocks: 831565
Assignee: mmucci → nobody
Keywords: feature
Assignee: nobody → tabraldes
Whiteboard: feature=defect c=content_features u=metro_firefox_user p=0 → feature=defect c=content_features u=metro_firefox_user p=3
Status: NEW → ASSIGNED
Component: General → Metro Operations
Product: Firefox for Metro → Tracking
Version: unspecified → ---
Attached patch Patch v1Splinter Review
In Content.js, we handle the clicking of the buttons on about:blocked by sending messages to be received by Browser.js.  Due to a typo, we were sending an unrecognized message, so the "Why was the page blocked" button didn't do anything.

After this patch is applied, clicking the button will take you to a 404 page on Mozilla's site.  This is because the app name is part of the URL that we send users to, and mozilla.org doesn't have a page set up for metrofirefox.

I'll file a separate bug to get [1] set up as a valid page.

http://www.mozilla.org/en-US/metrofirefox/phishing-protection
Attachment #719142 - Flags: review?(mbrubeck)
Depends on: 845983
(In reply to Tim Abraldes (:tabraldes) from comment #2)
> Created attachment 719142 [details] [diff] [review]
> Patch v1
> 
> In Content.js, we handle the clicking of the buttons on about:blocked by
> sending messages to be received by Browser.js.  Due to a typo, we were
> sending an unrecognized message, so the "Why was the page blocked" button
> didn't do anything.
> 
> After this patch is applied, clicking the button will take you to a 404 page
> on Mozilla's site.  This is because the app name is part of the URL that we
> send users to, and mozilla.org doesn't have a page set up for metrofirefox.
> 
> I'll file a separate bug to get [1] set up as a valid page.
> 
> http://www.mozilla.org/en-US/metrofirefox/phishing-protection

Filed bug 845983
Attachment #719142 - Flags: review?(mbrubeck) → review+
https://hg.mozilla.org/mozilla-central/rev/bc0a94d091db
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Flags: needinfo?(jbecerra)
Tested on 2013-02-28 with a nightly build from http://hg.mozilla.org/mozilla-central/rev/c65d59d33aa8
- There are two buttons shown when I go to the test phishing page https://www.mozilla.org/firefox/its-a-trap.html and the two buttons work.
- The "why was this page blocked" option takes you to the page in comment #2
Status: RESOLVED → VERIFIED
Flags: needinfo?(jbecerra)
Whiteboard: feature=defect c=content_features u=metro_firefox_user p=3 → feature=defect c=content_features u=metro_firefox_user p=3 status=verified
User Agent:Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:25.0) Gecko/20130724 Firefox/25.0
Build ID: 20130724030204

WFM.

Tested on Windows 8.1 preview for iteration 10 using latest nightly from ftp://ftp.mozilla.org/pub/firefox/nightly/2013/07/2013-07-24-03-02-04-mozilla-central/

I followed user story and got expected result.
User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130808030205
Built from http://hg.mozilla.org/mozilla-central/rev/fd4cf30428b0

WFM
Tested on windows 8 using latest nightly  for iteration-11. I followed user story and got expected result.
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130825030201
Built from http://hg.mozilla.org/mozilla-central/rev/01576441bdc6

WFM
Tested on windows 8 using latest nightly for iteration-12. Followed steps provided in comment0 and got expected result.
OS: Windows 8 Metro → Windows 8.1
Product: Tracking → Tracking Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: