Closed Bug 1615335 Opened 6 years ago Closed 6 years ago

TRR: Use SimpleHttpChannel off main thread

Categories

(Core :: Networking: DNS, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

References

Details

(Whiteboard: [necko-triaged][trr])

Attachments

(3 files, 1 obsolete file)

We want to use the simple http channel implemented in bug 1613873 off main thread.
Things included in this bug are:

  1. Run TRR::SendHTTPRequest off main thread.
  2. Don't read prefs at these places.
  3. Remove some main thread assertions.

Hi Valentin,
Do you have time to work on this bug?
If not, I can try to take this one.

Depends on: 1613873
Flags: needinfo?(valentin.gosu)

I can take this one. I'll start working on it around the middle of next week.

Assignee: nobody → valentin.gosu
Flags: needinfo?(valentin.gosu)
Priority: -- → P1
Whiteboard: [necko-triaged][trr]
Attached file Bug 1615335 - WIP (obsolete) —

Steal this from Valentin.

Assignee: valentin.gosu → kershaw
Attachment #9127305 - Attachment is obsolete: true
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a1dc4f624f16 Use SimpleHttpChannel to fetch TRR data r=valentin https://hg.mozilla.org/integration/autoland/rev/521b0f9e84a3 Add TRR Background to ThreadAllows.txt r=valentin,andi
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Regressions: 1619822

I asked sheriffs to back this out due to bug 1619822.

Target Milestone: mozilla75 → ---
Flags: needinfo?(kershaw)

I think I've figured out the problem.
Basically, the problem is that the TRR background channel is accessed by JS at here.
I think we should avoid this channel being accessed by any JS code.

Flags: needinfo?(kershaw)
Regressions: 1619909
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/63c2e9174b14 Don't let TRR background channel to be accessed by ProxyChannelFilter r=valentin https://hg.mozilla.org/integration/autoland/rev/9aec65b62bbf Use SimpleHttpChannel to fetch TRR data r=valentin https://hg.mozilla.org/integration/autoland/rev/3950f827b14b Add TRR Background to ThreadAllows.txt r=valentin,andi
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
See Also: → 1608114
Regressions: 1635879
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: