Closed Bug 1118443 Opened 5 years ago Closed 5 years ago

XHR in workers should use the load group from WorkerPrivate::GetLoadGroup()

Categories

(Core :: DOM: Workers, defect)

x86_64
Windows 8.1
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: bkelly, Assigned: bkelly)

References

Details

Attachments

(1 file)

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)
https://hg.mozilla.org/mozilla-central/rev/b0b1ccb01cfc
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.