Closed Bug 1606657 Opened 6 years ago Closed 6 years ago

Thread manager should not assume the numeric value of nsIRunnablePriority::PRIORITY_NORMAL

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

dispatchToMainThread currently assumes that nsIRunnablePriority::PRIORITY_NORMAL == 0, which is a problem if we want to renumber priority levels.

This will let us change the numeric values of the priorities as needed.

Blocks: 1606672
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/53aa24dadad0 nsIThreadManager.dispatchToMainThread should not assume that nsIRunnablePriority::PRIORITY_NORMAL is 0. r=smaug
Blocks: 1606706
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: