Open
Bug 1600159
Opened 5 years ago
Updated 2 years ago
[Meta] Clean Up the FunctionBox initialization Story
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mgaudet, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: meta)
FunctionBox
has a two-phase initialization story: First, the constructor sets fields to default values, then depending on the context subsequently an initializer may be called.
This means that it's difficult to know at any given place in the code if queries on FunctionBox
can be relied upon, making understanding and refactoring difficult.
This meta bug is about trying to clarify the story such that we can reliably use all the queries on FunctionBox whenever we have one, to make it less of a footgun abstraction.
Updated•5 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Blocks: sm-frontend
Updated•2 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•