Signal Proxy, in fetch(), must be protected because it can be used on main-thread and workers

RESOLVED FIXED in Firefox 59

Status

()

enhancement
P2
normal
RESOLVED FIXED
Last year
Last year

People

(Reporter: baku, Assigned: baku)

Tracking

58 Branch
mozilla59
Points:
---

Firefox Tracking Flags

(firefox59 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

Last year
https://treeherder.mozilla.org/logviewer.html#?job_id=155762760&repo=try&lineNumber=4994

In WorkerFetchResolver, we use a SignalProxy in both worker and main-thread. We need to be 100% sure that when used, we don't create race conditions as this ASAN log shows.
Priority: -- → P2
Assignee

Comment 1

Last year
Posted patch fetch.patchSplinter Review
SignalProxy is already correctly used. It seems to me that the only problem is that it's nullified on the worker side. If we don't do that, we are not introducing any leak. Let's go for this simply approach (we have a similar approach for mPromiseProxy).
Attachment #8942161 - Flags: review?(bkelly)
Attachment #8942161 - Flags: review?(bkelly) → review+

Comment 2

Last year
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/37ac87b44ae3
Signal Proxy, in fetch(), doesn't have to be nullified in order to avoid race conditions, r=bkelly

Comment 3

Last year
bugherder
https://hg.mozilla.org/mozilla-central/rev/37ac87b44ae3
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Comment hidden (Intermittent Failures Robot)
You need to log in before you can comment on or make changes to this bug.