Closed Bug 1118443 Opened 5 years ago Closed 5 years ago
XHR in workers should use the load group from Worker
Private::Get Load Group()
In bug 1107516 we began tracking load group separately in WorkerPrivate. This lets us use the correct load group in SharedWorker, ServiceWorker, and child workers. Currently XHR gets its load group from the workers current window. This means that the load group will again not be set properly for these non-window workers. The XHR Init() method should take a load group to use as a separate parameter.
Specify the worker's load group when initializing the XHR.
Attachment #8545439 - Flags: review?(jonas)
Attachment #8545439 - Flags: review?(jonas) → review+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.