Closed
Bug 1094170
Opened 10 years ago
Closed 10 years ago
(e10s) Error 400 on "Why was this page blocked"
Categories
(Toolkit :: Safe Browsing, defect)
Tracking
()
People
(Reporter: gcp, Assigned: mconley)
References
Details
(Whiteboard: [bugday-20150603])
Attachments
(2 files)
1.29 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
5.59 KB,
application/zip
|
Details |
Current Nightly, e10s enabled.
1) Go to https://www.itisatrap.org/firefox/its-an-attack.html
2) Click "why was this page blocked"
The request goes to:
https://safebrowsing.google.com/safebrowsing/diagnostic?client=Firefox&hl=en-US&site=about:blocked?e=malwareBlocked&u=https%3A//www.itisatrap.org/firefox/its-an-attack.html&s=blacklist&c=UTF-8&f=regular&d=The%20site%20at%20www.itisatrap.org%20has%20been%20reported%20as%20an%20attack%20site%20and%20has%20been%20blocked%20based%20on%20your%20security%20preferences.
This appears to be specific to e10s mode.
Reporter | ||
Updated•10 years ago
|
Summary: Error 400 on "Why was this page blocked" → (e10s) Error 400 on "Why was this page blocked"
Updated•10 years ago
|
tracking-e10s:
--- → m5+
Updated•10 years ago
|
Assignee: nobody → smacleod
Updated•10 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 37.2
Points: --- → 2
Flags: firefox-backlog+
Updated•10 years ago
|
Flags: qe-verify?
Updated•10 years ago
|
Iteration: 37.2 → 37.3
Updated•10 years ago
|
Iteration: 37.3 - 12 Jan → 38.1 - 26 Jan
Updated•10 years ago
|
Iteration: --- → 38.3 - 23 Feb
Updated•10 years ago
|
Iteration: 38.3 - 23 Feb → 39.1 - 9 Mar
Assignee | ||
Updated•10 years ago
|
Assignee: smacleod → mconley
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8574179 [details] [diff] [review]
Let about:blocked be loaded in the content process. r=?
So I think the problem here is that about:blocked is not allowed to be run in the content process, and so we redirect to the parent.
But about:blocked is this special error page that docshell loads internally (as in, it doesn't update the awesomebar as a location change or anything). When we forward it to the parent process, we pass the full "hidden" URL along (the about:blocked?foobar stuff). None of the UI expects that.
I think the shortest path to success here is allow the about:blocked page to load in the content process. A quick glance at blockedSite.xhtml shows that it doesn't do anything magical or chrome-y, and some smoke-testing shows that this fixes both this bug and bug 1094172.
What do you think, Mossop?
Attachment #8574179 -
Flags: review?(dtownsend)
Comment 4•10 years ago
|
||
Comment on attachment 8574179 [details] [diff] [review]
Let about:blocked be loaded in the content process. r=?
Review of attachment 8574179 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM
Attachment #8574179 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Thanks for the quick review!
remote: https://hg.mozilla.org/integration/fx-team/rev/0ece6a897f47
Whiteboard: [fixed-in-fx-team]
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla39
Updated•10 years ago
|
QA Whiteboard: [good first verify][verify in Nightly only]
Assignee | ||
Comment 8•10 years ago
|
||
bugnotes |
Comment 9•9 years ago
|
||
I have reproduced this bug with Nightly 36.0a1 (2014-11-05) on Linux x64 Bit with instruction from comment 0.
Verified as fixed with latest Nightly 41.0a1 (2015-06-02) (Build ID: 20150602055237)
Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
[bugday-20150603]
Comment 10•9 years ago
|
||
Reproduced the bug with Nightly 36.0a1 ( 2014-11-05 ) on Windows 7 64 Bit with the comment 0's instruction!
Verified as fixed with Firefox Nightly 41.0a1 (Build ID: 20150602055237)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Status: RESOLVED → VERIFIED
QA Whiteboard: [good first verify][verify in Nightly only] → [good first verify][verify in Nightly only][bugday-20150603]
Whiteboard: [bugday-20150603]
You need to log in
before you can comment on or make changes to this bug.
Description
•