Closed Bug 1960753 Opened 1 year ago Closed 8 months ago

Consider removing JS::EnqueueJob (and enqueueJob shell helper)

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: mgaudet, Assigned: rosansandanasamy, Mentored)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I don't super love that we have the friend function js::EnqueueJob which enqueues a job on the job queue without any of the data that is normally used in our job queue.

It turns out this is relatively little used. the API turns out to exclusively be used by a shell helper, which in turn is only used in two tests. I think they can be rewritten to use regular promise things.

If so, we should just delete this code.

Mentor: mgaudet
Blocks: sm-runtime
Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → rosansandanasamy
Status: NEW → ASSIGNED
Duplicate of this bug: 2000501
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
Duplicate of this bug: 2001095
QA Whiteboard: [qa-triage-done-c148/b147]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: