Closed Bug 1094170 Opened 10 years ago Closed 9 years ago

(e10s) Error 400 on "Why was this page blocked"

Categories

(Toolkit :: Safe Browsing, defect)

x86_64
Windows 7
defect
Not set
normal
Points:
2

Tracking

()

VERIFIED FIXED
mozilla39
Iteration:
39.1 - 9 Mar
Tracking Status
e10s m5+ ---
firefox39 --- verified

People

(Reporter: gcp, Assigned: mconley)

References

Details

(Whiteboard: [bugday-20150603])

Attachments

(2 files)

Blocks: 875867
Summary: Error 400 on "Why was this page blocked" → (e10s) Error 400 on "Why was this page blocked"
Assignee: nobody → smacleod
Status: NEW → ASSIGNED
Iteration: --- → 37.2
Points: --- → 2
Flags: firefox-backlog+
Flags: qe-verify?
Iteration: 37.2 → 37.3
Iteration: 37.3 - 12 Jan → 38.1 - 26 Jan
Dropping from IT 38.1
Iteration: 38.1 - 26 Jan → ---
Iteration: --- → 38.3 - 23 Feb
Iteration: 38.3 - 23 Feb → 39.1 - 9 Mar
Assignee: smacleod → mconley
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 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+
Blocks: 1094172
Thanks for the quick review!

remote:   https://hg.mozilla.org/integration/fx-team/rev/0ece6a897f47
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/0ece6a897f47
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla39
QA Whiteboard: [good first verify][verify in Nightly only]
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]
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.

Attachment

General

Created:
Updated:
Size: