Closed Bug 1697164 Opened 4 years ago Closed 4 years ago

Make nsStandardURL::InitGlobalObjects thread safe

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Depends on 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

In bug 1606800 exposed a case where InitGlobalObjects may be called off main thread.
This bug makes gInitialized atomic and dispatches a sync runnable to the main thread if InitGlobalObjects gets called off-main-thread.

Attachment #9207755 - Attachment description: Bug 1697164 - Make nsStandardURL::InitGlobalObjects thread safe r=#necko → Bug 1697164 - Make nsStandardURL::gInitialized atomic r=#necko
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8c0ecaec33b4 Make nsStandardURL::gInitialized atomic r=necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: