TRR: Use SimpleHttpChannel off main thread
Categories
(Core :: Networking: DNS, task, P1)
Tracking
()
| 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:
- Run
TRR::SendHTTPRequestoff main thread. - Don't read prefs at these places.
- Remove some main thread assertions.
| Assignee | ||
Comment 1•6 years ago
|
||
Hi Valentin,
Do you have time to work on this bug?
If not, I can try to take this one.
Comment 2•6 years ago
|
||
I can take this one. I'll start working on it around the middle of next week.
| Assignee | ||
Comment 3•6 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
| Assignee | ||
Comment 6•6 years ago
|
||
Comment 8•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a1dc4f624f16
https://hg.mozilla.org/mozilla-central/rev/521b0f9e84a3
Comment 9•6 years ago
|
||
I asked sheriffs to back this out due to bug 1619822.
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 11•6 years ago
|
||
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.
| Assignee | ||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/63c2e9174b14
https://hg.mozilla.org/mozilla-central/rev/9aec65b62bbf
https://hg.mozilla.org/mozilla-central/rev/3950f827b14b
Description
•