Open Bug 1572545 Opened 5 years ago Updated 2 years ago

[jsdbg2] Debugger child objects should share a common base class

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jimb, Assigned: jimb)

References

(Blocks 2 open bugs)

Details

There should be a common base class for all Debugger API child objects (Debugger.Script, Debugger.Frame, etc.)

Debugger child objects have a little bit of common structure; for example, they all have an OWNER reserved slot that points to the Debugger to which they belong. And there are a few spots in the code that could be simplified (the JS_STATIC_ASSERTs in Debugger.cpp, for example) if their common characteristics were somehow represented in their types.

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