Closed Bug 1279977 Opened 8 years ago Closed 5 years ago

We should not expose ParentThreadUnchangedBusyCount

Categories

(Core :: DOM: Workers, defect, P3)

49 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: baku, Assigned: baku)

References

(Blocks 1 open bug)

Details

(Whiteboard: btpp-active)

Attachments

(1 file)

I want to make workerRunnable simpler. This step is about removing ParentThreadUnchangedBusyCount, because it's used only internally and it should not be exposed to the rest of gecko.
Attached patch runnable1.patchSplinter Review
Attachment #8762613 - Flags: review?(jonas)
Blocks: 1280164
Blocks: 1280174
Blocks: 1280167
Blocks: 1280168
Blocks: 1280067
Whiteboard: btpp-active
Attachment #8762613 - Flags: review?(jonas) → review?(khuey)
Jonas, do you want to take this one as well? It's the patch needed for the 2 patches you reviewed about WorkerRunnables.
Flags: needinfo?(jonas)
This seems to contain enough complexity that it's probably better to leave for Kyle.
Flags: needinfo?(jonas)
Comment on attachment 8762613 [details] [diff] [review]
runnable1.patch

Review of attachment 8762613 [details] [diff] [review]:
-----------------------------------------------------------------

At the very least, you'd need to rename a bunch of things.  TargetAndBusyCountBehavior is not anymore, for instance.

If you really wanted to do this I'd make a private ctor on WorkerRunnable/WorkerControlRunnable (that takes a FriendKey or something) and forbid the use of ParentThreadAndUnchangedBusyCount in the public ctor with an assertion.
Attachment #8762613 - Flags: review?(khuey) → review-
Priority: -- → P3
Baku: what should we do with this bug?
Flags: needinfo?(amarchesini)

This bug is invalid. We don't need this change anymore.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(amarchesini)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: