Open Bug 1769854 Opened 3 years ago Updated 3 years ago

Move static initialization steps into methods/constructors

Categories

(Core :: DOM: Streams, task, P3)

task

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

Details

I think we are needlessly exposing setters when they are only used by initialization. For example, ReadableByteStreamController::SetStream is only used by SetUpReadableByteStreamController and thus the setter shouldn't really be exposed.

Yeah -- this is a direct side effect of the 'free function' style that I wrote it in; following the spec to the letter, but this is a definite downside!

Severity: -- → S3
Priority: -- → P3
See Also: → 1809408
You need to log in before you can comment on or make changes to this bug.